python-wikipedia: add missing pycompile_module

This commit is contained in:
Alessio Sergi 2018-04-22 19:11:35 +02:00
parent ca227b3b50
commit e8e8ae281e

View file

@ -1,13 +1,14 @@
# Template file for 'python-wikipedia'
pkgname=python-wikipedia
version=1.4.0
revision=1
revision=2
noarch=yes
wrksrc="wikipedia-${version}"
build_style=python-module
pycompile_module="wikipedia"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-BeautifulSoup4 python-requests"
short_desc="Python library to access and parse data from Wikipedia"
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"
@ -19,10 +20,10 @@ post_install() {
}
python3-wikipedia_package() {
short_desc="${short_desc/Python2/Python3}"
noarch=yes
pycompile_module="wikipedia"
depends="python3-BeautifulSoup4 python3-requests"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE