[arch-commits] Commit in python-easyprocess/repos/community-any (PKGBUILD PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Sun Mar 20 14:45:36 UTC 2022


    Date: Sunday, March 20, 2022 @ 14:45:36
  Author: archange
Revision: 1163774

archrelease: copy trunk to community-any

Added:
  python-easyprocess/repos/community-any/PKGBUILD
    (from rev 1163772, python-easyprocess/trunk/PKGBUILD)
Deleted:
  python-easyprocess/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 35 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-20 14:45:29 UTC (rev 1163773)
+++ PKGBUILD	2022-03-20 14:45:36 UTC (rev 1163774)
@@ -1,31 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=EasyProcess
-pkgname=python-${_pkg,,}
-pkgver=0.3
-pkgrel=5
-pkgdesc="Easy to use python subprocess interface"
-arch=(any)
-url="https://github.com/ponty/EasyProcess"
-license=(BSD)
-depends=(python)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest python-nose python-pyvirtualdisplay iputils xorg-server-xvfb)
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('fb948daac01f64c1e49750752711253614846c6fc7e5692a718a7408f2ffb984')
-
-build() {
-  cd ${_pkg}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkg}-${pkgver}
-  PYTHONPATH="${PWD}/build/lib/" pytest
-}
-
-package() {
-  cd ${_pkg}-${pkgver}
-  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: python-easyprocess/repos/community-any/PKGBUILD (from rev 1163772, python-easyprocess/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-20 14:45:36 UTC (rev 1163774)
@@ -0,0 +1,35 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=EasyProcess
+pkgname=python-${_pkg,,}
+pkgver=1.1
+pkgrel=1
+pkgdesc="Easy to use python subprocess interface"
+arch=(any)
+url="https://github.com/ponty/EasyProcess"
+license=(BSD)
+depends=(python)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest python-pytest-timeout python-entrypoint2
+              python-pillow python-pyvirtualdisplay imagemagick iputils
+              xorg-server-xvfb)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('885898302a57aab948973e8b5d32a4229392b9fb2d986ab1d4ffd590e5ba90ec')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  # https://github.com/ponty/EasyProcess/issues/24
+  PYTHONPATH="${PWD}"/build/lib/ pytest -vv --color=yes -k 'not test_deadlock_pipe'
+  PYTHONPATH="${PWD}"/build/lib/ EASYPROCESS_USE_TEMP_FILES=0 pytest -vv --color=yes
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list