diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-08 14:02:14 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-08 14:02:14 -0300 |
commit | b10ee9205cd369603fe203edb678591abf2d0eac (patch) | |
tree | 0367ab843044f642632f8d692bccb8cb42f8fbbf /testing/py3-flask-admin | |
parent | f29d53134adc571d1f5a21c80be2367e74f52f1c (diff) | |
download | aports-b10ee9205cd369603fe203edb678591abf2d0eac.tar.bz2 aports-b10ee9205cd369603fe203edb678591abf2d0eac.tar.xz |
testing/py3-flask-admin: upgrade to 1.5.3
Diffstat (limited to 'testing/py3-flask-admin')
-rw-r--r-- | testing/py3-flask-admin/APKBUILD | 36 |
1 files changed, 11 insertions, 25 deletions
diff --git a/testing/py3-flask-admin/APKBUILD b/testing/py3-flask-admin/APKBUILD index 443e349d09..21fcd11e75 100644 --- a/testing/py3-flask-admin/APKBUILD +++ b/testing/py3-flask-admin/APKBUILD @@ -1,41 +1,27 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-flask-admin +pkgname=py3-flask-admin _pkgname=Flask-Admin -pkgver=1.0.6 +pkgver=1.5.3 pkgrel=0 pkgdesc="Flask admin interface" url="https://pypi.python.org/pypi/Flask-Admin" 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-wtforms" +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-admin" # Backwards compatibility +provides="py-flask-admin=$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="a03fa42bba999323c655d85e49107bb2 Flask-Admin-1.0.6.tar.gz" -sha256sums="c16d1bb1b6c2b6ac8db8486b9a5e1919d1a073252e3fb0c0c226406470113a54 Flask-Admin-1.0.6.tar.gz" -sha512sums="a30e2678a063d45d55ccf41cfec07fd16973cc8c770b1e7f16d11b9aba693049b1d9d4cff81d8ae8f2548d019f977f0906728e98d23d229d76bf135a079abc8f Flask-Admin-1.0.6.tar.gz" +sha512sums="8dcfd5cbc97d77d2d50e4a70eeb0f3f52fc526a5a52cebb5e31d61202d104f303aca69a965771f8b8ba38fc14eb01faa582dd14fd97dbb2566963b40a44ff81c Flask-Admin-1.5.3.tar.gz" |