diff options
author | Antoine Fontaine <antoine.fontaine@epfl.ch> | 2020-05-31 22:00:48 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-08-29 18:53:57 -0300 |
commit | 55324c7039141e0efe14803254bf1e4601c232c7 (patch) | |
tree | c2085f9c4a0b9f9e0a2c56f5191726482b8270ed | |
parent | b1630f8523f790cedb6c0e1e41c1e67ce658f8ae (diff) |
testing/py3-pytest-aiohttp: new aport
this doesn't solve
https://gitlab.alpinelinux.org/alpine/aports/-/issues/11597,
unfortunately.
-rw-r--r-- | testing/py3-pytest-aiohttp/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/py3-pytest-aiohttp/APKBUILD b/testing/py3-pytest-aiohttp/APKBUILD new file mode 100644 index 00000000000..7ccb31d3867 --- /dev/null +++ b/testing/py3-pytest-aiohttp/APKBUILD @@ -0,0 +1,24 @@ +# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch> +# Maintainer: Antoine Fontaine <antoine.fontaine@epfl.ch> +pkgname=py3-pytest-aiohttp +pkgver=0.3.0 +pkgrel=0 +pkgdesc="pytest plugin for aiohttp support" +options="!check" # no testsuite +url="https://github.com/aio-libs/pytest-aiohttp/" +arch="noarch" +license="Apache-2.0" +depends="python3" +makedepends="py3-setuptools" +source="https://files.pythonhosted.org/packages/source/p/pytest-aiohttp/pytest-aiohttp-$pkgver.tar.gz" +builddir="$srcdir/pytest-aiohttp-$pkgver" + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="4164166465dc40ff78a86304d1bcd4db9fb3f7dad3188f8ebe2ff151ed51eb0bf9c1b7a608d94cfe3339ee3b6efd4d5abbaa0691388460d5ac95635afa14984c pytest-aiohttp-0.3.0.tar.gz" |