diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-10-24 08:04:48 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-18 15:35:53 +0100 |
commit | abdad45db9fd499de5115373a2a728c1dc0d67c7 (patch) | |
tree | 7729e8ac33861c8811898c61aadddf4652f1b870 /community/py3-django-simple-captcha | |
parent | 5f5e92f7dc05452d3eec1c06c5d538ef00aa6b35 (diff) | |
download | aports-abdad45db9fd499de5115373a2a728c1dc0d67c7.tar.bz2 aports-abdad45db9fd499de5115373a2a728c1dc0d67c7.tar.xz |
community/py3-django-simple-captcha: upgrade to 0.5.12
Diffstat (limited to 'community/py3-django-simple-captcha')
-rw-r--r-- | community/py3-django-simple-captcha/APKBUILD | 37 |
1 files changed, 11 insertions, 26 deletions
diff --git a/community/py3-django-simple-captcha/APKBUILD b/community/py3-django-simple-captcha/APKBUILD index 4076835c0a..8d362ac0b1 100644 --- a/community/py3-django-simple-captcha/APKBUILD +++ b/community/py3-django-simple-captcha/APKBUILD @@ -1,38 +1,23 @@ # Contributor: <xmingske@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> _pkgname=django-simple-captcha -pkgname=py-${_pkgname} -pkgver=0.4.3 -pkgrel=1 +pkgname=py3-$_pkgname +pkgver=0.5.12 +pkgrel=0 pkgdesc="simple, yet highly customizable Django application to add captcha images to any Django" url="https://github.com/mbi/django-simple-captcha" arch="noarch" -license="BSD" -makedepends="python2-dev py-setuptools" -depends="python2" -source="$_pkgname-$pkgver.tar.gz::https://github.com/mbi/django-simple-captcha/archive/$pkgver.tar.gz" - -_builddir="${srcdir}/${_pkgname}-$pkgver" - -prepare() { - local pf - cd "${_builddir}" - for pf in $source; do - case $pf in - *.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;; - esac - done -} +license="MIT" +depends="python3 py3-six py3-django py3-pillow" # Missing django-ranged-response +makedepends="py3-setuptools" +source="$_pkgname-$pkgver.tar.gz::https://github.com/mbi/django-simple-captcha/archive/v$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "${_builddir}" - python2 setup.py build || return 1 + python3 setup.py build } package() { - cd "${_builddir}" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python3 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="c86a3f76ccbfcfd0af52b1094c601320 django-simple-captcha-0.4.3.tar.gz" -sha256sums="9a12d2c35369e5cfbd6dbdfb1a64078300c44b95e4b2ad5e5cfce831d32b16d1 django-simple-captcha-0.4.3.tar.gz" -sha512sums="86fd368e85b127e6447d5b41bec362414f83bb08447a7357cf57c961542001e820ae6881ab4bd9ae20fffce84092aedd0b60f79c3adbe97f7c3bbe012c6208c2 django-simple-captcha-0.4.3.tar.gz" +sha512sums="c6c95b81ecede95bb0fcfb3a4c46abcb7aeb39a1a59bed4a5bedde9a46ac7696e46db99dc4ba73fa0201755d1bbb1be955035cb632c63fc3d597633c5514dd73 django-simple-captcha-0.5.12.tar.gz" |