mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/py-django-contact-form: migrate to Python 3
This commit is contained in:
parent
3c98074627
commit
40cc9204e7
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user