blob: 34dbbf41f7b7e679f58982afdce80a525bff61ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# 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"
|