From a3ca96df07bddd8d6676332c8e6ea8f82b99b2af Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Sat, 4 Jan 2020 17:39:19 +0100 Subject: testing/py3-cattrs: new aport https://github.com/Tinche/cattrs Complex custom class converters for attrs --- testing/py3-cattrs/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/py3-cattrs/APKBUILD (limited to 'testing') diff --git a/testing/py3-cattrs/APKBUILD b/testing/py3-cattrs/APKBUILD new file mode 100644 index 0000000000..eb9b23b287 --- /dev/null +++ b/testing/py3-cattrs/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Rasmus Thomsen +# Maintainer: Rasmus Thomsen +pkgname=py3-cattrs +pkgver=1.0.0 +pkgrel=0 +pkgdesc="Complex custom class converters for attrs" +url="https://github.com/Tinche/cattrs" +arch="noarch" +license="MIT" +depends="python3 py3-attrs" +makedepends="py3-setuptools" +options="!check" # loads of missing deps +source="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-$pkgver.tar.gz" +builddir="$srcdir/cattrs-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="b803f4d44680be4c7fd55b5794e0d828e0c4dd7317dca213eb08299a446a2124ad5c4767e0fdbb3e19aadf9706151306d5692d3addc6ee233a8fef0d4cccc5ae cattrs-1.0.0.tar.gz" -- cgit v1.2.3