diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-05-20 09:43:36 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-20 10:29:23 +0200 |
commit | 5d08f9bf8fdfe409ffa9c096f2c8d17e35d788b7 (patch) | |
tree | 270518b6b8fad24f401cac59b0a90fff2a519e6b /dev-python/feedparser | |
parent | dev-python/sgmllib3k: Use PEP517 build (diff) | |
download | gentoo-5d08f9bf8fdfe409ffa9c096f2c8d17e35d788b7.tar.gz gentoo-5d08f9bf8fdfe409ffa9c096f2c8d17e35d788b7.tar.bz2 gentoo-5d08f9bf8fdfe409ffa9c096f2c8d17e35d788b7.zip |
dev-python/feedparser: Bump to 6.0.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/feedparser')
-rw-r--r-- | dev-python/feedparser/Manifest | 1 | ||||
-rw-r--r-- | dev-python/feedparser/feedparser-6.0.9.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/feedparser/Manifest b/dev-python/feedparser/Manifest index a4a98a389e0d..75d3987ea93a 100644 --- a/dev-python/feedparser/Manifest +++ b/dev-python/feedparser/Manifest @@ -1 +1,2 @@ DIST feedparser-6.0.8.tar.gz 252496 BLAKE2B 1a17ef6aa41e0782743d5d331ba26e2d1518475534adcd62457bc6fab00b93e24a3a3b03f4acf8358d321464b985c9d09383dc0373680577c10b742c5e1366fd SHA512 9de702dbebe28b379fd164afed8c408f46301f3ebf91d9f862f12de98a1bcee9f6d38a27c0b8a64e87bc0a20d0ad992ed78b190406649f775e2e8c9ca62b4d8c +DIST feedparser-6.0.9.tar.gz 252691 BLAKE2B 08c1e04f9c8b38050abc22ee702271cb8e67c292cd3ab3820e6754b9ae05cc43bded9c1fa0160ba3770f38fad83b286c8f2c3416a03a366b595f6c388d64cfb3 SHA512 bcc2c9e7214c31d4dd5d78f2df99b6c25c87cf9e87d8ed0a00e7cbcc1451c1781b0c5408b7951f5655d2b4fdb558e82ddb5cb00487426d23c4d4c68fa9b77e0c diff --git a/dev-python/feedparser/feedparser-6.0.9.ebuild b/dev-python/feedparser/feedparser-6.0.9.ebuild new file mode 100644 index 000000000000..5bf7f4188766 --- /dev/null +++ b/dev-python/feedparser/feedparser-6.0.9.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +MY_PV=${PV/_beta/b} +MY_P=${PN}-${MY_PV} +DESCRIPTION="Parse RSS and Atom feeds in Python" +HOMEPAGE=" + https://github.com/kurtmckee/feedparser/ + https://pypi.org/project/feedparser/ +" +SRC_URI=" + https://github.com/kurtmckee/feedparser/archive/${MY_PV}.tar.gz + -> ${MY_P}.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" + +RDEPEND=" + dev-python/sgmllib3k[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/feedparser-6.0.8-fix-py3.10.patch" +) + +src_prepare() { + # broken + rm \ + tests/illformed/chardet/big5.xml \ + tests/illformed/undeclared_namespace.xml || die + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" tests/runtests.py -v || die "Tests failed with ${EPYTHON}" +} |