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

Felix Yan felixonmars at archlinux.org
Wed May 1 21:12:07 UTC 2019


    Date: Wednesday, May 1, 2019 @ 21:12:06
  Author: felixonmars
Revision: 457498

upgpkg: python-pysocks 1.6.8-3

add provide/replace for aur package python-socks

Modified:
  python-pysocks/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-01 21:09:34 UTC (rev 457497)
+++ PKGBUILD	2019-05-01 21:12:06 UTC (rev 457498)
@@ -4,7 +4,7 @@
 pkgbase=python-pysocks
 pkgname=(python-pysocks python2-pysocks)
 pkgver=1.6.8
-pkgrel=2
+pkgrel=3
 pkgdesc="SOCKS4, SOCKS5 or HTTP proxy (Anorov fork PySocks replaces socksipy)"
 arch=('any')
 license=('BSD')
@@ -50,6 +50,8 @@
 
 package_python-pysocks() {
   depends=('python')
+  provides=('python-socks')
+  replaces=('python-socks')
 
   cd PySocks-$pkgver
   python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
@@ -57,6 +59,8 @@
 
 package_python2-pysocks() {
   depends=('python2')
+  provides=('python2-socks')
+  replaces=('python2-socks')
 
   cd PySocks-$pkgver-py2
   python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1


More information about the arch-commits mailing list