diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-09-16 21:38:25 -0500 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-22 16:15:06 -0300 |
commit | 1dad85cf8f811ab0addedbc309f4f69919d8a021 (patch) | |
tree | a77b8057f61ca8a3a31bd5baeb469645253755f5 /pcr/python2-sql/PKGBUILD | |
parent | fae60d712265f42c59c1aba074f0f453db81fc5c (diff) | |
download | abslibre-1dad85cf8f811ab0addedbc309f4f69919d8a021.tar.gz abslibre-1dad85cf8f811ab0addedbc309f4f69919d8a021.tar.bz2 abslibre-1dad85cf8f811ab0addedbc309f4f69919d8a021.zip |
python2-sql-0.7-1: updating version
Diffstat (limited to 'pcr/python2-sql/PKGBUILD')
-rw-r--r-- | pcr/python2-sql/PKGBUILD | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/pcr/python2-sql/PKGBUILD b/pcr/python2-sql/PKGBUILD index 4ad9ed510..9624a3e61 100644 --- a/pcr/python2-sql/PKGBUILD +++ b/pcr/python2-sql/PKGBUILD @@ -1,20 +1,22 @@ +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> pkgname=python2-sql -pkgver=r84.7f7e8fb84cdc +pkgver=0.7 pkgrel=1 -pkgdesc="Python 2 SQL library" +pkgdesc="Library to write SQL queries" arch=('any') -url="https://code.google.com/p/python-sql/" +url="http://hg.tryton.org/python-sql" license=('GPL3') depends=('python2') -optdepends=() -makedepends=('python2-setuptools' 'mercurial') -md5sums=('SKIP') -source=('hg+https://code.google.com/p/python-sql/') -pkgver() { - cd $srcdir/python-sql - printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)" +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 - python2 setup.py install --root="$pkgdir/" --optimize=1 + cd $srcdir/python-sql-$pkgver + python2 setup.py install --root=$pkgdir } |