[arch-commits] Commit in python-easyprocess/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:24:25 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:24:24
  Author: felixonmars
Revision: 1058217

archrelease: copy trunk to community-staging-any

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

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

Copied: python-easyprocess/repos/community-staging-any/PKGBUILD (from rev 1058214, python-easyprocess/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:24:24 UTC (rev 1058217)
@@ -0,0 +1,31 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=EasyProcess
+pkgname=python-${_pkg,,}
+pkgver=0.3
+pkgrel=4
+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}
+}



More information about the arch-commits mailing list