blob: 5439126bd5d9c6f2ed3c21f7a05557327878de23 (
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
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=python-sqlalchemy-git
pkgver=1.1.1.7.g055b207
pkgrel=1
pkgdesc="Python SQL toolkit and Object Relational Mapper"
arch=('i686' 'x86_64')
url="http://www.sqlalchemy.org"
license=('custom:MIT')
depends=('python')
makedepends=('git' 'python-setuptools')
provides=("python-sqlalchemy=$pkgver")
conflicts=('python-sqlalchemy')
source=("git+https://bitbucket.org/zzzeek/sqlalchemy.git")
md5sums=('SKIP')
_gitname="sqlalchemy"
pkgver() {
cd $srcdir/$_gitname
git describe --tags | sed 's|[_-]|.|g'| cut -c5-
}
build() {
cd "$srcdir/$_gitname"
python setup.py build
}
package() {
cd "$srcdir/$_gitname"
python setup.py install --root="$pkgdir"
install -D -m644 LICENSE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|