svn commit: r371112 - in head/www: py-beautifulsoup py-beautifulsoup32

Ruslan Makhmatkhanov rm at FreeBSD.org
Sat Oct 18 10:52:54 UTC 2014


Author: rm
Date: Sat Oct 18 10:52:53 2014
New Revision: 371112
URL: https://svnweb.freebsd.org/changeset/ports/371112
QAT: https://qat.redports.org/buildarchive/r371112/

Log:
  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)

Deleted:
  head/www/py-beautifulsoup32/pkg-plist
Modified:
  head/www/py-beautifulsoup/Makefile
  head/www/py-beautifulsoup32/Makefile

Modified: head/www/py-beautifulsoup/Makefile
==============================================================================
--- head/www/py-beautifulsoup/Makefile	Sat Oct 18 10:25:08 2014	(r371111)
+++ head/www/py-beautifulsoup/Makefile	Sat Oct 18 10:52:53 2014	(r371112)
@@ -11,8 +11,7 @@ DISTNAME=	beautifulsoup4-${PORTVERSION}
 MAINTAINER=	wg at 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>

Modified: head/www/py-beautifulsoup32/Makefile
==============================================================================
--- head/www/py-beautifulsoup32/Makefile	Sat Oct 18 10:25:08 2014	(r371111)
+++ head/www/py-beautifulsoup32/Makefile	Sat Oct 18 10:52:53 2014	(r371112)
@@ -12,9 +12,8 @@ DISTNAME=	BeautifulSoup-${PORTVERSION}
 MAINTAINER=	mwm at 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.*
 


More information about the svn-ports-all mailing list