From bce399e78709fad1007bfeb63eb36a19198da3fa Mon Sep 17 00:00:00 2001 From: knuxify Date: Mon, 30 Oct 2023 17:47:08 +0100 Subject: [PATCH] testing/py3-patatt: new aport https://git.kernel.org/pub/scm/utils/patatt/patatt.git/about/ A simple library to add cryptographic attestation to patches sent via email --- testing/py3-patatt/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 testing/py3-patatt/APKBUILD diff --git a/testing/py3-patatt/APKBUILD b/testing/py3-patatt/APKBUILD new file mode 100644 index 00000000000..f14c3aad670 --- /dev/null +++ b/testing/py3-patatt/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: knuxify +# Maintainer: knuxify +pkgname=py3-patatt +pkgver=0.6.3 +pkgrel=0 +pkgdesc="A simple library to add cryptographic attestation to patches sent via email" +url="https://git.kernel.org/pub/scm/utils/patatt/patatt.git/about/" +arch="noarch" +license="MIT-0" +depends="py3-pynacl" +makedepends="py3-gpep517 py3-setuptools py3-wheel" +subpackages="$pkgname-pyc $pkgname-doc" +source="https://git.kernel.org/pub/scm/utils/patatt/patatt.git/snapshot/patatt-$pkgver.tar.gz" +builddir="$srcdir/patatt-$pkgver" +options="!check" # no test suite + +build() { + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 +} + +package() { + python3 -m installer -d "$pkgdir" .dist/*.whl +} + +sha512sums=" +bbbf38fcf62b3f811b141147df2a167d4cfcf7f3f0484a5380c80213edb00aad20f578ae27c560c1266cbce48878072176a0460f09b7bcc5142b9009d8e99e17 patatt-0.6.3.tar.gz +"