python-ntplib: add missing pycompile_module

This commit is contained in:
Alessio Sergi 2017-01-31 18:44:33 +01:00
parent c20ea9d98c
commit dd3802ecc9

View file

@ -1,10 +1,11 @@
# Template file for 'python-ntplib' # Template file for 'python-ntplib'
pkgname=python-ntplib pkgname=python-ntplib
version=0.3.3 version=0.3.3
revision=1 revision=2
noarch=yes
build_style=python-module build_style=python-module
wrksrc="ntplib-${version}" wrksrc="ntplib-${version}"
noarch=yes pycompile_module="ntplib.py"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python" depends="python"
short_desc="A simple interface to query NTP servers from Python2" short_desc="A simple interface to query NTP servers from Python2"
@ -17,6 +18,7 @@ checksum="c4621b64d50be9461d9bd9a71ba0b4af06fbbf818bbd483752d95c1a4e273ede"
python3-ntplib_package() { python3-ntplib_package() {
noarch=yes noarch=yes
depends="python3" depends="python3"
pycompile_module="ntplib.py"
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
pkg_install() { pkg_install() {
vmove usr/lib/python3* vmove usr/lib/python3*