diff options
Diffstat (limited to 'testing/python-pysqlite/PKGBUILD')
-rw-r--r-- | testing/python-pysqlite/PKGBUILD | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/testing/python-pysqlite/PKGBUILD b/testing/python-pysqlite/PKGBUILD deleted file mode 100644 index 5e889eab9..000000000 --- a/testing/python-pysqlite/PKGBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# $Id: PKGBUILD 168875 2012-10-16 11:55:25Z allan $ -# Maintainer: Angel Velasquez <angvp@archlinux.org> -# Contributor: Aaron Griffin <aaron@archlinux.org> -# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> - -pkgbase=python-pysqlite -pkgname=python2-pysqlite -pkgver=2.6.3 -pkgrel=3 -pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine" -license=('custom') -arch=('i686' 'x86_64') -url="http://code.google.com/p/pysqlite/" -depends=('python2' 'sqlite') -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 "${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 build -} - -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" -} |