summaryrefslogtreecommitdiff
path: root/user/py3-monotonic
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-20 04:05:26 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-20 04:05:26 +0000
commit30abd6d12abb3fd8653a0fb013edfd44ff39ccef (patch)
tree5d26bc31cfa3b1bde918d526a2a69135cec279b1 /user/py3-monotonic
parent28ae1fabf97d0db094631d7ac21969fe1fd10a50 (diff)
downloadpackages-30abd6d12abb3fd8653a0fb013edfd44ff39ccef.tar.gz
packages-30abd6d12abb3fd8653a0fb013edfd44ff39ccef.tar.bz2
packages-30abd6d12abb3fd8653a0fb013edfd44ff39ccef.tar.xz
packages-30abd6d12abb3fd8653a0fb013edfd44ff39ccef.zip
user/py3-monotonic: New package
Diffstat (limited to 'user/py3-monotonic')
-rw-r--r--user/py3-monotonic/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/py3-monotonic/APKBUILD b/user/py3-monotonic/APKBUILD
new file mode 100644
index 000000000..473c12f1e
--- /dev/null
+++ b/user/py3-monotonic/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=py3-monotonic
+_pkgname=monotonic
+_p="${_pkgname#?}"
+_p="${_pkgname%"$_p"}"
+pkgver=1.5
+pkgrel=0
+pkgdesc="Monotonic clock for Python"
+url="https://pypi.org/project/monotonic/"
+arch="noarch"
+license="Apache-2.0"
+depends="python3"
+makedepends=""
+subpackages=""
+source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/monotonic-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="05485e0baa51df95f9812d463306ce0bbe7228170b43aed8faa9d77d2b613ffede6b57b3dd273c352e0d1c04782043bec2f36be88cb1acde182a5aeb0538f970 monotonic-1.5.tar.gz"