summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2014-10-18 10:52:53 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2014-10-18 10:52:53 +0000
commite5d21a11c838832bf6e515e97a8c59d441511730 (patch)
tree8dd3615af47f728317e89875d4e1d8ecc9386cb1
parentUnbreak seamonkey-i18n (diff)
www-beautitifulsoup: convert to USES=python
- convert to USES=python - remove pkg-plist and limit py-beautifulsoup32 to python2: """ Traceback (most recent call last): File "<string>", line 1, in <module> File "setup.py", line 22 print "Unit tests have failed!" ^ SyntaxError: invalid syntax """ Approved by: portmgr (blanket)
-rw-r--r--www/py-beautifulsoup/Makefile5
-rw-r--r--www/py-beautifulsoup32/Makefile5
-rw-r--r--www/py-beautifulsoup32/pkg-plist6
3 files changed, 4 insertions, 12 deletions
diff --git a/www/py-beautifulsoup/Makefile b/www/py-beautifulsoup/Makefile
index 6c4836234c13..dc21b346c262 100644
--- a/www/py-beautifulsoup/Makefile
+++ b/www/py-beautifulsoup/Makefile
@@ -11,8 +11,7 @@ DISTNAME= beautifulsoup4-${PORTVERSION}
MAINTAINER= wg@FreeBSD.org
COMMENT= HTML/XML Parser for Python
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/www/py-beautifulsoup32/Makefile b/www/py-beautifulsoup32/Makefile
index f4c3c69248a9..acab200c1d93 100644
--- a/www/py-beautifulsoup32/Makefile
+++ b/www/py-beautifulsoup32/Makefile
@@ -12,9 +12,8 @@ DISTNAME= BeautifulSoup-${PORTVERSION}
MAINTAINER= mwm@mired.org
COMMENT= HTML/XML Parser for Python
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_PKGNAME= BeautifulSoup
+USES= python:2
+USE_PYTHON= autoplist distutils
CONFLICTS= py[0-9]*-beautifulsoup-3.0.*
diff --git a/www/py-beautifulsoup32/pkg-plist b/www/py-beautifulsoup32/pkg-plist
deleted file mode 100644
index 2ff917b1a4f0..000000000000
--- a/www/py-beautifulsoup32/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-%%PYTHON_SITELIBDIR%%/BeautifulSoup.py
-%%PYTHON_SITELIBDIR%%/BeautifulSoup.pyc
-%%PYTHON_SITELIBDIR%%/BeautifulSoup.pyo
-%%PYTHON_SITELIBDIR%%/BeautifulSoupTests.py
-%%PYTHON_SITELIBDIR%%/BeautifulSoupTests.pyc
-%%PYTHON_SITELIBDIR%%/BeautifulSoupTests.pyo