python3-feedparser: update to 6.0.1.
- Split off from python-feedparser. Python2 version is now deprecated and unsupported by upstream: https://github.com/kurtmckee/feedparser/issues/228 Since no other packages in void-packages now depend on python-feedparser, drop Python2 version. - python3-feedparser now requires separate python3-sgmllib (which was provided in Python2 and bundled in Python3 module previously).
This commit is contained in:
parent
e0dea40448
commit
cce753fd71
|
@ -1,28 +0,0 @@
|
||||||
# Template file for 'python-feedparser'
|
|
||||||
pkgname=python-feedparser
|
|
||||||
version=5.2.1
|
|
||||||
revision=8
|
|
||||||
wrksrc="feedparser-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
pycompile_module="feedparser.py"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python"
|
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
||||||
license="BSD-2-Clause"
|
|
||||||
homepage="https://pypi.org/project/feedparser/"
|
|
||||||
short_desc="Parse Atom and RSS feeds in Python2"
|
|
||||||
distfiles="${PYPI_SITE}/f/feedparser/feedparser-${version}.tar.bz2"
|
|
||||||
checksum=ce875495c90ebd74b179855449040003a1beb40cd13d5f037a0654251e260b02
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-feedparser_package() {
|
|
||||||
depends="python3"
|
|
||||||
pycompile_module="feedparser.py"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-feedparser
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'python3-feedparser'
|
||||||
|
pkgname=python3-feedparser
|
||||||
|
version=6.0.1
|
||||||
|
revision=1
|
||||||
|
wrksrc="feedparser-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3-sgmllib"
|
||||||
|
short_desc="Parse Atom and RSS feeds in Python3"
|
||||||
|
maintainer="Peter Bui <pbui@github.bx612.space>"
|
||||||
|
license="BSD-2-Clause"
|
||||||
|
homepage="https://pypi.org/project/feedparser/"
|
||||||
|
distfiles="${PYPI_SITE}/f/feedparser/feedparser-${version}.tar.gz"
|
||||||
|
checksum=6ca88edcaa43f428345968df903a87f020843eda5e28d7ea24a612158d61e74c
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Reference in New Issue