diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-08 15:08:21 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-08 15:09:40 -0300 |
commit | 1d21856150f51e0c369fc5fb9a6228162674e7f2 (patch) | |
tree | 6dbf3e8af0b82536dfadf17cf47178d241dba8db /testing/py3-flask-flatpages/APKBUILD | |
parent | 8c44ec02d8d6830fcbaa61972e57af0abfb3dfda (diff) | |
download | aports-1d21856150f51e0c369fc5fb9a6228162674e7f2.tar.bz2 aports-1d21856150f51e0c369fc5fb9a6228162674e7f2.tar.xz |
testing/py3-flask-flatpages: upgrade to 0.7.1
Diffstat (limited to 'testing/py3-flask-flatpages/APKBUILD')
-rw-r--r-- | testing/py3-flask-flatpages/APKBUILD | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/testing/py3-flask-flatpages/APKBUILD b/testing/py3-flask-flatpages/APKBUILD index ad3669e115..d40c313c2f 100644 --- a/testing/py3-flask-flatpages/APKBUILD +++ b/testing/py3-flask-flatpages/APKBUILD @@ -1,41 +1,28 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-flask-flatpages +pkgname=py3-flask-flatpages _pkgname=Flask-FlatPages -pkgver=0.5 +pkgver=0.7.1 pkgrel=0 pkgdesc="Flask static pages extension" url="https://pypi.python.org/pypi/Flask-FlatPages" 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-jinja2 py3-markdown py3-yaml" +makedepends="py3-setuptools" +checkdepends="py3-pygments" 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-flatpages" # Backwards compatibility +provides="py-flask-flatpages=$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="600a3c8afa1c54185626c5a145455847 Flask-FlatPages-0.5.tar.gz" -sha256sums="6c6c78bf4b0a6396606b8af63af23ea91ac93ee935108c885b4cfdc420eb999b Flask-FlatPages-0.5.tar.gz" -sha512sums="234368b38a6645858055bcf5c32c052916bcc69735e1a4c4fb9cadf15b247d5f610a18931be5e98cbbfc452f6e1b24c3e1e1656fe5c8f2f6778f6154ab0f7cc0 Flask-FlatPages-0.5.tar.gz" +sha512sums="8205de10a5048c53865b7dab0da0e3e4dae7f37da469cd8ac4f0fa7510ec78a6617a1cefa1b196bcb1fc919df6a178f20814c84e9660b8f76fb42e3fd624a363 Flask-FlatPages-0.7.1.tar.gz" |