[arch-commits] Commit in python-stem/repos/community-any (3 files)

Levente Polyak anthraxx at archlinux.org
Sat Jan 18 15:04:27 UTC 2020


    Date: Saturday, January 18, 2020 @ 15:04:26
  Author: anthraxx
Revision: 553025

archrelease: copy trunk to community-any

Added:
  python-stem/repos/community-any/PKGBUILD
    (from rev 553024, python-stem/trunk/PKGBUILD)
Deleted:
  python-stem/repos/community-any/PKGBUILD
  python-stem/repos/community-any/stem-python-3.8.patch

-----------------------+
 PKGBUILD              |   99 ++++++++++++++++++++++--------------------------
 stem-python-3.8.patch |   11 -----
 2 files changed, 47 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-18 15:04:21 UTC (rev 553024)
+++ PKGBUILD	2020-01-18 15:04:26 UTC (rev 553025)
@@ -1,52 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Spider.007 <archlinux AT spider007 DOT net>
-
-pkgname=python-stem
-_pypiname=${pkgname#*-}
-pkgver=1.7.1
-pkgrel=3
-pkgdesc='Python controller library for Tor'
-url='https://stem.torproject.org/'
-arch=('any')
-license=('LGPL3')
-depends=('python' 'python-cryptography' 'python-pynacl' 'procps-ng')
-checkdepends=('tor' 'python-mock')
-optdepends=('tor: tor-server to talk to')
-replaces=('stem')
-provides=('stem')
-source=(https://files.pythonhosted.org/packages/source/${_pypiname::1}/${_pypiname}/${_pypiname}-${pkgver}.tar.gz{,.asc}
-        stem-python-3.8.patch)
-sha256sums=('c9eaf3116cb60c15995cbd3dec3a5cbc50e9bb6e062c4d6d42201e566f498ca2'
-            'SKIP'
-            '294e645ceba300c34693df2e8269c844686f3a1bb7b9bb1e3ffc6882a07f2505')
-validpgpkeys=('68278CC5DD2D1E85C4E45AD90445B7AB9ABBEEC6') # Damian Johnson (www.atagar.com) <atagar1 at gmail.com>
-
-prepare() {
-  cd ${_pypiname}-${pkgver}
-  # remove flaky integration tests
-  sed -i test/settings.cfg \
-    -e '/|test.integ.client.connection.TestConnection/d' \
-    -e '/|test.integ.process.TestProcess/d' \
-    -e '/|test.integ.installation.TestInstallation/d'
-  rm test/integ/{client/connection,{installation,process}}.py
-
-  # fix tests with python 3.8
-  patch -p1 -i ../stem-python-3.8.patch
-}
-
-build() {
-  cd ${_pypiname}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pypiname}-${pkgver}
-  ./run_tests.py --all
-}
-
-package() {
-  cd ${_pypiname}-${pkgver}
-  python setup.py install --optimize=1 --root="${pkgdir}" --skip-build
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-stem/repos/community-any/PKGBUILD (from rev 553024, python-stem/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-18 15:04:26 UTC (rev 553025)
@@ -0,0 +1,47 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Spider.007 <archlinux AT spider007 DOT net>
+
+pkgname=python-stem
+_pypiname=${pkgname#*-}
+pkgver=1.8.0
+pkgrel=1
+pkgdesc='Python controller library for Tor'
+url='https://stem.torproject.org/'
+arch=('any')
+license=('LGPL3')
+depends=('python' 'python-cryptography' 'python-pynacl' 'procps-ng')
+checkdepends=('tor' 'python-mock')
+optdepends=('tor: tor-server to talk to')
+replaces=('stem')
+provides=('stem')
+source=(https://files.pythonhosted.org/packages/source/${_pypiname::1}/${_pypiname}/${_pypiname}-${pkgver}.tar.gz{,.asc})
+sha256sums=('a0b48ea6224e95f22aa34c0bc3415f0eb4667ddeae3dfb5e32a6920c185568c2'
+            'SKIP')
+validpgpkeys=('68278CC5DD2D1E85C4E45AD90445B7AB9ABBEEC6') # Damian Johnson (www.atagar.com) <atagar1 at gmail.com>
+
+prepare() {
+  cd ${_pypiname}-${pkgver}
+  # remove flaky integration tests
+  sed -i test/settings.cfg \
+    -e '/|test.integ.client.connection.TestConnection/d' \
+    -e '/|test.integ.process.TestProcess/d' \
+    -e '/|test.integ.installation.TestInstallation/d'
+  rm test/integ/{client/connection,{installation,process}}.py
+}
+
+build() {
+  cd ${_pypiname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pypiname}-${pkgver}
+  ./run_tests.py --all
+}
+
+package() {
+  cd ${_pypiname}-${pkgver}
+  python setup.py install --optimize=1 --root="${pkgdir}" --skip-build
+}
+
+# vim: ts=2 sw=2 et:

Deleted: stem-python-3.8.patch
===================================================================
--- stem-python-3.8.patch	2020-01-18 15:04:21 UTC (rev 553024)
+++ stem-python-3.8.patch	2020-01-18 15:04:26 UTC (rev 553025)
@@ -1,11 +0,0 @@
---- stem-1.7.1/test/task.py.orig	2019-11-03 13:00:05.941355453 +0000
-+++ stem-1.7.1/test/task.py	2019-11-03 13:00:25.131576581 +0000
-@@ -81,7 +81,7 @@
-   elif platform.system() == 'Darwin':
-     extra = platform.release()
-   elif platform.system() == 'Linux':
--    extra = ' '.join(platform.linux_distribution()[:2])
-+    extra = platform.release()
-   else:
-     extra = None
- 



More information about the arch-commits mailing list