ports/175509: [MAINTAINER] www/py-beautifulsoup: py3k ready

William Grzybowski william88 at gmail.com
Tue Jan 22 14:30:01 UTC 2013


>Number:         175509
>Category:       ports
>Synopsis:       [MAINTAINER] www/py-beautifulsoup: py3k ready
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 22 14:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     William Grzybowski
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
>Description:

	Enable python 3 and trim makefile header

>How-To-Repeat:
>Fix:

	See attached patch


--- py-beautifulsoup.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 310785)
+++ Makefile	(working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	beautifulsoup
-# Date created:				25 July 2012
-# Whom:					Mike Meyer
-#
+# Created by: Mike Meyer
 # $FreeBSD$
-#
 
 PORTNAME=	beautifulsoup
 PORTVERSION=	4.1.3
@@ -15,8 +11,15 @@
 MAINTAINER=	william88 at gmail.com
 COMMENT=	HTML/XML Parser for Python
 
-USE_PYTHON=	2.7
+# Python3 ready
+USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	beautifulsoup4
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 320
+.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
+.endif
+
+.include <bsd.port.post.mk>
--- py-beautifulsoup.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list