Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages /
python-proxy.py
Commits:
9822ff5b by Daniel M. Capella at 2025-01-31T19:18:02-05:00
upgpkg: 2.4.4-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-proxy.py
pkgdesc = Lightweight HTTP, HTTPS, HTTP2 and WebSockets proxy server
- pkgver = 2.4.4rc5
- pkgrel = 3
+ pkgver = 2.4.4
+ pkgrel = 1
url = https://github.com/abhinavsingh/proxy.py
arch = any
license = BSD-3-Clause
@@ -18,8 +18,8 @@ pkgbase = python-proxy.py
depends = python-setuptools
optdepends = python-httpx: Cloudflare DNS resolver plugin support
optdepends = python-paramiko: proxy over SSH tunnel support
- source =
python-proxy.py-2.4.4rc5.tar.gz::https://github.com/abhinavsingh/proxy.py/archive/refs/tags/v2.4.4rc5.tar.gz
- sha512sums =
c59a44cef9fefd7ade6c0643f6dea1850664c39c0a435b0fce53f36e1758a75a68d238137e59872dcd8886cb444a2b81eb8d9f86f6975f4029206f2c7b2554f6
- b2sums =
39719f2554e2a70bfa0c0a788456b0cbdf521a03d752450f9ed458a5efc18059d1879762b98876828a6f3e1006acf9876a9a95a1497063c2551486afb32913e4
+ source =
python-proxy.py-2.4.4.tar.gz::https://github.com/abhinavsingh/proxy.py/archive/refs/tags/v2.4.4.tar.gz
+ sha512sums =
217f96408ae86e9772b39e5aac8dbe7ff2844012c2c0a74d7a095aeacddb2b8990df9bca8375bfc22bc3cee5bd93564462d41b07d211fcefaa657ff202eda2ff
+ b2sums =
640e25f92ec55b66f9215014fd035edcae4037d05b0f230c47a3b6cf86c088e11a27326d157cf847cc10d34859fdcfdf77502352547bd41d48d4f290aa7da903
pkgname = python-proxy.py
=====================================
PKGBUILD
=====================================
@@ -1,12 +1,13 @@
# Maintainer:
# Contributor: Jonas Witschel <[email protected]>
+
pkgname=python-proxy.py
_name=${pkgname#python-}
-pkgver=2.4.4rc5
-pkgrel=3
+pkgver=2.4.4
+pkgrel=1
pkgdesc='Lightweight HTTP, HTTPS, HTTP2 and WebSockets proxy server'
arch=(any)
-url='https://github.com/abhinavsingh/proxy.py'
+url=https://github.com/abhinavsingh/proxy.py
license=(BSD-3-Clause)
depends=(
python
@@ -31,13 +32,13 @@ optdepends=(
)
source=(
# may have unreproducible tarballs until issue is solved:
https://github.com/abhinavsingh/proxy.py/issues/1394
- $pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz
+ "$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
)
-sha512sums=('c59a44cef9fefd7ade6c0643f6dea1850664c39c0a435b0fce53f36e1758a75a68d238137e59872dcd8886cb444a2b81eb8d9f86f6975f4029206f2c7b2554f6')
-b2sums=('39719f2554e2a70bfa0c0a788456b0cbdf521a03d752450f9ed458a5efc18059d1879762b98876828a6f3e1006acf9876a9a95a1497063c2551486afb32913e4')
+sha512sums=('217f96408ae86e9772b39e5aac8dbe7ff2844012c2c0a74d7a095aeacddb2b8990df9bca8375bfc22bc3cee5bd93564462d41b07d211fcefaa657ff202eda2ff')
+b2sums=('640e25f92ec55b66f9215014fd035edcae4037d05b0f230c47a3b6cf86c088e11a27326d157cf847cc10d34859fdcfdf77502352547bd41d48d4f290aa7da903')
build() {
- cd $_name-$pkgver
+ cd "$_name"-$pkgver
python -m build --wheel --no-isolation
}
@@ -82,15 +83,16 @@ check() {
--deselect
tests/plugin/test_http_proxy_plugins_with_tls_interception.py::TestHttpProxyPluginExamplesWithTlsInterception::test_man_in_the_middle_plugin
)
- cd $_name-$pkgver
+ cd "$_name"-$pkgver
pytest "${pytest_options[@]}"
}
package() {
- cd $_name-$pkgver
+ cd "$_name"-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+ 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"
+ cd "$pkgdir"
+ rm -r usr/bin
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-proxy.py/-/commit/9822ff5b19e61436a8535dae1697bed5b6d244d6
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-proxy.py/-/commit/9822ff5b19e61436a8535dae1697bed5b6d244d6
You're receiving this email because of your account on gitlab.archlinux.org.