aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flask-bcrypt
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-08 14:44:52 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-08 15:09:00 -0300
commit815e508903c5d467718947c41915ce636da0bac9 (patch)
tree67cb4621747f8498e5a4a1933ee356c7aca2c8e8 /testing/py3-flask-bcrypt
parent96deaa5b907c1821ba9c190e8914b620430d0245 (diff)
downloadaports-815e508903c5d467718947c41915ce636da0bac9.tar.bz2
aports-815e508903c5d467718947c41915ce636da0bac9.tar.xz
testing/py3-flask-bcrypt: upgrade to 0.7.1
Diffstat (limited to 'testing/py3-flask-bcrypt')
-rw-r--r--testing/py3-flask-bcrypt/APKBUILD36
1 files changed, 11 insertions, 25 deletions
diff --git a/testing/py3-flask-bcrypt/APKBUILD b/testing/py3-flask-bcrypt/APKBUILD
index caacff2c71..8818d96026 100644
--- a/testing/py3-flask-bcrypt/APKBUILD
+++ b/testing/py3-flask-bcrypt/APKBUILD
@@ -1,41 +1,27 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
-pkgname=py-flask-bcrypt
+pkgname=py3-flask-bcrypt
_pkgname=Flask-Bcrypt
-pkgver=0.5.2
+pkgver=0.7.1
pkgrel=0
pkgdesc="Flask Bcrypt hashing extension"
url="https://pypi.python.org/pypi/Flask-Bcrypt"
arch="noarch"
-license="BSD"
-depends="python2 py-flask"
-depends_dev=""
-makedepends="python2-dev py-setuptools"
-install=""
-subpackages=""
+license="BSD-3-Clause"
+depends="python3 py3-flask py3-bcrypt"
+makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$_pkgname-$pkgver
-_builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+replaces="py-flask-bcrypt" # Backwards compatibility
+provides="py-flask-bcrypt=$pkgver-r$pkgrel" # Backwards compatibility
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="0ab56e917cb0cd8e073018038ac9945c Flask-Bcrypt-0.5.2.tar.gz"
-sha256sums="4c8e0d4c9ec10891740362e41242529fec685512591f844489ef45f7e3ff4242 Flask-Bcrypt-0.5.2.tar.gz"
-sha512sums="918d7aa6697e237d4e90a469c03a8ae195109a4a162bf2b9f88392846c129161b89190cda50fffa30d8f0d0dff112886a689243977487bc7810d56cf1b9633f3 Flask-Bcrypt-0.5.2.tar.gz"
+sha512sums="05184a6a29f0a45943c435bf025f3f9522a357e88fcf7949f72083f0696b4ca16cb2c8cdb54e7cb266068bb04b1b41b44456ae97641bda930e00d20f3a60e5f3 Flask-Bcrypt-0.7.1.tar.gz"