diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-03 17:51:42 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-03 17:51:42 -0300 |
commit | 6e3c4cd135661877c1269915f5d63c37092a43e7 (patch) | |
tree | 7d3167db64c54daaa268488ca719d881cbc945f6 /community/py3-django-oscar | |
parent | 7ae5f96bb3a85d75e23c62a49f4c1f2dfb24fb3f (diff) | |
download | aports-6e3c4cd135661877c1269915f5d63c37092a43e7.tar.bz2 aports-6e3c4cd135661877c1269915f5d63c37092a43e7.tar.xz |
community/py3-django-oscar: drop py2
Diffstat (limited to 'community/py3-django-oscar')
-rw-r--r-- | community/py3-django-oscar/APKBUILD | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/community/py3-django-oscar/APKBUILD b/community/py3-django-oscar/APKBUILD index 2fdd3da294..b845ef5218 100644 --- a/community/py3-django-oscar/APKBUILD +++ b/community/py3-django-oscar/APKBUILD @@ -1,29 +1,30 @@ # Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> # Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> -pkgname=py-django-oscar +pkgname=py3-django-oscar pkgver=1.6.7 -pkgrel=0 +pkgrel=1 pkgdesc="Domain-driven e-commerce for Django" -url=http://oscarcommerce.com/ -arch=noarch -license=BSD -depends="py-babel py-django py-django-extra-views py-django-haystack - py-django-phonenumber-field py-django-sorl-thumbnail py-django-tables2 - py-django-treebeard py-django-widget-tweaks py-factory-boy py-mock - py-pillow py-purl py-unidecode" -makedepends=py-setuptools +url="http://oscarcommerce.com/" +arch="noarch" +license="BSD-3-Clause" +depends="py3-babel py3-django py3-django-extra-views py3-django-haystack + py3-django-phonenumber-field py3-django-sorl-thumbnail py3-django-tables2 + py3-django-treebeard py3-django-widget-tweaks py3-factory-boy py3-mock + py3-pillow py3-purl py3-unidecode" +makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/d/django-oscar/django-oscar-$pkgver.tar.gz " -builddir=$srcdir/django-oscar-$pkgver +builddir="$srcdir/django-oscar-$pkgver" + +replaces="py-django-oscar" # Backwards compatibility +provides="py-django-oscar=$pkgver-r$pkgrel" # Backwards compatibility build() { - cd "$builddir" - ./setup.py build + python3 setup.py build } package() { - cd "$builddir" - ./setup.py install --root "$pkgdir" + python3 setup.py install --root "$pkgdir" } sha512sums="3ac542a94399bd1106c450788bd9ff19f2ba9e238c19e75508e192554a888b5883a9e43fb1e35d5f1b22dd1d83834bcdf462c6cf9649cbc87b470f91d99819dd django-oscar-1.6.7.tar.gz" |