Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2013 18:12:32 +0000 (UTC)
From:      Felippe de Meirelles Motta <lippe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r313417 - head/www/py-beautifulsoup
Message-ID:  <201303041812.r24ICWVQ052981@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lippe
Date: Mon Mar  4 18:12:32 2013
New Revision: 313417
URL: http://svnweb.freebsd.org/changeset/ports/313417

Log:
  - Enable python 3 support
  
  PR:		ports/175509
  Submitted by:	William Grzybowski <william88@gmail.com>
  Approved by:	William Grzybowski <william88@gmail.com> (maintainer)

Modified:
  head/www/py-beautifulsoup/Makefile

Modified: head/www/py-beautifulsoup/Makefile
==============================================================================
--- head/www/py-beautifulsoup/Makefile	Mon Mar  4 17:05:06 2013	(r313416)
+++ head/www/py-beautifulsoup/Makefile	Mon Mar  4 18:12:32 2013	(r313417)
@@ -1,12 +1,9 @@
-# New ports collection makefile for:	beautifulsoup
-# Date created:				25 July 2012
-# Whom:					Mike Meyer
-#
+# Created by: Mike Meyer
 # $FreeBSD$
-#
 
 PORTNAME=	beautifulsoup
 PORTVERSION=	4.1.3
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	http://www.crummy.com/software/BeautifulSoup/bs4/download/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,8 +12,14 @@ DISTNAME=	beautifulsoup4-${PORTVERSION}
 MAINTAINER=	william88@gmail.com
 COMMENT=	HTML/XML Parser for Python
 
-USE_PYTHON=	2.7
+USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	beautifulsoup4
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 320
+.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
+.endif
+
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303041812.r24ICWVQ052981>