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

David Runge dvzrv at archlinux.org
Sat Feb 17 11:53:45 UTC 2018


    Date: Saturday, February 17, 2018 @ 11:53:44
  Author: dvzrv
Revision: 296053

upgpkg: python-pytest-xprocess 0.12.1-1

Upgrading to 0.12.1 with new upstream. Disabling tests for now.
Adding python{,2}-psutil as depends.

Modified:
  python-pytest-xprocess/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-17 10:32:39 UTC (rev 296052)
+++ PKGBUILD	2018-02-17 11:53:44 UTC (rev 296053)
@@ -5,16 +5,16 @@
 _name=pytest-xprocess
 pkgbase=python-${_name}
 pkgname=('python-pytest-xprocess' 'python2-pytest-xprocess')
-pkgver=0.8
-pkgrel=2
+pkgver=0.12.1
+pkgrel=1
 pkgdesc='Pytest plugin to manage external processes across test runs.'
 arch=('any')
-url='https://bitbucket.org/hpk42/pytest-xprocess/'
+url='https://github.com/pytest-dev/pytest-xprocess'
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-cache' 'python2-pytest-cache')
-source=("https://pypi.python.org/packages/source/p/${_name}/${_name}-$pkgver.tar.gz")
-sha512sums=('c93bfb6bf18b946f47c69f45e25d8bf64defd1a5795b98689a55227e017db77220e9ae0ede684262d2ffb0f535bd204565748216c1f964570ec8c5353aab2842')
+checkdepends=('python-pytest' 'python-pytest-cache' 'python2-pytest' 'python2-pytest-cache')
+source=("${pkgname[0]}-${pkgver}.tar.gz::https://github.com/pytest-dev/${_name}/archive/${pkgver}.tar.gz")
+sha512sums=('e6deebf6d82999d38fe771cb0e1f52a87b33fac720046e63156ff176c004ea9ec4bd48990ea1fde9c3f1e8fa0217bc153dda4c6407c89cb254f4aa8e6acea378')
 
 prepare(){
   mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}"
@@ -28,15 +28,18 @@
   python2 setup.py build
 }
 
-check() {
-  cd "${pkgname[0]}-${pkgver}"
-  python setup.py test
-  cd ../"${pkgname[1]}-${pkgver}"
-  python2 setup.py test
-}
+# checks disabled for now: https://github.com/pytest-dev/pytest-xprocess/issues/10
+#check() {
+#  cd "${pkgname[0]}-${pkgver}"
+#  export PYTHONPATH="${srcdir}/${pkgname[0]}-${pkgver}/build/":${PYTHONPATH}
+#  py.test
+#  cd ../"${pkgname[1]}-${pkgver}"
+#  export PYTHONPATH="${srcdir}/${pkgname[1]}-${pkgver}/build/":${PYTHONPATH}
+#  py.test2
+#}
 
 package_python-pytest-xprocess() {
-  depends=('python-pytest')
+  depends=('python-psutil' 'python-pytest')
   cd "${pkgname[0]}-${pkgver}"
   python setup.py install --skip-build \
     --optimize=1 \
@@ -47,7 +50,7 @@
 }
 
 package_python2-pytest-xprocess() {
-  depends=('python2-pytest')
+  depends=('python2-psutil' 'python2-pytest')
   cd "${pkgname[0]}-${pkgver}"
   python2 setup.py install --skip-build \
     --optimize=1 \



More information about the arch-commits mailing list