aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2019-11-06 14:56:49 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2019-11-06 14:57:34 +0200
commit40cc9204e7b00dfc8a8dabbe10ecc2fca93a5715 (patch)
treec264943151c62a71b348e07d4d786a6ff41daa17
parent3c980746271de8d0a075b37cd804ea987b588e0a (diff)
downloadaports-40cc9204e7b00dfc8a8dabbe10ecc2fca93a5715.tar.gz
aports-40cc9204e7b00dfc8a8dabbe10ecc2fca93a5715.tar.bz2
aports-40cc9204e7b00dfc8a8dabbe10ecc2fca93a5715.tar.xz
main/py-django-contact-form: migrate to Python 3
-rw-r--r--main/py3-django-contact-form/APKBUILD (renamed from main/py-django-contact-form/APKBUILD)11
1 files changed, 6 insertions, 5 deletions
diff --git a/main/py-django-contact-form/APKBUILD b/main/py3-django-contact-form/APKBUILD
index 9c61556eff..f0a6546076 100644
--- a/main/py-django-contact-form/APKBUILD
+++ b/main/py3-django-contact-form/APKBUILD
@@ -1,14 +1,15 @@
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
-pkgname=py-django-contact-form
+pkgname=py3-django-contact-form
pkgver=1.7
pkgrel=0
pkgdesc="Generic contact-form application for Django"
url=https://bitbucket.org/ubernostrum/django-contact-form/
arch=noarch
license=BSD
-depends=py-django
-makedepends=py-setuptools
+depends=py3-django
+makedepends=py3-setuptools
+replaces=py-django-contact-form
source="https://files.pythonhosted.org/packages/source/d/django-contact-form/django-contact-form-$pkgver.tar.gz"
_builddir=$srcdir/django-contact-form-$pkgver
@@ -24,12 +25,12 @@ prepare() {
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="cb0281833e1a20cee0fe68d41698eb40312d345e380ec5ed352d83ddaea9d0018a41a4ebb00a39b1756c667dffcff4beb2cd36686369f1f6bf03f71e64265e28 django-contact-form-1.7.tar.gz"