diff options
author | Michał Polański <michal@polanski.me> | 2020-03-10 23:29:30 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-10 20:29:13 -0300 |
commit | 7d8f2a24deb5a98042d888213e549245f782896a (patch) | |
tree | b4f4fe3184ae815f32912a5e497d9365cc683903 /testing | |
parent | 8d5c5213c9457bd581cd35a2b1c546c9a65535db (diff) | |
download | aports-7d8f2a24deb5a98042d888213e549245f782896a.tar.bz2 aports-7d8f2a24deb5a98042d888213e549245f782896a.tar.xz |
testing/py3-pykwalify: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py3-pykwalify/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
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 <michal@polanski.me> +# Maintainer: Michał Polański <michal@polanski.me> +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" |