Commit 044e4409 authored by Stefan Reiff's avatar Stefan Reiff Committed by Natanael Copa

main/py3-monotonic: drop py2

parent 5cfe2e9c
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=py2-monotonic
pkgname=py3-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"
depends="python3"
makedepends="python3-dev"
source="monotonic-$pkgver.tar.gz::https://github.com/atdt/monotonic/archive/$pkgver.tar.gz"
builddir="$srcdir/monotonic-$pkgver"
build() {
cd "$builddir"
python2 setup.py build
python3 setup.py build
}
check() {
cd "$builddir"
python2 setup.py check
python3 setup.py check
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="acee69916a82059a027e7bcc03c58deb5ce773a1aff45938699cf09c3ab49b7827c2c01b431593ed76ae49009728c3d52923267eccfc7e15390f8730351a39e2 monotonic-1.5.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment