[arch-commits] Commit in python-aiohttp-socks/trunk (PKGBUILD)

Santiago Torres-Arias sangy at archlinux.org
Sun Jul 12 22:05:24 UTC 2020


    Date: Sunday, July 12, 2020 @ 22:05:24
  Author: sangy
Revision: 663373

upgpkg: python-aiohttp-socks 0.4.2-1

- Use git for makedepends to verify GPG signed tags

Modified:
  python-aiohttp-socks/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-12 21:27:04 UTC (rev 663372)
+++ PKGBUILD	2020-07-12 22:05:24 UTC (rev 663373)
@@ -1,7 +1,7 @@
 # Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
 
 pkgname=python-aiohttp-socks
-pkgver=0.3.9
+pkgver=0.4.2
 pkgrel=1
 pkgdesc="SOCKS proxy connector for aiohttp. SOCKS4(a) and SOCKS5 are supported."
 arch=('any')
@@ -8,24 +8,25 @@
 url="https://github.com/romis2012/aiohttp-socks/"
 license=('Apache')
 depends=('python-aiohttp')
-makedepends=('python' 'python-setuptools')
+makedepends=('git' 'python' 'python-setuptools')
 checkdepends=('python-pytest' 'python-pytest-asyncio')
-source=("https://github.com/romis2012/aiohttp-socks/archive/${pkgver}.tar.gz")
-sha256sums=('c88b5b308f707823700cbb3d8605f555308566d42683ee4ecc9899dafe2f6456')
+source=("git+https://github.com/romis2012/aiohttp-socks?signed#tag=v${pkgver}")
+sha256sums=('SKIP')
+validpgpkeys=('706A8935FED55F3BFB7C188B5EEAD7400A5D80ED') # Roman Snegirev (maintainer)
 
 check() {
-    cd "${pkgname//python-}-${pkgver}"
+    cd "${pkgname//python-}"
     pytest
 }
 
 build() {
-    cd "${pkgname//python-}-${pkgver}"
+    cd "${pkgname//python-}"
     python setup.py build
 
 }
 
 package() {
-    cd "${pkgname//python-}-${pkgver}"
+    cd "${pkgname//python-}"
     python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
 }
 



More information about the arch-commits mailing list