mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
41 lines
1.3 KiB
Text
41 lines
1.3 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py-bottle-sqlalchemy
|
|
_pkgname=bottle-sqlalchemy
|
|
pkgver=0.4.2
|
|
pkgrel=0
|
|
pkgdesc="Bottle SQLAlchemy integration plugin"
|
|
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=""
|
|
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="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"
|