diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py3-utc/APKBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/testing/py3-utc/APKBUILD b/testing/py3-utc/APKBUILD index d2b12f3492..755d18c9d7 100644 --- a/testing/py3-utc/APKBUILD +++ b/testing/py3-utc/APKBUILD @@ -3,25 +3,24 @@ pkgname=py3-utc _pkgname=utc pkgver=0.0.3 -pkgrel=1 +pkgrel=2 pkgdesc="A tiny library for working with UTC time" url="https://bitbucket.org/btubbs/utc" arch="noarch" license="MIT" -provides="py-utc" # for backwards compatibility -replaces="py-utc=$pkgver-r$pkgrel" # for backwards compatibility depends="python3" -makedepends="python3-dev py3-setuptools" +makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver +replaces="py-utc" # for backwards compatibility +provides="py-utc=$pkgver-r$pkgrel" # for backwards compatibility + build() { - cd "$builddir" python3 setup.py build } package() { - cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } |