diff options
author | Sebastian Pipping <sping@gentoo.org> | 2012-05-03 19:13:49 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2012-05-03 19:13:49 +0000 |
commit | d58dd93f87e90aba8b7b73747a6421d08e9ed783 (patch) | |
tree | db1edecefbad3f1045acaa6588c32051343ac718 /dev-python | |
parent | Fix by jk3064 for mingw headers #409801. (diff) | |
download | historical-d58dd93f87e90aba8b7b73747a6421d08e9ed783.tar.gz historical-d58dd93f87e90aba8b7b73747a6421d08e9ed783.tar.bz2 historical-d58dd93f87e90aba8b7b73747a6421d08e9ed783.zip |
dev-python/feedparser: 5.1.2
Package-Manager: portage-2.1.10.56/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/feedparser/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/feedparser/Manifest | 14 | ||||
-rw-r--r-- | dev-python/feedparser/feedparser-5.1.2.ebuild | 53 |
3 files changed, 67 insertions, 7 deletions
diff --git a/dev-python/feedparser/ChangeLog b/dev-python/feedparser/ChangeLog index 280200daa4eb..f28d38f72cb7 100644 --- a/dev-python/feedparser/ChangeLog +++ b/dev-python/feedparser/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/feedparser # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/feedparser/ChangeLog,v 1.34 2012/03/20 17:54:19 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/feedparser/ChangeLog,v 1.35 2012/05/03 19:13:49 sping Exp $ + +*feedparser-5.1.2 (03 May 2012) + + 03 May 2012; Sebastian Pipping <sping@gentoo.org> +feedparser-5.1.2.ebuild: + Bump to 5.1.2 *feedparser-5.1.1 (20 Mar 2012) diff --git a/dev-python/feedparser/Manifest b/dev-python/feedparser/Manifest index 195f6cfdb34c..371f00330c2e 100644 --- a/dev-python/feedparser/Manifest +++ b/dev-python/feedparser/Manifest @@ -1,20 +1,22 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA1 AUX feedparser-5.0.1-sgmllib.patch 932 RMD160 f1e54d39aee105902308955b4d41b2b628c59904 SHA1 4bc4f692a7e852dc44860755aab03f5b74e968bf SHA256 5ebe73ace12773111ce625c3becee8835219156d732237f678fe9457c33b88db AUX feedparser-5.1-sgmllib.patch 2745 RMD160 f448867e4ad263a0d81e876ce5238ccd4f163896 SHA1 9cde8ee59836866a215746b975d5f5e1dc7a3a1e SHA256 1eddd093e40096c9f7592d264c458a2d0c42311fb9f204ec4622e9bf8f494256 DIST feedparser-5.0.1.tar.bz2 204146 RMD160 1ab459dd969a3364c64b9d67f15559a1dfdf958b SHA1 3ab34ba314260cc79b2f558dec7ddc7037098b44 SHA256 57fe918773969eb20fb7b94ab1ae5d3b7eb4a8ce29f49ebc3766fa7f6a4974cb DIST feedparser-5.1.1.tar.bz2 198754 RMD160 499173d120cc3efc22f6a0651643e6447296230b SHA1 7a96a0f893037efc662ba7af9efd20438f584c20 SHA256 ae099763f4538aa08c5021d42ba6ce5b9b6218e71423c96031153f379955481a +DIST feedparser-5.1.2.tar.bz2 199404 RMD160 d7c6e1ff49c231aba95b0c80062eb0447fe55ab0 SHA1 038ca912f2ebd8f7ba339ae332764faab3c94adf SHA256 b7773afb41481add990539baeb0e441811ec48cb8c1b6c2911cabbe9c5d9d1d0 DIST feedparser-5.1.tar.bz2 195506 RMD160 bd6a8f71d5077ab8032c26916b60ef16ba2ff31f SHA1 b63284f2b93ab1c92cbd74879de0efe0b37da366 SHA256 91a28a76b5cbaf7457a22e47e04347568a1f21fac85c806867ac72d32aabe718 EBUILD feedparser-5.0.1.ebuild 1705 RMD160 65963b60858f81a00f9fcdee180fc1b69755813a SHA1 59435c808ebe984a828a6bf98f97e36a9eee439d SHA256 a9c325cae00ff3cff683dcbe6d2de457efe861ef992d12dc4c4ecc69f32cf6b7 EBUILD feedparser-5.1.1.ebuild 1594 RMD160 bec1581cb83bbe758a93c419e96025da096f461c SHA1 efef411a81f2870f8ddaea3fb3711f94e3caa18b SHA256 f14541a76e590cceb3331d8fae2897e94b1055b77569bc8e57ea83d5aeb3c337 +EBUILD feedparser-5.1.2.ebuild 1594 RMD160 95f9f4b473454b3868a0fdd8aa573022159da7f7 SHA1 902811227ed382545b3e7b012e2d9cd6efdc112b SHA256 a43a4d14b910dc08e984f3e4d8d2220dfc9c3845768d5b97571f39966ae349fb EBUILD feedparser-5.1.ebuild 1589 RMD160 002f87a7303eb6f9dc3fb03b57d5df550ea8dc01 SHA1 e78b91202f6fd3bb2f66bbf460d22614ec755261 SHA256 0d86c336cb63d02a878d3c44a1ecee5779bddec9a58fc8f83bb22b3890458882 -MISC ChangeLog 4678 RMD160 04608649a5d8fbcb6e9f2f783ed077cf8ace67cb SHA1 b052993f500635f52fbbcd600ade9c7a7e00bc9c SHA256 df5751ec746ed6e07d49b926d955c39b95cd603e4cedef86acf75dedc6cf0ca8 +MISC ChangeLog 4806 RMD160 80ebe442bc246de3ba7d44d524b044a2373fb83f SHA1 a7cd486ecae35413753cf62a63780892f8ecc903 SHA256 3ac21ba6b0a0d2a9d1ba2e916844d286afbb2e6aa68b2e99edf492450d015858 MISC metadata.xml 342 RMD160 582fcab3cbb499e70949538256e6a2f81a72a17d SHA1 69b2ddd599c147a2b904bbfb25a2583044960ae4 SHA256 d0f39816274e6cdfe0702286d867eb606092b53838800669184280a1f0111a1e -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREKAAYFAk93R6QACgkQuUQtlDBCeQI6qwCcCRThKbY3/rkZ2IsEQwMXbpNS -M6UAoIgGRKMKH3MIl+w+/Ztj/J4J670C -=ShFi +iEYEARECAAYFAk+i2NUACgkQsAvGakAaFgBRBQCeMSxJKcxw8jEziRZGLrLGLPYH +oc0AoIIhNthSIPgEmUxzMCGgGeaZneqr +=/ev8 -----END PGP SIGNATURE----- diff --git a/dev-python/feedparser/feedparser-5.1.2.ebuild b/dev-python/feedparser/feedparser-5.1.2.ebuild new file mode 100644 index 000000000000..26e40c36f108 --- /dev/null +++ b/dev-python/feedparser/feedparser-5.1.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/feedparser/feedparser-5.1.2.ebuild,v 1.1 2012/05/03 19:13:49 sping Exp $ + +EAPI="4" +SUPPORT_PYTHON_ABIS="1" +PYTHON_TESTS_RESTRICTED_ABIS="*-jython" +PYTHON_TESTS_FAILURES_TOLERANT_ABIS="*" + +inherit distutils eutils + +DESCRIPTION="Parse RSS and Atom feeds in Python" +HOMEPAGE="http://code.google.com/p/feedparser/ http://pypi.python.org/pypi/feedparser" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2" + +# sgmllib is licensed under PSF-2. +LICENSE="BSD-2 PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +DEPEND="dev-python/setuptools" +RDEPEND="" + +DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" +PYTHON_MODNAME="feedparser.py _feedparser_sgmllib.py" + +src_prepare() { + mv feedparser/sgmllib3.py feedparser/_feedparser_sgmllib.py || die "Renaming sgmllib3.py failed" + epatch "${FILESDIR}/${PN}-5.1-sgmllib.patch" + + sed -e "/import feedparser/isys.path.insert(0, '../build/lib')" -i feedparser/feedparsertest.py + + distutils_src_prepare + + preparation() { + if [[ "${PYTHON_ABI}" == 3.* ]]; then + 2to3-${PYTHON_ABI} -nw --no-diffs feedparser/feedparsertest.py + else + # Avoid SyntaxErrors with Python 2. + echo "raise ImportError" > feedparser/_feedparser_sgmllib.py + fi + } + python_execute_function -s preparation +} + +src_test() { + testing() { + cd feedparser || return 1 + "$(PYTHON)" feedparsertest.py + } + python_execute_function -s testing +} |