summaryrefslogtreecommitdiff
path: root/pcr/python2-sql/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-09-16 21:38:25 -0500
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-22 16:15:06 -0300
commit1dad85cf8f811ab0addedbc309f4f69919d8a021 (patch)
treea77b8057f61ca8a3a31bd5baeb469645253755f5 /pcr/python2-sql/PKGBUILD
parentfae60d712265f42c59c1aba074f0f453db81fc5c (diff)
downloadabslibre-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/PKGBUILD26
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
}