summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2011-01-26 12:25:33 +0000
committerSebastian Pipping <sping@gentoo.org>2011-01-26 12:25:33 +0000
commitbff2bdc99a122425298d1937874ddd0a9d8810ee (patch)
tree4c93b426215961ffbb4de8c01c11c5e3fb488c31 /dev-python/feedparser
parentx11-apps/xprop is needed as noticed by Flameeyes in bug #318149. (diff)
downloadgentoo-2-bff2bdc99a122425298d1937874ddd0a9d8810ee.tar.gz
gentoo-2-bff2bdc99a122425298d1937874ddd0a9d8810ee.tar.bz2
gentoo-2-bff2bdc99a122425298d1937874ddd0a9d8810ee.zip
dev-python/feedparser: Bump to 5.0
(Portage version: 2.1.9.35/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/feedparser')
-rw-r--r--dev-python/feedparser/ChangeLog10
-rw-r--r--dev-python/feedparser/feedparser-5.0.ebuild34
2 files changed, 42 insertions, 2 deletions
diff --git a/dev-python/feedparser/ChangeLog b/dev-python/feedparser/ChangeLog
index 29b57d01b564..d8c4ca2d091c 100644
--- a/dev-python/feedparser/ChangeLog
+++ b/dev-python/feedparser/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/feedparser
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/feedparser/ChangeLog,v 1.21 2010/11/25 15:15:10 sping Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/feedparser/ChangeLog,v 1.22 2011/01/26 12:25:33 sping Exp $
+
+*feedparser-5.0 (26 Jan 2011)
+
+ 26 Jan 2011; Sebastian Pipping <sping@gentoo.org> +feedparser-5.0.ebuild:
+ Bump to 5.0: Integrate test suite, no longer install docs (as they are no
+ longer shipped)
*feedparser-4.2_pre316 (25 Nov 2010)
diff --git a/dev-python/feedparser/feedparser-5.0.ebuild b/dev-python/feedparser/feedparser-5.0.ebuild
new file mode 100644
index 000000000000..0c3124d52d24
--- /dev/null
+++ b/dev-python/feedparser/feedparser-5.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/feedparser/feedparser-5.0.ebuild,v 1.1 2011/01/26 12:25:33 sping Exp $
+
+EAPI="2"
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*" # See README-PYTHON3 in tarball if you want to work on this
+
+inherit distutils
+
+DESCRIPTION="Parse RSS and Atom feeds in Python"
+HOMEPAGE="http://www.feedparser.org/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="test"
+
+DEPEND=""
+RDEPEND=""
+
+PYTHON_MODNAME="feedparser.py"
+DOCS=( LICENSE NEWS )
+
+src_test() {
+ testing() {
+ cd feedparser || die
+ "$(PYTHON)" ${PN}test.py || die
+ }
+ python_execute_function testing
+}