dev-python/feedparser: Bump to 6.0.12

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-09-11 06:44:30 +02:00
parent db331cd4ef
commit cd69751b8a
2 changed files with 43 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST feedparser-6.0.11.gh.tar.gz 253205 BLAKE2B 390a7e2cc5d8c1d0f5fa0d696990fe319ce61d0e65dc3f4eb6b3d21c3e11e06d1eb9aa48e72f55dd293364be555120e4e71d1673a04dbbade81be0f5c6853d92 SHA512 258e06d6077d92a75a899f0832c28587e52aff62b40b03af42effbeb9d5dc1d282f423fad762cf4ddeb854cf709346cf531e05b73aa753dbed97793981d20a97
DIST feedparser-6.0.12.gh.tar.gz 253342 BLAKE2B b3147c07c3319d644930face3818d93eb8ba786e0500d7e101c2b54b332488811c76340f033d13cfff39fbdd8126482f31baa27ff4f2b8f0ed1cab7dca9414ac SHA512 147b92f3be728726efb6c0f981c8b8fc0715ffb5e8f07f22ce40c3f9f7b1022f4a02452e2211ca472a27dad3ce5e1460412c7a341518a46becc7d5a3bf13c37f

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
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/v${MY_PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
dev-python/sgmllib3k[${PYTHON_USEDEP}]
"
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}"
}