[arch-commits] Commit in python-aiohttp-socks/repos/community-any (PKGBUILD PKGBUILD)

Jonas Witschel diabonas at gemini.archlinux.org
Tue Apr 5 14:26:30 UTC 2022


    Date: Tuesday, April 5, 2022 @ 14:26:30
  Author: diabonas
Revision: 1181451

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-05 14:26:17 UTC (rev 1181450)
+++ PKGBUILD	2022-04-05 14:26:30 UTC (rev 1181451)
@@ -1,32 +0,0 @@
-# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-
-pkgname=python-aiohttp-socks
-pkgver=0.7.1
-pkgrel=3
-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
-}

Copied: python-aiohttp-socks/repos/community-any/PKGBUILD (from rev 1181450, python-aiohttp-socks/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-05 14:26:30 UTC (rev 1181451)
@@ -0,0 +1,31 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+
+pkgname=python-aiohttp-socks
+pkgver=0.7.1
+pkgrel=4
+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' 'python-aiohttp' 'python-attrs' 'python-async-timeout' 'python-python-socks')
+makedepends=('git' 'python-build' 'python-installer' 'python-wheel')
+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)
+
+build() {
+    cd "${pkgname//python-}"
+    python -m build --wheel --no-isolation
+}
+
+check() {
+    cd "${pkgname//python-}"
+    pytest
+}
+
+package() {
+    cd "${pkgname//python-}"
+    python -m installer --destdir="$pkgdir" dist/*.whl
+}



More information about the arch-commits mailing list