aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pgspecial/APKBUILD
blob: a3845a301c8d38e7b80ab722b9245f8530637cdf (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
30
31
32
33
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=py3-pgspecial
_pkgname=pgspecial
pkgver=1.11.5
pkgrel=0
pkgdesc="Meta-commands handler for Postgres Database"
url="https://pypi.python.org/pypi/pgspecial"
arch="noarch"
license="BSD-3-Clause"
replaces="py-pgspecial py2-pgspecial"
provides="py-pgspecial=$pkgver-r$pkgrel py2-pgspecial=$pkgver-r$pkgrel"
depends="py3-click py3-psycopg2 py3-sqlparse"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

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

sha512sums="7de6394dbb3ed15b39a636ffa65d1f338d14317da579fef2eb723fde99558c8e55e097414021147553c648a6765aec5a44ebddc3d1b44cf011597add23ef5596  pgspecial-1.11.5.tar.gz"