Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2013 05:28:04 -0800 (PST)
From:      William Grzybowski <william88@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/175509: [MAINTAINER] www/py-beautifulsoup: py3k ready
Message-ID:  <50fe93e4.cb76ec0a.52b8.6b8e@mx.google.com>
Resent-Message-ID: <201301221430.r0MEU1Ne078575@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50fe93e4.cb76ec0a.52b8.6b8e>