Date: Friday, October 25, 2019 @ 15:51:15
  Author: foutrelis
Revision: 519226

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 519225, python-aiohttp-socks/trunk/PKGBUILD)

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

Copied: python-aiohttp-socks/repos/community-staging-any/PKGBUILD (from rev 
519225, python-aiohttp-socks/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2019-10-25 15:51:15 UTC (rev 519226)
@@ -0,0 +1,28 @@
+# Maintainer: Santiago Torres-Arias <[email protected]>
+
+pkgname=python-aiohttp-socks
+pkgver=0.2.2
+pkgrel=2
+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
+}
+

Reply via email to