mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
33 lines
939 B
Text
33 lines
939 B
Text
# Contributor: Thomas Boerger <thomas@webhippie.de>
|
|
# Maintainer: omni <omni+alpine@hack.org>
|
|
pkgname=py3-pgspecial
|
|
_pkgname=pgspecial
|
|
pkgver=2.0.1
|
|
pkgrel=2
|
|
pkgdesc="Meta-commands handler for Postgres Database"
|
|
url="https://pypi.org/project/pgspecial"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="py3-click py3-psycopg py3-sqlparse"
|
|
makedepends="py3-setuptools"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces="py-pgspecial" # Backwards compatibility
|
|
provides="py-pgspecial=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py check
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
c0a0ed08c8bd101dc05483657233d373d3351cfc5cf14f9f5bb920fd467b17db23cfc4253de8517bb76e8ae574bf36957fbe804aadcb1deca40ef7e29e5a012a pgspecial-2.0.1.tar.gz
|
|
"
|