[arch-commits] Commit in python-proxy.py/repos/community-any (PKGBUILD PKGBUILD)

Jonas Witschel diabonas at gemini.archlinux.org
Mon May 23 08:10:53 UTC 2022


    Date: Monday, May 23, 2022 @ 08:10:52
  Author: diabonas
Revision: 1210096

archrelease: copy trunk to community-any

Added:
  python-proxy.py/repos/community-any/PKGBUILD
    (from rev 1210095, python-proxy.py/trunk/PKGBUILD)
Deleted:
  python-proxy.py/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-23 08:10:41 UTC (rev 1210095)
+++ PKGBUILD	2022-05-23 08:10:52 UTC (rev 1210096)
@@ -1,44 +0,0 @@
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-pkgname=python-proxy.py
-_name=${pkgname#python-}
-pkgver=2.4.1
-pkgrel=1
-pkgdesc='Lightweight HTTP, HTTPS, HTTP2 and WebSockets proxy server'
-arch=('any')
-url='https://github.com/abhinavsingh/proxy.py'
-license=('BSD')
-depends=('python')
-makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
-             'python-setuptools-scm-git-archive' 'python-wheel')
-checkdepends=('python-httpx' 'python-pytest' 'python-pytest-asyncio' 'python-pytest-cov' 'python-pytest-mock')
-optdepends=('python-httpx: Cloudflare DNS resolver plugin support'
-            'python-paramiko: proxy over SSH tunnel support')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz"
-        "python-proxy.py-2.4.0_fix-asyncio-deprecationwarning.patch::$url/commit/e0cc90d057b44ef506b88362d71f2c707db11db9.patch")
-sha256sums=('5c8c3dad65c7633aa72269dbd553ab1df1fd16aa311055de4885fc0948d37240'
-            'd7ffe35494b1943b41b4c8285043626c46323a706d99ceaf1ca268c6b91db5eb')
-
-prepare() {
-	cd "$_name-$pkgver"
-	# Fix pytest-asyncio 0.17.0 DeprecationWarning (https://github.com/abhinavsingh/proxy.py/pull/998)
-	patch --forward --strip=1 --input="$srcdir/python-proxy.py-2.4.0_fix-asyncio-deprecationwarning.patch"
-}
-
-build() {
-	cd "$_name-$pkgver"
-	python -m build --wheel --no-isolation
-}
-
-check() {
-	cd "$_name-$pkgver"
-	pytest
-}
-
-package() {
-	cd "$_name-$pkgver"
-	python -m installer --destdir="$pkgdir" dist/*.whl
-	install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-
-	# Remove entry point usr/bin/proxy to avoid conflict with libproxy (FS#73325)
-	rm -r "$pkgdir/usr/bin"
-}

Copied: python-proxy.py/repos/community-any/PKGBUILD (from rev 1210095, python-proxy.py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-23 08:10:52 UTC (rev 1210096)
@@ -0,0 +1,44 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=python-proxy.py
+_name=${pkgname#python-}
+pkgver=2.4.2
+pkgrel=1
+pkgdesc='Lightweight HTTP, HTTPS, HTTP2 and WebSockets proxy server'
+arch=('any')
+url='https://github.com/abhinavsingh/proxy.py'
+license=('BSD')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
+             'python-setuptools-scm-git-archive' 'python-wheel')
+checkdepends=('python-httpx' 'python-pytest' 'python-pytest-asyncio' 'python-pytest-cov' 'python-pytest-mock')
+optdepends=('python-httpx: Cloudflare DNS resolver plugin support'
+            'python-paramiko: proxy over SSH tunnel support')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz"
+        "python-proxy.py-2.4.0_fix-asyncio-deprecationwarning.patch::$url/commit/e0cc90d057b44ef506b88362d71f2c707db11db9.patch")
+sha256sums=('bfa62b4d0306fd914f24d3eecccdae385e8c111c4c204673f0e27bcabcf1db76'
+            'd7ffe35494b1943b41b4c8285043626c46323a706d99ceaf1ca268c6b91db5eb')
+
+prepare() {
+	cd "$_name-$pkgver"
+	# Fix pytest-asyncio 0.17.0 DeprecationWarning (https://github.com/abhinavsingh/proxy.py/pull/998)
+	patch --forward --strip=1 --input="$srcdir/python-proxy.py-2.4.0_fix-asyncio-deprecationwarning.patch"
+}
+
+build() {
+	cd "$_name-$pkgver"
+	python -m build --wheel --no-isolation
+}
+
+check() {
+	cd "$_name-$pkgver"
+	pytest
+}
+
+package() {
+	cd "$_name-$pkgver"
+	python -m installer --destdir="$pkgdir" dist/*.whl
+	install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+
+	# Remove entry point usr/bin/proxy to avoid conflict with libproxy (FS#73325)
+	rm -r "$pkgdir/usr/bin"
+}



More information about the arch-commits mailing list