mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 14:52:14 +01:00
30 lines
1005 B
Plaintext
30 lines
1005 B
Plaintext
# Contributor: Mika Havela <mika.havela@gmail.com>
|
|
# Maintainer: Mika Havela <mika.havela@gmail.com>
|
|
pkgname=py-sqlite
|
|
_pkgname=pysqlite
|
|
pkgver=2.6.3
|
|
pkgrel=2
|
|
pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine"
|
|
url="http://code.google.com/p/pysqlite/"
|
|
arch="all"
|
|
license="MIT"
|
|
depends="sqlite"
|
|
makedepends="sqlite-dev python-dev py-setuptools"
|
|
install=""
|
|
source="http://pysqlite.googlecode.com/files/${_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="711afa1062a1d2c4a67acdf02a33d86e pysqlite-2.6.3.tar.gz"
|
|
sha256sums="0d538880717f6347bb83f9ce11e9b171caf9d76e1980a0e9c22f8b03aec3585b pysqlite-2.6.3.tar.gz"
|
|
sha512sums="fe7618b9b4b764a32be94dc8abd97445e33009c8489d2b417c9677382452a5c2d176feffe8b3167eb543f89d5ed3b9b717ceef63bfb2157b3f24a539cfb89a51 pysqlite-2.6.3.tar.gz"
|