diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-10-18 10:38:15 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-10-18 10:38:15 -0300 |
commit | 59d570b2f4d752b3cd4dfcdf2ce8c75993d9c2eb (patch) | |
tree | 452fb18314fb6d4393552d1ef1190a3168353f44 /extra/python-pysqlite/PKGBUILD | |
parent | bb3524a1ba0370174d0c586ae94cd503b562a207 (diff) | |
parent | 9e3985ed7c9851da65023a0ab3d0739cce1858e2 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-staging/gambas2/PKGBUILD
community-staging/gambas3/PKGBUILD
community-staging/libextractor/PKGBUILD
community-staging/pdf2djvu/PKGBUILD
community/dante/PKGBUILD
community/gnunet/PKGBUILD
community/luafilesystem/PKGBUILD
community/luajit/PKGBUILD
community/python-mpi4py/PKGBUILD
community/python-psutil/PKGBUILD
extra/gnome-python-desktop/PKGBUILD
extra/pycrypto/PKGBUILD
extra/pygobject/PKGBUILD
extra/pygobject2/PKGBUILD
extra/pyopenssl/PKGBUILD
extra/python/PKGBUILD
extra/vde2/PKGBUILD
gnome-unstable/clutter-gtk/PKGBUILD
gnome-unstable/clutter/PKGBUILD
gnome-unstable/eog/PKGBUILD
gnome-unstable/evolution-data-server/PKGBUILD
gnome-unstable/gcr/PKGBUILD
gnome-unstable/gnome-desktop/PKGBUILD
gnome-unstable/gnome-keyring/PKGBUILD
gnome-unstable/gnome-themes-standard/PKGBUILD
gnome-unstable/gobject-introspection/PKGBUILD
staging/kdebase-workspace/PKGBUILD
testing/iputils/PKGBUILD
testing/php/PKGBUILD
testing/php/php-fpm.conf.in.patch
testing/php/php-fpm.service
testing/php/rc.d.php-fpm
Diffstat (limited to 'extra/python-pysqlite/PKGBUILD')
-rw-r--r-- | extra/python-pysqlite/PKGBUILD | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/extra/python-pysqlite/PKGBUILD b/extra/python-pysqlite/PKGBUILD index 3c01803a8..c7f2acb08 100644 --- a/extra/python-pysqlite/PKGBUILD +++ b/extra/python-pysqlite/PKGBUILD @@ -1,34 +1,38 @@ -# $Id: PKGBUILD 155872 2012-04-08 07:25:46Z remy $ +# $Id: PKGBUILD 169030 2012-10-17 10:21:00Z allan $ # Maintainer: Angel Velasquez <angvp@archlinux.org> # Contributor: Aaron Griffin <aaron@archlinux.org> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> -pkgname=python-pysqlite + +pkgbase=python-pysqlite +pkgname=python2-pysqlite pkgver=2.6.3 -pkgrel=2 +pkgrel=3 pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine" license=('custom') arch=('i686' 'x86_64' 'mips64el') url="http://code.google.com/p/pysqlite/" depends=('python2' 'sqlite') -replaces=('pysqlite2') +conflicts=('python-pysqlite<=2.6.3-2') +replaces=('python-pysqlite<=2.6.3-2') source=(http://pysqlite.googlecode.com/files/pysqlite-${pkgver}.tar.gz \ setup.cfg) md5sums=('711afa1062a1d2c4a67acdf02a33d86e' '86dd356c65afd14a22f2f8f64a26441e') check() { - cd ${pkgdir}/usr/lib/python2.7/site-packages + cd "${srcdir}"/pysqlite-${pkgver}/build/lib.*/ python2 -c "from pysqlite2 import test; test.test()" } build() { - cd ${srcdir}/pysqlite-${pkgver} - cp ${srcdir}/setup.cfg . - python2 setup.py install --root=${pkgdir} + cd "${srcdir}/pysqlite-${pkgver}" + cp "${srcdir}/setup.cfg" . + python2 setup.py build } -package() { - cd ${srcdir}/pysqlite-${pkgver} - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -r ${pkgdir}/usr/pysqlite2-doc +package_python2-pysqlite() { + cd "${srcdir}/pysqlite-${pkgver}" + python2 setup.py install --root="${pkgdir}" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm -r "${pkgdir}/usr/pysqlite2-doc" } |