diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-08 21:16:41 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-09 10:56:29 -0300 |
commit | f59ec79bc7152db87bac6aef3108898008e67789 (patch) | |
tree | ddf76d5082dc60a5217fed575d7d67f7c430033c /community/py3-django-appconf/APKBUILD | |
parent | ff94261b2efdd1ccbb37db50cc38cb3916f4e3f3 (diff) | |
download | aports-f59ec79bc7152db87bac6aef3108898008e67789.tar.bz2 aports-f59ec79bc7152db87bac6aef3108898008e67789.tar.xz |
community/py3-django-appconf: drop py2
Diffstat (limited to 'community/py3-django-appconf/APKBUILD')
-rw-r--r-- | community/py3-django-appconf/APKBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/community/py3-django-appconf/APKBUILD b/community/py3-django-appconf/APKBUILD index 621cc599e6..0182c3f333 100644 --- a/community/py3-django-appconf/APKBUILD +++ b/community/py3-django-appconf/APKBUILD @@ -1,28 +1,28 @@ # Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> # Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> -pkgname=py-django-appconf +pkgname=py3-django-appconf _pkgname=django-appconf pkgver=1.0.3 -pkgrel=0 +pkgrel=1 pkgdesc="Packaged application configuation helper for Django" url="http://django-appconf.readthedocs.org/" arch="noarch" -license="BSD" -depends="py-django py-six" -makedepends="py-setuptools" +license="BSD-3-Clause" +depends="python3 py3-django py3-six" +makedepends="py3-setuptools" options="!check" # No test suite available source="https://files.pythonhosted.org/packages/source/d/$_pkgname/$_pkgname-$pkgver.tar.gz" - builddir="$srcdir/$_pkgname-$pkgver" +replaces="py-django-appconf" # Backwards compatibility +provides="py-django-appconf=$pkgver-r$pkgrel" # Backwards compatibility + build() { - cd "$builddir" - python2 setup.py build + python3 setup.py build } package() { - cd "$builddir" - python2 setup.py install --root "$pkgdir" + python3 setup.py install --root "$pkgdir" } sha512sums="205970788fa5448a9da8571eb163c03c7456ca687bdbfe02d014e4a8e1377447624ce00d79401f043cfc7b819ae69bd3a0d6415957eb9c75b272cc00ab21a761 django-appconf-1.0.3.tar.gz" |