blob: 051e146d4226bce8bae80df2c0cf06c419af2dbe (
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.0.6.11.geed8bce
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')
provides=("sqlalchemy=$pkgver")
conflicts=('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"
}
|