aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pysqlite/APKBUILD
blob: 2e64784e172c839450d138fe8dbd98693e9ba31c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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="https://files.pythonhosted.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"