New package: python-wikipedia

Closes #13530.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
johannes 2018-04-13 18:10:30 +02:00 committed by Enno Boland
parent c674a09602
commit 181c97d727
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,30 @@
# Template file for 'python-wikipedia'
pkgname=python-wikipedia
version=1.4.0
revision=1
noarch=yes
wrksrc="wikipedia-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-BeautifulSoup4 python-requests"
short_desc="Python 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() {
short_desc="${short_desc/Python2/Python3}"
noarch=yes
pycompile_module="wikipedia"
depends="python3-BeautifulSoup4 python3-requests"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

1
srcpkgs/python3-wikipedia Symbolic link
View file

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