diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-07-22 18:50:10 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-07-22 18:51:17 +0000 |
commit | aae3a455648871195c475073fedafdc4ba10e172 (patch) | |
tree | 65b7eba6d17822a169e37c766252c99c15bc00e7 /testing/py-bottle-sqlite | |
parent | 9f5bf5240e2663f7ea0724c5bbfdae0e012da9ee (diff) | |
download | aports-aae3a455648871195c475073fedafdc4ba10e172.tar.bz2 aports-aae3a455648871195c475073fedafdc4ba10e172.tar.xz |
testing/py-bottle-sqlite: upgrade to 0.1.3 and modernize
Diffstat (limited to 'testing/py-bottle-sqlite')
-rw-r--r-- | testing/py-bottle-sqlite/APKBUILD | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/testing/py-bottle-sqlite/APKBUILD b/testing/py-bottle-sqlite/APKBUILD index 57a9120976..971a7e18e5 100644 --- a/testing/py-bottle-sqlite/APKBUILD +++ b/testing/py-bottle-sqlite/APKBUILD @@ -2,40 +2,26 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-bottle-sqlite _pkgname=bottle-sqlite -pkgver=0.1.2 +pkgver=0.1.3 pkgrel=0 pkgdesc="Bottle sqlite plugin" url="https://pypi.python.org/pypi/bottle-sqlite" arch="noarch" license="MIT" depends="python2 py-bottle" -depends_dev="" makedepends="python2-dev py-setuptools" -install="" -subpackages="" 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 -} +builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$_builddir" - python2 setup.py build || return 1 + cd "$builddir" + python2 setup.py build } package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="802f6b9ea861e53e26e0bfa256925d45 bottle-sqlite-0.1.2.tar.gz" -sha256sums="3106d332270022dcec66102082906da47bcc62acd43a44c3deea9b398ef3eeab bottle-sqlite-0.1.2.tar.gz" -sha512sums="6314f80e76cfe6f592f244708501d6e922b2cf4c50ea04d21eccbad7fc903c0ae607e3f2b446fd3f1066eebc043be24c81ef9724008b10a513fde06f2864a3f0 bottle-sqlite-0.1.2.tar.gz" +sha512sums="670f44bdb8d6c62205b264abcc03c8bbbd7ae34c85dbaaa0ad2c6f6902ea590035190f86ba24366ca2b4befe5488592278d31074dfdc2c897d9ad1bfc7e0a9e9 bottle-sqlite-0.1.3.tar.gz" |