diff options
author | Jean-Louis Fuchs <ganwell@fangorn.ch> | 2018-07-08 17:27:40 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-13 16:39:48 +0000 |
commit | 132368f8acd693b970b5c4e4b032b6b671d2164b (patch) | |
tree | bfffa0f17c7fc9e0134bd15a2cc85451ca4607b1 /main | |
parent | b05ef65a34110e6d0f521fcdcaae158a99193426 (diff) | |
download | aports-132368f8acd693b970b5c4e4b032b6b671d2164b.tar.bz2 aports-132368f8acd693b970b5c4e4b032b6b671d2164b.tar.xz |
main/py2-monotonic: new aport
Diffstat (limited to 'main')
-rw-r--r-- | main/py2-monotonic/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/main/py2-monotonic/APKBUILD b/main/py2-monotonic/APKBUILD new file mode 100644 index 0000000000..2ae6165011 --- /dev/null +++ b/main/py2-monotonic/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch> +# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch> +pkgname=py2-monotonic +pkgver=1.5 +pkgrel=0 +pkgdesc="Provides a clock which never goes backwards." +url="https://github.com/atdt/monotonic/" +arch="noarch" +license="Apache-2.0" +depends="python2" +makedepends="python2-dev" +source="monotonic-$pkgver.tar.gz::https://github.com/atdt/monotonic/archive/$pkgver.tar.gz" +sha512sums="acee69916a82059a027e7bcc03c58deb5ce773a1aff45938699cf09c3ab49b7827c2c01b431593ed76ae49009728c3d52923267eccfc7e15390f8730351a39e2 monotonic-1.5.tar.gz" +builddir="$srcdir/monotonic-$pkgver" + +build() { + cd "$builddir" + python2 setup.py build +} + +check() { + cd "$builddir" + python2 setup.py check +} + +package() { + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" +} |