[arch-commits] Commit in python-wsgi-intercept/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon May 16 16:24:57 UTC 2022
Date: Monday, May 16, 2022 @ 16:24:57
Author: dvzrv
Revision: 1207561
archrelease: copy trunk to community-any
Added:
python-wsgi-intercept/repos/community-any/PKGBUILD
(from rev 1207560, python-wsgi-intercept/trunk/PKGBUILD)
Deleted:
python-wsgi-intercept/repos/community-any/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-16 16:24:49 UTC (rev 1207560)
+++ PKGBUILD 2022-05-16 16:24:57 UTC (rev 1207561)
@@ -1,39 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
-# Contributor: Neil Santos <nsantos16+aur at gmail.com>
-
-_name=wsgi_intercept
-pkgname=python-wsgi-intercept
-pkgver=1.9.3
-pkgrel=1
-pkgdesc="Intercept socket connection to wsgi applications for testing"
-arch=(any)
-url="https://github.com/cdent/wsgi-intercept"
-license=(MIT)
-depends=(python-six)
-makedepends=(python-setuptools python-sphinx)
-checkdepends=(python-httplib2 python-pytest python-requests
-python-urllib3)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('b23cbbe20299dad413db0130bf9b055b58ad0a8349d18d9a3eb22cec4db6c9c570785c2ba29245ac52fa1c340a80cb7eb18c04b7bd75dd57961ae8c5142eabdc')
-b2sums=('65b7b39543dc486d8ea394b093a3892bdbd7b8e8314a3b839af13ca7abc79f0397092b0d908a873821b1d42d713f5fdd64d2cd815498c7e4f77300725b8ab30c')
-
-build() {
- cd "${_name}-${pkgver}"
- python setup.py build
- cd docs
- make man
-}
-
-check() {
- cd "${_name}-${pkgver}"
- pytest -v
-}
-
-package_python-wsgi-intercept() {
- cd "${_name}-${pkgver}"
- python setup.py install --optimize=1 --root="${pkgdir}"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
- install -vDm 644 README -t "${pkgdir}/usr/share/${pkgname}/"
- install -vDm 644 docs/_build/man/${_name}.1 -t "${pkgdir}/usr/share/man/man1/"
-}
Copied: python-wsgi-intercept/repos/community-any/PKGBUILD (from rev 1207560, python-wsgi-intercept/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-16 16:24:57 UTC (rev 1207561)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+# Contributor: Neil Santos <nsantos16+aur at gmail.com>
+
+_name=wsgi_intercept
+pkgname=python-wsgi-intercept
+pkgver=1.10.0
+pkgrel=1
+pkgdesc="Intercept socket connection to wsgi applications for testing"
+arch=(any)
+url="https://github.com/cdent/wsgi-intercept"
+license=(MIT)
+depends=(python-six)
+makedepends=(python-build python-installer python-setuptools python-sphinx python-wheel)
+checkdepends=(python-httplib2 python-pytest python-requests python-urllib3)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('27848e52e77f1d7ca7a079eb24025bb38d31f4c6b0b82c2717c543a5ffa83a95fe0dd893c326135b29c465a89ffe149da6d5d9c8bfe9f181546862e4f42a3832')
+b2sums=('43c2e9dcd98616132801721392b0150b49fe5e851f343f53d8eb42c2f7f8b84f5eb9bb41edec7b830908f122a80458752e1c97f6a68006088221bb3233e90951')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+ cd docs
+ make man
+}
+
+check() {
+ cd $_name-$pkgver
+ pytest -vv
+}
+
+package_python-wsgi-intercept() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+ install -vDm 644 README -t "$pkgdir/usr/share/$pkgname/"
+ install -vDm 644 docs/_build/man/${_name}.1 -t "$pkgdir/usr/share/man/man1/"
+}
More information about the arch-commits
mailing list