2017-01-13 00:26:40 +01:00
|
|
|
# Template file for 'python-ntplib'
|
|
|
|
pkgname=python-ntplib
|
|
|
|
version=0.3.3
|
2017-01-31 18:44:33 +01:00
|
|
|
revision=2
|
|
|
|
noarch=yes
|
2017-01-13 00:26:40 +01:00
|
|
|
build_style=python-module
|
|
|
|
wrksrc="ntplib-${version}"
|
2017-01-31 18:44:33 +01:00
|
|
|
pycompile_module="ntplib.py"
|
2017-01-13 00:26:40 +01:00
|
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
|
|
depends="python"
|
|
|
|
short_desc="A simple interface to query NTP servers from Python2"
|
|
|
|
maintainer="cipr3s <cipr3s@gmx.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://code.google.com/archive/p/ntplib/"
|
|
|
|
distfiles="${PYPI_SITE}/n/ntplib/ntplib-${version}.tar.gz"
|
|
|
|
checksum="c4621b64d50be9461d9bd9a71ba0b4af06fbbf818bbd483752d95c1a4e273ede"
|
|
|
|
|
|
|
|
python3-ntplib_package() {
|
|
|
|
noarch=yes
|
|
|
|
depends="python3"
|
2017-01-31 18:44:33 +01:00
|
|
|
pycompile_module="ntplib.py"
|
2017-01-13 00:26:40 +01:00
|
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3*
|
|
|
|
}
|
|
|
|
}
|