blob: 280477eed19f05fd7b85c17de99dd4a22448f993 (
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
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=pgsanity
pkgver=0.2.9
pkgrel=4
pkgdesc="Check the syntax of Postgresql SQL files"
url="https://github.com/markdrago/pgsanity"
arch="noarch"
license="MIT"
depends="python3 cmd:ecpg"
makedepends="py3-setuptools"
source="https://github.com/markdrago/pgsanity/archive/v$pkgver/pgsanity-$pkgver.tar.gz"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="909a12684f386f023e1e1b2ecbd988eba023597509483b467c411690d42fa2da912e8b7634d9ef600ca9a2770f77f02b07bbadb378f50c6c31cc0b8003c9b83b pgsanity-0.2.9.tar.gz"
|