[arch-commits] Commit in python-pproxy/repos (community-any community-any/PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Fri Oct 9 04:46:23 UTC 2020
Date: Friday, October 9, 2020 @ 04:46:21
Author: yan12125
Revision: 722266
archrelease: copy trunk to community-any
Added:
python-pproxy/repos/community-any/
python-pproxy/repos/community-any/PKGBUILD
(from rev 722265, python-pproxy/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-pproxy/repos/community-any/PKGBUILD (from rev 722265, python-pproxy/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-10-09 04:46:21 UTC (rev 722266)
@@ -0,0 +1,33 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-pproxy
+pkgver=2.3.7
+# The commit that bumps version. Upstream does not use git tags [1], and the
+# source tarball on PyPI does not include LICENSE
+# https://github.com/qwj/python-proxy/issues/91
+_commit=7fccf8dd62204f34b0aa3a70fc568fd6ddff7728
+pkgrel=1
+pkgdesc="Versatile TCP/UDP asynchronous tunnel proxy implemented in Python 3 asyncio"
+arch=('any')
+url="https://github.com/qwj/python-proxy"
+license=('MIT')
+depends=(python)
+makedepends=(python-setuptools)
+optdepends=(
+ 'python-pycryptodome: accelerated cipher operations'
+ 'python-uvloop: faster asynchronous operations'
+ 'python-daemon: run the server as a daemon'
+)
+source=(https://github.com/qwj/python-proxy/archive/$_commit/pproxy-$_commit.tar.gz)
+sha256sums=('c3ab3d36e18611ff0f4eb50ac60de9f1e86124829e970ec4109594521f8d425e')
+
+build() {
+ cd python-proxy-$_commit
+ python setup.py build
+}
+
+package() {
+ cd python-proxy-$_commit
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list