Skip to content
Snippets Groups Projects
Commit 6e3c4cd1 authored by Leo's avatar Leo
Browse files

community/py3-django-oscar: drop py2

parent 7ae5f96b
No related branches found
No related tags found
No related merge requests found
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> # Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: 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 pkgver=1.6.7
pkgrel=0 pkgrel=1
pkgdesc="Domain-driven e-commerce for Django" pkgdesc="Domain-driven e-commerce for Django"
url=http://oscarcommerce.com/ url="http://oscarcommerce.com/"
arch=noarch arch="noarch"
license=BSD license="BSD-3-Clause"
depends="py-babel py-django py-django-extra-views py-django-haystack depends="py3-babel py3-django py3-django-extra-views py3-django-haystack
py-django-phonenumber-field py-django-sorl-thumbnail py-django-tables2 py3-django-phonenumber-field py3-django-sorl-thumbnail py3-django-tables2
py-django-treebeard py-django-widget-tweaks py-factory-boy py-mock py3-django-treebeard py3-django-widget-tweaks py3-factory-boy py3-mock
py-pillow py-purl py-unidecode" py3-pillow py3-purl py3-unidecode"
makedepends=py-setuptools makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/d/django-oscar/django-oscar-$pkgver.tar.gz 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() { build() {
cd "$builddir" python3 setup.py build
./setup.py build
} }
package() { package() {
cd "$builddir" python3 setup.py install --root "$pkgdir"
./setup.py install --root "$pkgdir"
} }
sha512sums="3ac542a94399bd1106c450788bd9ff19f2ba9e238c19e75508e192554a888b5883a9e43fb1e35d5f1b22dd1d83834bcdf462c6cf9649cbc87b470f91d99819dd django-oscar-1.6.7.tar.gz" sha512sums="3ac542a94399bd1106c450788bd9ff19f2ba9e238c19e75508e192554a888b5883a9e43fb1e35d5f1b22dd1d83834bcdf462c6cf9649cbc87b470f91d99819dd django-oscar-1.6.7.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment