aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pgspecial/APKBUILD
blob: 0517537648862d9a10f5fb0ee8686f9b7b4b25c4 (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
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=py-pgspecial
_pkgname=pgspecial
pkgver=1.5.0
pkgrel=0
pkgdesc="Meta-commands handler for Postgres Database"
url="https://pypi.python.org/pypi/pgspecial"
arch="noarch"
license="BSD"
depends="python2 py-click py-sqlparse"
makedepends="python2-dev py-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="64e31255df5aa4d30026764667e0b7a1  py-pgspecial-1.5.0.tar.gz"
sha256sums="cd4c4a0655be80f15eadc116a576f16c7147338e27f3f2fe8cc3fa6519a77891  py-pgspecial-1.5.0.tar.gz"
sha512sums="1131449395ec36bb796ca4add0147621009ff6f59b458509a0f0158fdeb3a34e6358b35427be6f98b2fc54e1742c6e2ffad1026b2e1aa951370ad1732be30927  py-pgspecial-1.5.0.tar.gz"