diff options
Diffstat (limited to 'testing/py-pysqlite/APKBUILD')
-rw-r--r-- | testing/py-pysqlite/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py-pysqlite/APKBUILD b/testing/py-pysqlite/APKBUILD new file mode 100644 index 0000000000..0c737b5a23 --- /dev/null +++ b/testing/py-pysqlite/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: +# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> + +pkgname=py-pysqlite +_pkgname=pysqlite +pkgver=2.6.3 +pkgrel=0 +pkgdesc='Python DB-API 2.0 interface for the SQLite' +url='http://code.google.com/p/pysqlite/' +arch='all' +license='MIT' +makedepends="python-dev py-setuptools sqlite-dev" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="7ff1cedee74646b50117acff87aa1cfa pysqlite-2.6.3.tar.gz" +sha256sums="fe9c35216bf56c858b34c4b4c8be7e34566ddef29670e5a5b43f9cb8ecfbb28d pysqlite-2.6.3.tar.gz" +sha512sums="1b8ce3b5300c1d8568ef59d4967ccd06c5e80ea45c2ffdb9d6744712f12b0b2649ade646f926562bf59b660d6d56bfc478780f22577c96cb758f1de7259570a2 pysqlite-2.6.3.tar.gz" |