1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

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)
This commit is contained in:
Ruslan Makhmatkhanov 2014-10-18 10:52:53 +00:00
parent 3361ebd03e
commit e5d21a11c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371112
3 changed files with 4 additions and 12 deletions

View File

@ -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>

View File

@ -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.*

View File

@ -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