[arch-commits] Commit in python-aiohttp-socks/repos (2 files)

Jonas Witschel diabonas at gemini.archlinux.org
Tue Nov 23 13:50:59 UTC 2021


    Date: Tuesday, November 23, 2021 @ 13:50:58
  Author: diabonas
Revision: 1054457

archrelease: copy trunk to community-staging-any

Added:
  python-aiohttp-socks/repos/community-staging-any/
  python-aiohttp-socks/repos/community-staging-any/PKGBUILD
    (from rev 1054456, python-aiohttp-socks/trunk/PKGBUILD)

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

Copied: python-aiohttp-socks/repos/community-staging-any/PKGBUILD (from rev 1054456, python-aiohttp-socks/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-23 13:50:58 UTC (rev 1054457)
@@ -0,0 +1,32 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+
+pkgname=python-aiohttp-socks
+pkgver=0.7.0
+pkgrel=1
+pkgdesc="SOCKS proxy connector for aiohttp. SOCKS4(a) and SOCKS5 are supported."
+arch=('any')
+url="https://github.com/romis2012/aiohttp-socks/"
+license=('Apache')
+depends=('python-aiohttp' 'python-python-socks')
+makedepends=('git' 'python' 'python-setuptools')
+checkdepends=('python-flask' 'python-pytest' 'python-pytest-asyncio')
+source=("git+https://github.com/romis2012/aiohttp-socks?signed#tag=v${pkgver}")
+sha256sums=('SKIP')
+validpgpkeys=('706A8935FED55F3BFB7C188B5EEAD7400A5D80ED') # Roman Snegirev (maintainer)
+
+check() {
+    cd "${pkgname//python-}"
+    pytest
+}
+
+build() {
+    cd "${pkgname//python-}"
+    python setup.py build
+
+}
+
+package() {
+    cd "${pkgname//python-}"
+    python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+}



More information about the arch-commits mailing list