From 7d8f2a24deb5a98042d888213e549245f782896a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pola=C5=84ski?= Date: Tue, 10 Mar 2020 23:29:30 +0100 Subject: testing/py3-pykwalify: new aport --- testing/py3-pykwalify/APKBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 testing/py3-pykwalify/APKBUILD (limited to 'testing') diff --git a/testing/py3-pykwalify/APKBUILD b/testing/py3-pykwalify/APKBUILD new file mode 100644 index 0000000000..5296ba6739 --- /dev/null +++ b/testing/py3-pykwalify/APKBUILD @@ -0,0 +1,24 @@ +# Contributor: Michał Polański +# Maintainer: Michał Polański +pkgname=py3-pykwalify +_pkgname=pykwalify +pkgver=1.7.0 +pkgrel=0 +pkgdesc="Python YAML/JSON schema validation library" +url="https://github.com/Grokzen/pykwalify" +arch="noarch" +license="MIT" +depends="python3 py3-setuptools py3-docopt py3-ruamel.yaml py3-dateutil" +options="!check" # requires testfixtures (needs packaging) +source="$_pkgname-$pkgver.tar.gz::https://github.com/Grokzen/pykwalify/archive/$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build +} + +sha512sums="484922ba921462aaf0607811e0f36c9cae6f67682d8d0c408066381d21a247fb156c17b8440da207d58e127a4a8adb85b18e63fe3b4142368bfd21fa644a7bc7 pykwalify-1.7.0.tar.gz" -- cgit v1.2.3