Date: Thursday, April 6, 2023 @ 03:27:13
Author: felixonmars
Revision: 1438237
archrelease: copy trunk to community-staging-any
Added:
python-pytest-aiohttp/repos/community-staging-any/
python-pytest-aiohttp/repos/community-staging-any/PKGBUILD
(from rev 1438234, python-pytest-aiohttp/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-pytest-aiohttp/repos/community-staging-any/PKGBUILD (from rev
1438234, python-pytest-aiohttp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 03:27:13 UTC (rev 1438237)
@@ -0,0 +1,29 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pkgname=pytest-aiohttp
+pkgname=python-pytest-aiohttp
+pkgver=1.0.4
+pkgrel=2
+pkgdesc='pytest plugin for aiohttp support'
+url='https://github.com/aio-libs/pytest-aiohttp'
+arch=('any')
+license=('Apache')
+depends=('python' 'python-pytest' 'python-aiohttp' 'python-py')
+makedepends=('python-setuptools-scm')
+#source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aio-libs/pytest-aiohttp/archive/v${pkgver}.tar.gz)
+source=(https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz)
+sha256sums=('39ff3a0d15484c01d1436cbedad575c6eafbf0f57cdf76fb94994c97b5b8c5a4')
+sha512sums=('baf87e3aa229e8a4ab6746d277a923436ad2e0625825581c94a2fb0a9bbcd309bfc55186f8866589b65a75ccfd7d5b494d71554359724c0b2c9541ea94a177d8')
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py install --root="${pkgdir}" -O1 --skip-build
+ install -Dm 644 README.rst CHANGES.rst -t
"${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et: