diff --git a/testing/py3-paste/APKBUILD b/testing/py3-paste/APKBUILD new file mode 100644 index 0000000000000000000000000000000000000000..faa61f1d5a863b625a5c4ea891e1dd3f6d0b1a49 --- /dev/null +++ b/testing/py3-paste/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Duncan Bellamy +# Maintainer: Duncan Bellamy +pkgname=py3-paste +pkgver=3.5.0 +pkgrel=0 +pkgdesc="Tools for using a Web Server Gateway Interface stack" +url="https://pythonpaste.readthedocs.io/en/latest/" +arch="noarch" +license="MIT" +depends="py3-setuptools py3-six" +checkdepends="py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/P/Paste/Paste-$pkgver.tar.gz" +builddir="$srcdir/Paste-$pkgver" + +build() { + python3 setup.py build +} + +check() { + pytest +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums=" +a9f596d6fcd95f915990c16830caeb9c9a03412447597258c67a003fd485e2efd27798f2eb2de9978ac529292af4b55136de554bfb501e90f6185f55a6b0531b py3-paste-3.5.0.tar.gz +"