aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2014-10-18 18:52:53 +0800
committerrm <rm@FreeBSD.org>2014-10-18 18:52:53 +0800
commit94795cd9a47c296174a4e25c1750433b51f21cd0 (patch)
tree8dd3615af47f728317e89875d4e1d8ecc9386cb1 /www
parent7f827a1cc6b9fbe7f43045d067f954b3e5572ae5 (diff)
downloadfreebsd-ports-gnome-94795cd9a47c296174a4e25c1750433b51f21cd0.tar.gz
freebsd-ports-gnome-94795cd9a47c296174a4e25c1750433b51f21cd0.tar.zst
freebsd-ports-gnome-94795cd9a47c296174a4e25c1750433b51f21cd0.zip
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)
Diffstat (limited to 'www')
-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