mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
41 lines
1.2 KiB
Text
41 lines
1.2 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py-bottle-sqlite
|
|
_pkgname=bottle-sqlite
|
|
pkgver=0.1.2
|
|
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
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
python2 setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
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"
|