aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-bottle-sqlalchemy
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-30 18:16:36 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-14 08:00:24 -0300
commitc8f3a17cff23a9e62de96266b92a36a67ff0a1f3 (patch)
tree5a79c4d35cce13b22c67a2adc271eaa9d3754be1 /testing/py3-bottle-sqlalchemy
parent1a35e57a9a417f9cbf090f9ed6a569d2aea76b79 (diff)
downloadaports-c8f3a17cff23a9e62de96266b92a36a67ff0a1f3.tar.bz2
aports-c8f3a17cff23a9e62de96266b92a36a67ff0a1f3.tar.xz
testing/py3-bottle-sqlalchemy: upgrade to 0.4.3
Diffstat (limited to 'testing/py3-bottle-sqlalchemy')
-rw-r--r--testing/py3-bottle-sqlalchemy/APKBUILD36
1 files changed, 12 insertions, 24 deletions
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 <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
-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"