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:
parent
c0e3f24a62
commit
1b09b83b39
1 changed files with 12 additions and 5 deletions
|
@ -1,14 +1,21 @@
|
||||||
# Template file for 'python3-ntplib'
|
# Template file for 'python3-ntplib'
|
||||||
pkgname=python3-ntplib
|
pkgname=python3-ntplib
|
||||||
version=0.3.3
|
version=0.3.4
|
||||||
revision=5
|
revision=1
|
||||||
build_style=python3-module
|
|
||||||
wrksrc="ntplib-${version}"
|
wrksrc="ntplib-${version}"
|
||||||
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
short_desc="Simple interface to query NTP servers from Python3"
|
short_desc="Simple interface to query NTP servers from Python3"
|
||||||
maintainer="cipr3s <cipr3s@gmx.com>"
|
maintainer="cipr3s <cipr3s@gmx.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://code.google.com/archive/p/ntplib/"
|
homepage="http://code.google.com/archive/p/ntplib/"
|
||||||
distfiles="${PYPI_SITE}/n/ntplib/ntplib-${version}.tar.gz"
|
# They deleted all old releases, PYPI only has wheel package of 0.3.4
|
||||||
checksum="c4621b64d50be9461d9bd9a71ba0b4af06fbbf818bbd483752d95c1a4e273ede"
|
# 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
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue