python-wikipedia: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 13:40:45 +07:00
parent bd162b8646
commit beab1367c1
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-wikipedia'
pkgname=python-wikipedia
version=1.4.0
revision=3
archs=noarch
wrksrc="wikipedia-${version}"
build_style=python-module
pycompile_module="wikipedia"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-BeautifulSoup4 python-requests"
short_desc="Python2 library to access and parse data from Wikipedia"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="MIT"
homepage="https://github.com/goldsmith/Wikipedia"
distfiles="${PYPI_SITE}/w/wikipedia/wikipedia-${version}.tar.gz"
checksum=db0fad1829fdd441b1852306e9856398204dc0786d2996dd2e0c8bb8e26133b2
post_install() {
vlicense LICENSE
}
python3-wikipedia_package() {
archs=noarch
pycompile_module="wikipedia"
depends="python3-BeautifulSoup4 python3-requests"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-wikipedia

View file

@ -0,0 +1,18 @@
# Template file for 'python3-wikipedia'
pkgname=python3-wikipedia
version=1.4.0
revision=4
wrksrc="wikipedia-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-BeautifulSoup4 python3-requests"
short_desc="Python3 library to access and parse data from Wikipedia"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="MIT"
homepage="https://github.com/goldsmith/Wikipedia"
distfiles="${PYPI_SITE}/w/wikipedia/wikipedia-${version}.tar.gz"
checksum=db0fad1829fdd441b1852306e9856398204dc0786d2996dd2e0c8bb8e26133b2
post_install() {
vlicense LICENSE
}