From c8f3a17cff23a9e62de96266b92a36a67ff0a1f3 Mon Sep 17 00:00:00 2001 From: Leo Date: Thu, 30 May 2019 18:16:36 -0300 Subject: testing/py3-bottle-sqlalchemy: upgrade to 0.4.3 --- testing/py3-bottle-sqlalchemy/APKBUILD | 36 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 24 deletions(-) (limited to 'testing/py3-bottle-sqlalchemy') diff --git a/testing/py3-bottle-sqlalchemy/APKBUILD b/testing/py3-bottle-sqlalchemy/APKBUILD index 34dbbf41f7..445d0a7670 100644 --- a/testing/py3-bottle-sqlalchemy/APKBUILD +++ b/testing/py3-bottle-sqlalchemy/APKBUILD @@ -1,41 +1,29 @@ # Contributor: Fabian Affolter # Maintainer: Fabian Affolter -pkgname=py-bottle-sqlalchemy +pkgname=py3-bottle-sqlalchemy _pkgname=bottle-sqlalchemy -pkgver=0.4.2 +pkgver=0.4.3 pkgrel=0 pkgdesc="Bottle SQLAlchemy integration plugin" +options="!check" # No testsuite in tarballs or usable github tarballs url="http://www.github.com/iurisilvio/bottle-sqlalchemy" arch="noarch" license="MIT" -depends="python2 py-bottle py-sqlalchemy" -depends_dev="" -makedepends="python2-dev py-setuptools" -install="" -subpackages="" +depends="python3 py3-bottle py3-sqlalchemy" +makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -_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-bottle-sqlalchemy" # Backwards compat +provides="py-bottle-sqlalchemy=$pkgver-r$pkgrel" # Backwards compat + +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="22b16941cf5e9067aa65c2d981ceb935 bottle-sqlalchemy-0.4.2.tar.gz" -sha256sums="db2a6e1a7c080d4f45227719436e39619adb1a252c2a7f0e67fd2f4cb4c53bda bottle-sqlalchemy-0.4.2.tar.gz" -sha512sums="646e4d61693db30d4dae598febc22d80e87471468215d7b0e8a7cf20aa6b7ea980120c6e2a1d234e32908f7221efe451bb64dc28656b2ff5d4af7e0ac7fba56f bottle-sqlalchemy-0.4.2.tar.gz" +sha512sums="3b7eeafa1d8dcd5864b2a132ccf68eb0dfa738c090101615d0cef68f5b0f1efc2cecd66d34be59ac46aaa14c939e2bf7eeb0b6a8932921fa2bd11dc2dcf3a3aa bottle-sqlalchemy-0.4.3.tar.gz" -- cgit v1.2.3