22 lines
739 B
Bash
22 lines
739 B
Bash
# Template file for 'python3-ntplib'
|
|
pkgname=python3-ntplib
|
|
version=0.3.4
|
|
revision=3
|
|
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/"
|
|
# 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
|
|
}
|