[arch-commits] Commit in python-webtest-aiohttp (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Sat Jun 18 20:16:17 UTC 2022


    Date: Saturday, June 18, 2022 @ 20:16:16
  Author: arojas
Revision: 1238560

archrelease: copy trunk to community-any

Added:
  python-webtest-aiohttp/repos/
  python-webtest-aiohttp/repos/community-any/
  python-webtest-aiohttp/repos/community-any/PKGBUILD
    (from rev 1238559, python-webtest-aiohttp/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: python-webtest-aiohttp/repos/community-any/PKGBUILD (from rev 1238559, python-webtest-aiohttp/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2022-06-18 20:16:16 UTC (rev 1238560)
@@ -0,0 +1,27 @@
+# Maintainer:
+
+pkgname=python-webtest-aiohttp
+pkgver=2.0.0
+pkgrel=1
+pkgdesc='Provides integration of WebTest with aiohttp.web applications'
+arch=(any)
+url='https://github.com/sloria/webtest-aiohttp'
+license=(MIT)
+depends=(python)
+makedepends=(python-pip python-build python-installer python-wheel)
+checkdepends=(python-pytest)
+_name=${pkgname/python-/}
+source=(https://pypi.python.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('58e2a2f13078c3f1f23ccebef03de4d6d118d096cd6e9d0d190e359d9ffb11f8')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list