aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--UPDATING11
-rw-r--r--deskutils/calibre/Makefile3
-rw-r--r--www/Makefile1
-rw-r--r--www/py-beautifulsoup/Makefile18
-rw-r--r--www/py-beautifulsoup/distinfo4
-rw-r--r--www/py-beautifulsoup/pkg-plist57
-rw-r--r--www/py-beautifulsoup32/Makefile24
-rw-r--r--www/py-beautifulsoup32/distinfo2
-rw-r--r--www/py-beautifulsoup32/pkg-descr12
-rw-r--r--www/py-beautifulsoup32/pkg-plist6
10 files changed, 120 insertions, 18 deletions
diff --git a/UPDATING b/UPDATING
index 5983db6f81d8..a115b4c5df23 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,17 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20120725:
+ AFFECTS: users of www/py-beautifulsoup
+ AUTHOR: rm@FreeBSD.org
+
+ Current www/py-beautifulsoup has been moved to www/py-beautifulsoup32,
+ since 4.1.1 is now current stable version.
+
+ If you prefer to stick with 3.2.0 do:
+
+ # portmaster -o www/py-beautifulsoup32 www/py-beautifulsoup
+
20120723:
AFFECTS: users of security/snort
AUTHOR: zi@FreeBSD.org
diff --git a/deskutils/calibre/Makefile b/deskutils/calibre/Makefile
index 529f070ba19a..11ee8a9fb907 100644
--- a/deskutils/calibre/Makefile
+++ b/deskutils/calibre/Makefile
@@ -7,6 +7,7 @@
PORTNAME= calibre
PORTVERSION= 0.8.54
+PORTREVISION= 1
CATEGORIES= deskutils python
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/
@@ -29,7 +30,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:${PORTSDIR}/devel/py-setupto
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils \
${PYTHON_PKGNAMEPREFIX}dnspython>=0:${PORTSDIR}/dns/py-dnspython \
${PYTHON_PKGNAMEPREFIX}dateutil>=0:${PORTSDIR}/devel/py-dateutil \
- ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:${PORTSDIR}/www/py-beautifulsoup \
+ ${PYTHON_PKGNAMEPREFIX}beautifulsoup32>=0:${PORTSDIR}/www/py-beautifulsoup32 \
${PYTHON_PKGNAMEPREFIX}imaging>=0:${PORTSDIR}/graphics/py-imaging \
${PYTHON_PKGNAMEPREFIX}lxml>=0:${PORTSDIR}/devel/py-lxml \
${PYTHON_PKGNAMEPREFIX}mechanize>=0:${PORTSDIR}/www/py-mechanize \
diff --git a/www/Makefile b/www/Makefile
index b06afa8c9c04..eeebe7e2e3ea 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1444,6 +1444,7 @@
SUBDIR += py-beaker
SUBDIR += py-beautifulsoup
SUBDIR += py-beautifulsoup30
+ SUBDIR += py-beautifulsoup32
SUBDIR += py-bjoern
SUBDIR += py-bleach
SUBDIR += py-blogofile
diff --git a/www/py-beautifulsoup/Makefile b/www/py-beautifulsoup/Makefile
index f92415ee70b3..57851b3f5894 100644
--- a/www/py-beautifulsoup/Makefile
+++ b/www/py-beautifulsoup/Makefile
@@ -1,24 +1,24 @@
# New ports collection makefile for: beautifulsoup
-# Date created: 15 July 2005
-# Whom: Mike Meyer <mwm@mired.org>
+# Date created: 25 July 2012
+# Whom: Mike Meyer
#
# $FreeBSD$
#
PORTNAME= beautifulsoup
-PORTVERSION= 3.2.0
+PORTVERSION= 4.1.1
CATEGORIES= www python
-MASTER_SITES= http://www.crummy.com/software/BeautifulSoup/download/3.x/
+MASTER_SITES= http://www.crummy.com/software/BeautifulSoup/bs4/download/4.1/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= BeautifulSoup-${PORTVERSION}
+DISTNAME= beautifulsoup4-${PORTVERSION}
-MAINTAINER= mwm@mired.org
+MAINTAINER= william88@gmail.com
COMMENT= HTML/XML Parser for Python
-USE_PYTHON= yes
+USE_PYTHON= 2.7
USE_PYDISTUTILS= yes
-PYDISTUTILS_PKGNAME= BeautifulSoup
+PYDISTUTILS_PKGNAME= beautifulsoup4
-CONFLICTS= py[0-9]*-beautifulsoup-3.0.*
+CONFLICTS= py[0-9]*-beautifulsoup-3.*
.include <bsd.port.mk>
diff --git a/www/py-beautifulsoup/distinfo b/www/py-beautifulsoup/distinfo
index d787ba31ac70..0cf26110f1cb 100644
--- a/www/py-beautifulsoup/distinfo
+++ b/www/py-beautifulsoup/distinfo
@@ -1,2 +1,2 @@
-SHA256 (BeautifulSoup-3.2.0.tar.gz) = a0ea3377a1055bf2e17594c0808414afb65e11f25ce8998f1ed3e9b871de6ff6
-SIZE (BeautifulSoup-3.2.0.tar.gz) = 31056
+SHA256 (beautifulsoup4-4.1.1.tar.gz) = a8b1b59a105c07cf5a4912efd77294b3f86c4e3623fee773c8ca764c29d507ed
+SIZE (beautifulsoup4-4.1.1.tar.gz) = 129632
diff --git a/www/py-beautifulsoup/pkg-plist b/www/py-beautifulsoup/pkg-plist
index 2ff917b1a4f0..317afa901afe 100644
--- a/www/py-beautifulsoup/pkg-plist
+++ b/www/py-beautifulsoup/pkg-plist
@@ -1,6 +1,51 @@
-%%PYTHON_SITELIBDIR%%/BeautifulSoup.py
-%%PYTHON_SITELIBDIR%%/BeautifulSoup.pyc
-%%PYTHON_SITELIBDIR%%/BeautifulSoup.pyo
-%%PYTHON_SITELIBDIR%%/BeautifulSoupTests.py
-%%PYTHON_SITELIBDIR%%/BeautifulSoupTests.pyc
-%%PYTHON_SITELIBDIR%%/BeautifulSoupTests.pyo
+%%PYTHON_SITELIBDIR%%/bs4/dammit.pyc
+%%PYTHON_SITELIBDIR%%/bs4/__init__.pyo
+%%PYTHON_SITELIBDIR%%/bs4/dammit.py
+%%PYTHON_SITELIBDIR%%/bs4/element.pyo
+%%PYTHON_SITELIBDIR%%/bs4/testing.pyc
+%%PYTHON_SITELIBDIR%%/bs4/testing.py
+%%PYTHON_SITELIBDIR%%/bs4/__init__.py
+%%PYTHON_SITELIBDIR%%/bs4/dammit.pyo
+%%PYTHON_SITELIBDIR%%/bs4/__init__.pyc
+%%PYTHON_SITELIBDIR%%/bs4/element.py
+%%PYTHON_SITELIBDIR%%/bs4/testing.pyo
+%%PYTHON_SITELIBDIR%%/bs4/element.pyc
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_tree.py
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_builder_registry.pyc
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_lxml.pyo
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_soup.pyc
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_htmlparser.pyo
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_htmlparser.py
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_lxml.py
+%%PYTHON_SITELIBDIR%%/bs4/tests/__init__.pyc
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_tree.pyc
+%%PYTHON_SITELIBDIR%%/bs4/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_html5lib.pyo
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_docs.pyc
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_soup.py
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_lxml.pyc
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_builder_registry.pyo
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_builder_registry.py
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_htmlparser.pyc
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_soup.pyo
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_html5lib.py
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_docs.py
+%%PYTHON_SITELIBDIR%%/bs4/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_tree.pyo
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_docs.pyo
+%%PYTHON_SITELIBDIR%%/bs4/tests/test_html5lib.pyc
+%%PYTHON_SITELIBDIR%%/bs4/builder/_html5lib.pyo
+%%PYTHON_SITELIBDIR%%/bs4/builder/_htmlparser.pyo
+%%PYTHON_SITELIBDIR%%/bs4/builder/_lxml.pyc
+%%PYTHON_SITELIBDIR%%/bs4/builder/_htmlparser.py
+%%PYTHON_SITELIBDIR%%/bs4/builder/__init__.py
+%%PYTHON_SITELIBDIR%%/bs4/builder/__init__.pyc
+%%PYTHON_SITELIBDIR%%/bs4/builder/_lxml.py
+%%PYTHON_SITELIBDIR%%/bs4/builder/_html5lib.py
+%%PYTHON_SITELIBDIR%%/bs4/builder/_html5lib.pyc
+%%PYTHON_SITELIBDIR%%/bs4/builder/_lxml.pyo
+%%PYTHON_SITELIBDIR%%/bs4/builder/_htmlparser.pyc
+%%PYTHON_SITELIBDIR%%/bs4/builder/__init__.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/bs4/builder
+@dirrm %%PYTHON_SITELIBDIR%%/bs4/tests
+@dirrm %%PYTHON_SITELIBDIR%%/bs4
diff --git a/www/py-beautifulsoup32/Makefile b/www/py-beautifulsoup32/Makefile
new file mode 100644
index 000000000000..f92415ee70b3
--- /dev/null
+++ b/www/py-beautifulsoup32/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: beautifulsoup
+# Date created: 15 July 2005
+# Whom: Mike Meyer <mwm@mired.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= beautifulsoup
+PORTVERSION= 3.2.0
+CATEGORIES= www python
+MASTER_SITES= http://www.crummy.com/software/BeautifulSoup/download/3.x/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= BeautifulSoup-${PORTVERSION}
+
+MAINTAINER= mwm@mired.org
+COMMENT= HTML/XML Parser for Python
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_PKGNAME= BeautifulSoup
+
+CONFLICTS= py[0-9]*-beautifulsoup-3.0.*
+
+.include <bsd.port.mk>
diff --git a/www/py-beautifulsoup32/distinfo b/www/py-beautifulsoup32/distinfo
new file mode 100644
index 000000000000..d787ba31ac70
--- /dev/null
+++ b/www/py-beautifulsoup32/distinfo
@@ -0,0 +1,2 @@
+SHA256 (BeautifulSoup-3.2.0.tar.gz) = a0ea3377a1055bf2e17594c0808414afb65e11f25ce8998f1ed3e9b871de6ff6
+SIZE (BeautifulSoup-3.2.0.tar.gz) = 31056
diff --git a/www/py-beautifulsoup32/pkg-descr b/www/py-beautifulsoup32/pkg-descr
new file mode 100644
index 000000000000..eb0ab5affd47
--- /dev/null
+++ b/www/py-beautifulsoup32/pkg-descr
@@ -0,0 +1,12 @@
+Beautiful Soup parses arbitrarily invalid XML- or HTML-like substance
+into a tree representation. It provides methods and Pythonic idioms
+that make it easy to search and modify the tree.
+
+A well-formed XML/HTML document will yield a well-formed data
+structure. An ill-formed XML/HTML document will yield a
+correspondingly ill-formed data structure. If your document is only
+locally well-formed, you can use this library to find and process the
+well-formed part of it. The BeautifulSoup class has heuristics for
+obtaining a sensible parse tree in the face of common HTML errors.
+
+WWW: http://www.crummy.com/software/BeautifulSoup/
diff --git a/www/py-beautifulsoup32/pkg-plist b/www/py-beautifulsoup32/pkg-plist
new file mode 100644
index 000000000000..2ff917b1a4f0
--- /dev/null
+++ b/www/py-beautifulsoup32/pkg-plist
@@ -0,0 +1,6 @@
+%%PYTHON_SITELIBDIR%%/BeautifulSoup.py
+%%PYTHON_SITELIBDIR%%/BeautifulSoup.pyc
+%%PYTHON_SITELIBDIR%%/BeautifulSoup.pyo
+%%PYTHON_SITELIBDIR%%/BeautifulSoupTests.py
+%%PYTHON_SITELIBDIR%%/BeautifulSoupTests.pyc
+%%PYTHON_SITELIBDIR%%/BeautifulSoupTests.pyo