From 8749dea3f486170a88b0698e66c28066f19c4716 Mon Sep 17 00:00:00 2001 From: prspkt Date: Wed, 12 Jun 2019 12:05:12 +0300 Subject: testing/py3-utc: modernize, fix provides --- testing/py3-utc/APKBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'testing/py3-utc') 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" } -- cgit v1.2.3