[arch-commits] Commit in python-aiohttp-socks/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 05:28:14 UTC 2020
Date: Tuesday, November 10, 2020 @ 05:28:13
Author: foutrelis
Revision: 749399
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 749397, python-aiohttp-socks/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-aiohttp-socks/repos/community-staging-any/PKGBUILD (from rev 749397, python-aiohttp-socks/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 05:28:13 UTC (rev 749399)
@@ -0,0 +1,31 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+
+pkgname=python-aiohttp-socks
+pkgver=0.4.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=('git' 'python' 'python-setuptools')
+checkdepends=('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