diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-12 12:05:12 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-15 00:14:12 +0300 |
commit | 8749dea3f486170a88b0698e66c28066f19c4716 (patch) | |
tree | d42d79e922242b4a3abf5165fafd6718660d74ea /testing/py3-utc | |
parent | 63375e1324e3716af99b2d6b1f4f74402fa7ce96 (diff) | |
download | aports-8749dea3f486170a88b0698e66c28066f19c4716.tar.bz2 aports-8749dea3f486170a88b0698e66c28066f19c4716.tar.xz |
testing/py3-utc: modernize, fix provides
Diffstat (limited to 'testing/py3-utc')
-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" } |