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

Santiago Torres-Arias sangy at archlinux.org
Tue Feb 12 03:36:47 UTC 2019


    Date: Tuesday, February 12, 2019 @ 03:36:45
  Author: sangy
Revision: 431841

archrelease: copy trunk to community-any

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

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

Copied: python-aiohttp-socks/repos/community-any/PKGBUILD (from rev 431840, python-aiohttp-socks/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-02-12 03:36:45 UTC (rev 431841)
@@ -0,0 +1,28 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+
+pkgname=python-aiohttp-socks
+pkgver=0.2.2
+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')
+makedepends=('python' 'python-setuptools' 'git')
+checkdepends=('python-pytest' 'python-pytest-asyncio')
+source=("git+https://github.com/romis2012/aiohttp-socks.git?tag=v${pkgver}")
+sha256sums=('SKIP')
+
+check() {
+    cd "aiohttp-socks"
+    # pytest # fails as regular user
+           # due to permission errors
+}
+
+package() {
+    depends=('python' 'python-setuptools')
+
+    cd "aiohttp-socks"
+    python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+}
+



More information about the arch-commits mailing list