summaryrefslogtreecommitdiff
path: root/dev-python/feedparser
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-11 05:14:30 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-11 05:14:30 +0000
commit2502c34a847594fd68051817c7c19d8f0b81c595 (patch)
treeb9a8052ae93b25d20677ec47d771d59b729ca0e7 /dev-python/feedparser
parent145b1805c3986974378af5c60767504ecc9ed280 (diff)
gentoo auto-resync : 11:12:2023 - 05:14:30
Diffstat (limited to 'dev-python/feedparser')
-rw-r--r--dev-python/feedparser/Manifest2
-rw-r--r--dev-python/feedparser/feedparser-6.0.11.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/feedparser/Manifest b/dev-python/feedparser/Manifest
index 53cdf84d34e1..920654229f61 100644
--- a/dev-python/feedparser/Manifest
+++ b/dev-python/feedparser/Manifest
@@ -1,4 +1,6 @@
AUX feedparser-6.0.8-fix-py3.10.patch 555 BLAKE2B 20ff9ae0e540bc2dfbb2d336a12804c444f99f9249e4a4f4aff241cdb3e927aeb8c64ac5eb410b273f7628f5fa4bebd19dc26776ca0ad65a591e493197884c25 SHA512 6a663180a185e5ff915bf5f45220e08ef58c2bc8253e7d943cbb065c202b611dcd1cd6baeef26d9ea6487679d69b3449d2c5f7d6dcc6044e19df52650190c1f9
DIST feedparser-6.0.10.tar.gz 252872 BLAKE2B 5c3b32d264bd00225de20c56c664f369516ead06b33ed1f2ae4123002297b12cc78c2680366e125af1762e53cd4452f2070e5e726de2f0c9ccd71c78cc5ab3a2 SHA512 92f5608d1a12172bc1524d5c8caa75f1cc1a6d7d3456ecd585e6715209cdff469b775c677b8393e1d1e1a895b857fc3c048c36fb83b215308b707a1f71c6e9d3
+DIST feedparser-6.0.11.gh.tar.gz 253205 BLAKE2B 390a7e2cc5d8c1d0f5fa0d696990fe319ce61d0e65dc3f4eb6b3d21c3e11e06d1eb9aa48e72f55dd293364be555120e4e71d1673a04dbbade81be0f5c6853d92 SHA512 258e06d6077d92a75a899f0832c28587e52aff62b40b03af42effbeb9d5dc1d282f423fad762cf4ddeb854cf709346cf531e05b73aa753dbed97793981d20a97
EBUILD feedparser-6.0.10.ebuild 993 BLAKE2B 89b39b69263d90e4f8f7e07405a889997ce197542315e1a31c8ef4425c5ea79c5a733c42c3cc794db534d4babebfd4159ec24777689dd1442f117107a106893c SHA512 78076051c100be2c0900608e820f358144414c18e3230ff362b9f9d28e8f4079c2d563c706d71510bdfb082f0a8da1d9092f5796a8ce943bc77c4ab1fd8d3181
+EBUILD feedparser-6.0.11.ebuild 1030 BLAKE2B ef58bdf91063ced5f58cd31538a1e2709b7ad926e5b7a36afa9778816a867b2bce4e431bf4938edab2f7cf65eff9e1784d0684e7428465617c1de5ce995172d6 SHA512 74fd144b5998618a92d4a37a777b74f3201e096255c9df824cfcb2f7d36526281e020921367d7600f10a4f4d828245a74247e4d4ab44327e7ca12c545eeb85e1
MISC metadata.xml 468 BLAKE2B a0ae044ea5e9b15c43bea0cd38f3641522a2e911193fa8452cb2919e299b40d4410bc23f056a2070e23929610d3c4dedc2b20828e018a031e079281ced62f753 SHA512 a03a6e5a92cf9e18552c9c3a753f4560add583579c6c8bc912732f4c0679a417b195db56e5224927b086f84d9c7eacd8e16ee58f4017dc014f8a902d1a1ea2e7
diff --git a/dev-python/feedparser/feedparser-6.0.11.ebuild b/dev-python/feedparser/feedparser-6.0.11.ebuild
new file mode 100644
index 000000000000..5bc1abbd812e
--- /dev/null
+++ b/dev-python/feedparser/feedparser-6.0.11.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} 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}.gh.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"
+
+RDEPEND="
+ dev-python/sgmllib3k[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}/feedparser-6.0.8-fix-py3.10.patch"
+)
+
+src_prepare() {
+ # broken
+ rm \
+ tests/illformed/chardet/{big5,euckr,gb2312,windows1255}.xml \
+ tests/illformed/undeclared_namespace.xml || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ "${EPYTHON}" tests/runtests.py -v || die "Tests failed with ${EPYTHON}"
+}