UPDATE: www/py-beautifulsoup4 4.4.1

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

UPDATE: www/py-beautifulsoup4 4.4.1

Alexander Shadchin
Hi,

This diff updates py-beautifulsoup4 to the latest release.
Tested on amd64. Add python3 flavor.

Comments ? OK ?

PS: need new devel/py-html5lib (on ports@)

--
Alexandr Shadchin

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/py-beautifulsoup4/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile 13 Mar 2013 08:12:10 -0000 1.3
+++ Makefile 29 Dec 2015 18:59:44 -0000
@@ -2,11 +2,11 @@
 
 COMMENT = HTML/XML parser that supports invalid markup
 
-MODPY_EGG_VERSION = 4.1.3
+MODPY_EGG_VERSION = 4.4.1
 DISTNAME = beautifulsoup4-${MODPY_EGG_VERSION}
 PKGNAME = py-${DISTNAME}
 
-CATEGORIES =   www
+CATEGORIES = www
 
 HOMEPAGE = http://www.crummy.com/software/BeautifulSoup/
 MAINTAINER = frantisek holop <[hidden email]>
@@ -14,11 +14,19 @@ MAINTAINER = frantisek holop <minusf@obi
 # MIT
 PERMIT_PACKAGE_CDROM = Yes
 
-MASTER_SITES = ${HOMEPAGE}bs4/download/
+MASTER_SITES = ${HOMEPAGE}bs4/download/4.4/
 
 MODULES = lang/python
 
-do-test:
- cd ${WRKSRC} && ${MODPY_BIN} -m unittest discover -s bs4
+TEST_DEPENDS = devel/py-html5lib${MODPY_FLAVOR} \
+ textproc/py-lxml${MODPY_FLAVOR}
+
+FLAVORS = python3
+FLAVOR ?=
+
+MODPY_SETUPTOOLS = Yes
+
+do-test: fake
+ cd ${WRKINST}${MODPY_SITEPKG} && ${MODPY_BIN} -m unittest discover -s bs4
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/py-beautifulsoup4/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo 13 Mar 2013 08:12:10 -0000 1.2
+++ distinfo 29 Dec 2015 18:59:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (beautifulsoup4-4.1.3.tar.gz) = 8em3tI6T78BEx5+grFgFCUq29C+JRuxKv4QHU+DeqR8=
-SIZE (beautifulsoup4-4.1.3.tar.gz) = 131290
+SHA256 (beautifulsoup4-4.4.1.tar.gz) = h9QBPQYl1HiaT1a415oE1c5tsRUrtl8dOXRPdwmjZrQ=
+SIZE (beautifulsoup4-4.4.1.tar.gz) = 152140
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/py-beautifulsoup4/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 2 Jun 2012 21:15:12 -0000 1.1.1.1
+++ pkg/PLIST 29 Dec 2015 18:59:44 -0000
@@ -1,37 +1,47 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2012/06/02 21:15:12 fgsch Exp $
-lib/python${MODPY_VERSION}/site-packages/beautifulsoup4-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
+lib/python${MODPY_VERSION}/site-packages/beautifulsoup4-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
+lib/python${MODPY_VERSION}/site-packages/beautifulsoup4-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
+lib/python${MODPY_VERSION}/site-packages/beautifulsoup4-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
+lib/python${MODPY_VERSION}/site-packages/beautifulsoup4-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
+lib/python${MODPY_VERSION}/site-packages/beautifulsoup4-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
+lib/python${MODPY_VERSION}/site-packages/beautifulsoup4-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
 lib/python${MODPY_VERSION}/site-packages/bs4/
 lib/python${MODPY_VERSION}/site-packages/bs4/__init__.py
-lib/python${MODPY_VERSION}/site-packages/bs4/__init__.pyc
+${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/bs4/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/bs4/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/${MODPY_PYCACHE}dammit.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/${MODPY_PYCACHE}diagnose.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/${MODPY_PYCACHE}element.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/${MODPY_PYCACHE}testing.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/builder/
 lib/python${MODPY_VERSION}/site-packages/bs4/builder/__init__.py
-lib/python${MODPY_VERSION}/site-packages/bs4/builder/__init__.pyc
+${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/bs4/builder/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/bs4/builder/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/builder/${MODPY_PYCACHE}_html5lib.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/builder/${MODPY_PYCACHE}_htmlparser.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/builder/${MODPY_PYCACHE}_lxml.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/builder/_html5lib.py
-lib/python${MODPY_VERSION}/site-packages/bs4/builder/_html5lib.pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/builder/_htmlparser.py
-lib/python${MODPY_VERSION}/site-packages/bs4/builder/_htmlparser.pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/builder/_lxml.py
-lib/python${MODPY_VERSION}/site-packages/bs4/builder/_lxml.pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/dammit.py
-lib/python${MODPY_VERSION}/site-packages/bs4/dammit.pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/diagnose.py
 lib/python${MODPY_VERSION}/site-packages/bs4/element.py
-lib/python${MODPY_VERSION}/site-packages/bs4/element.pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/testing.py
-lib/python${MODPY_VERSION}/site-packages/bs4/testing.pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/tests/
 lib/python${MODPY_VERSION}/site-packages/bs4/tests/__init__.py
-lib/python${MODPY_VERSION}/site-packages/bs4/tests/__init__.pyc
+${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/bs4/tests/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/bs4/tests/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/tests/${MODPY_PYCACHE}test_builder_registry.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/tests/${MODPY_PYCACHE}test_docs.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/tests/${MODPY_PYCACHE}test_html5lib.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/tests/${MODPY_PYCACHE}test_htmlparser.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/tests/${MODPY_PYCACHE}test_lxml.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/tests/${MODPY_PYCACHE}test_soup.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/bs4/tests/${MODPY_PYCACHE}test_tree.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/tests/test_builder_registry.py
-lib/python${MODPY_VERSION}/site-packages/bs4/tests/test_builder_registry.pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/tests/test_docs.py
-lib/python${MODPY_VERSION}/site-packages/bs4/tests/test_docs.pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/tests/test_html5lib.py
-lib/python${MODPY_VERSION}/site-packages/bs4/tests/test_html5lib.pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/tests/test_htmlparser.py
-lib/python${MODPY_VERSION}/site-packages/bs4/tests/test_htmlparser.pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/tests/test_lxml.py
-lib/python${MODPY_VERSION}/site-packages/bs4/tests/test_lxml.pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/tests/test_soup.py
-lib/python${MODPY_VERSION}/site-packages/bs4/tests/test_soup.pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/tests/test_tree.py
-lib/python${MODPY_VERSION}/site-packages/bs4/tests/test_tree.pyc

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: www/py-beautifulsoup4 4.4.1

Daniel Jakots
On Wed, 30 Dec 2015 00:04:53 +0500, Alexandr Shadchin
<[hidden email]> wrote:

> Hi,
>
> This diff updates py-beautifulsoup4 to the latest release.
> Tested on amd64. Add python3 flavor.
>
> Comments ? OK ?
>
> PS: need new devel/py-html5lib (on ports@)
>

Tested on i386. Looks fine.