PKGBUILDs/aur/python2-sqlalchemy-0.7.9/PKGBUILD

38 lines
1 KiB
Bash
Raw Normal View History

2013-04-04 15:49:54 +00:00
# $Id: PKGBUILD 87107 2013-03-27 11:07:21Z jelle $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Contributor: Sébastien Luttringer <seblu@aur.archlinux.org>
pkgname=python2-sqlalchemy-0.7.9
pkgver=0.7.9
pkgrel=3
arch=('i686' 'x86_64') # python2 package contain .so
url="http://www.sqlalchemy.org/"
license=('custom: MIT')
makedepends=('python' 'python2' 'python-distribute' 'python2-distribute' 'python-nose' 'python2-nose')
source=("http://downloads.sourceforge.net/sourceforge/sqlalchemy/SQLAlchemy-$pkgver.tar.gz")
md5sums=('c4852d586d95a59fbc9358f4467875d5')
pkgdesc='Python 2 SQL toolkit and Object Relational Mapper'
depends=('python2')
provides=('python2-sqlalchemy')
conflicts=('python2-sqlalchemy')
build() {
cd ${srcdir}/SQLAlchemy-$pkgver
python2 setup.py build
}
check() {
cd SQLAlchemy-${pkgver}
python2 setup.py check
}
package() {
cd SQLAlchemy-$pkgver
python2 setup.py install --root="$pkgdir"
install -D -m644 LICENSE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 ft=sh et: