python3-ntplib: update to 0.3.4.

They deleted all old releases, PYPI only has wheel package of 0.3.4.
This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 21:32:17 +07:00
parent c0e3f24a62
commit 1b09b83b39

View file

@ -1,14 +1,21 @@
# Template file for 'python3-ntplib'
pkgname=python3-ntplib
version=0.3.3
revision=5
build_style=python3-module
version=0.3.4
revision=1
wrksrc="ntplib-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Simple interface to query NTP servers from Python3"
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"
# They deleted all old releases, PYPI only has wheel package of 0.3.4
# distfiles="${PYPI_SITE}/n/ntplib/ntplib-${version}.tar.gz"
distfiles="https://github.com/cf-natali/ntplib/archive/$version.tar.gz"
checksum=e822d7142b84d72022b9caaf00f6d2a7541f9822f41e1c133839db1d7957abbe
post_install() {
sed -n '/The MIT License/,/SOFTWARE[.]$/p' ntplib.py >LICENSE
vlicense LICENSE
}