[arch-commits] Commit in python-pysocks/repos/community-staging-any (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 21:36:36 UTC 2021


    Date: Wednesday, December 1, 2021 @ 21:36:35
  Author: felixonmars
Revision: 1060881

archrelease: copy trunk to community-staging-any

Added:
  python-pysocks/repos/community-staging-any/PKGBUILD
    (from rev 1060879, python-pysocks/trunk/PKGBUILD)
Deleted:
  python-pysocks/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-01 21:36:32 UTC (rev 1060880)
+++ PKGBUILD	2021-12-01 21:36:35 UTC (rev 1060881)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Michael Schubert <mschu.dev at gmail>
-
-pkgbase=python-pysocks
-pkgname=(python-pysocks)
-pkgver=1.7.1
-_commit=f660e75d4844e64e4b162b0c01f8df8d866ee000
-pkgrel=6
-pkgdesc="SOCKS4, SOCKS5 or HTTP proxy (Anorov fork PySocks replaces socksipy)"
-arch=('any')
-license=('BSD')
-url="https://github.com/Anorov/PySocks"
-makedepends=('python-setuptools')
-checkdepends=('lib32-glibc')
-source=("$pkgbase-$_commit.tar.gz::https://github.com/Anorov/PySocks/archive/$_commit.tar.gz")
-sha512sums=('d5db8d55603758cecd0e4974729df437febcfabe8a80dcbfe6132d0ce5a23caeccfefff01bf918cdbb9f26db4cb795d26ed1f3c536c415b496e4ac1bd43e9240')
-
-prepare() {
-  mv PySocks-{$_commit,$pkgver}
-  cp -a PySocks-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/PySocks-$pkgver
-  python setup.py build
-}
-
-# Tests disabled as it requires external services to run
-# Fox: Removed depends. I didn't want to remove the code<3
-check_disabled() {
-  cd "$srcdir"/PySocks-$pkgver/test
-  python sockstest.py
-
-  ./mocks shutdown
-
-  kill $_SOCKS4SERVER $_HTTPPROXY
-}
-
-package_python-pysocks() {
-  depends=('python')
-  provides=('python-socks')
-  replaces=('python-socks')
-
-  cd PySocks-$pkgver
-  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-pysocks/repos/community-staging-any/PKGBUILD (from rev 1060879, python-pysocks/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-01 21:36:35 UTC (rev 1060881)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Michael Schubert <mschu.dev at gmail>
+
+pkgbase=python-pysocks
+pkgname=(python-pysocks)
+pkgver=1.7.1
+_commit=f660e75d4844e64e4b162b0c01f8df8d866ee000
+pkgrel=7
+pkgdesc="SOCKS4, SOCKS5 or HTTP proxy (Anorov fork PySocks replaces socksipy)"
+arch=('any')
+license=('BSD')
+url="https://github.com/Anorov/PySocks"
+makedepends=('python-setuptools')
+checkdepends=('lib32-glibc')
+source=("$pkgbase-$_commit.tar.gz::https://github.com/Anorov/PySocks/archive/$_commit.tar.gz")
+sha512sums=('d5db8d55603758cecd0e4974729df437febcfabe8a80dcbfe6132d0ce5a23caeccfefff01bf918cdbb9f26db4cb795d26ed1f3c536c415b496e4ac1bd43e9240')
+
+prepare() {
+  mv PySocks-{$_commit,$pkgver}
+  cp -a PySocks-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/PySocks-$pkgver
+  python setup.py build
+}
+
+# Tests disabled as it requires external services to run
+# Fox: Removed depends. I didn't want to remove the code<3
+check_disabled() {
+  cd "$srcdir"/PySocks-$pkgver/test
+  python sockstest.py
+
+  ./mocks shutdown
+
+  kill $_SOCKS4SERVER $_HTTPPROXY
+}
+
+package_python-pysocks() {
+  depends=('python')
+  provides=('python-socks')
+  replaces=('python-socks')
+
+  cd PySocks-$pkgver
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list