[arch-commits] Commit in python-stem/repos/community-staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Fri Nov 20 02:16:08 UTC 2020
Date: Friday, November 20, 2020 @ 02:16:07
Author: foutrelis
Revision: 757876
archrelease: copy trunk to community-staging-any
Added:
python-stem/repos/community-staging-any/PKGBUILD
(from rev 757875, python-stem/trunk/PKGBUILD)
Deleted:
python-stem/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 96 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 49 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-20 02:16:03 UTC (rev 757875)
+++ PKGBUILD 2020-11-20 02:16:07 UTC (rev 757876)
@@ -1,47 +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.8.0
-pkgrel=2
-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:
Copied: python-stem/repos/community-staging-any/PKGBUILD (from rev 757875, python-stem/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-20 02:16:07 UTC (rev 757876)
@@ -0,0 +1,49 @@
+# 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=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})
+sha256sums=('a0b48ea6224e95f22aa34c0bc3415f0eb4667ddeae3dfb5e32a6920c185568c2'
+ 'SKIP')
+validpgpkeys=('68278CC5DD2D1E85C4E45AD90445B7AB9ABBEEC6') # Damian Johnson (www.atagar.com) <atagar1 at gmail.com>
+
+prepare() {
+ cd ${_pypiname}-${pkgver}
+ # https://github.com/torproject/stem/issues/56
+ sed -i '/MOCK_VERSION/d' run_tests.py
+ # 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:
More information about the arch-commits
mailing list