summaryrefslogtreecommitdiff
path: root/pcr/python2-sql/PKGBUILD
blob: 9624a3e61a32ac8eb51eaa60b8cfb9936bb3e162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=python2-sql
pkgver=0.7
pkgrel=1
pkgdesc="Library to write SQL queries"
arch=('any')
url="http://hg.tryton.org/python-sql"
license=('GPL3')
depends=('python2')
makedepends=('python2-distribute')
md5sums=('d00674dbcf4e971cc3a64f2373f7255f')
source=("https://pypi.python.org/packages/source/p/python-sql/python-sql-$pkgver.tar.gz")

build() {
    cd $srcdir/python-sql-$pkgver
    python2 setup.py build
}

package() {
    cd $srcdir/python-sql-$pkgver
    python2 setup.py install --root=$pkgdir
}