diff --git a/srcpkgs/python-ntplib/template b/srcpkgs/python-ntplib/template new file mode 100644 index 0000000000..3dd54d69cf --- /dev/null +++ b/srcpkgs/python-ntplib/template @@ -0,0 +1,24 @@ +# Template file for 'python-ntplib' +pkgname=python-ntplib +version=0.3.3 +revision=1 +build_style=python-module +wrksrc="ntplib-${version}" +noarch=yes +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="A simple interface to query NTP servers from Python2" +maintainer="cipr3s " +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" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-ntplib b/srcpkgs/python3-ntplib new file mode 120000 index 0000000000..5c1eddbf42 --- /dev/null +++ b/srcpkgs/python3-ntplib @@ -0,0 +1 @@ +python-ntplib \ No newline at end of file