Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 2014 10:52:54 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371112 - in head/www: py-beautifulsoup py-beautifulsoup32
Message-ID:  <201410181052.s9IAqs6O070940@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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.*
 



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