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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:02:12 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:02:11
  Author: foutrelis
Revision: 748387

archrelease: copy trunk to community-staging-any

Added:
  python-pytest-mpi/repos/community-staging-any/
  python-pytest-mpi/repos/community-staging-any/PKGBUILD
    (from rev 748386, python-pytest-mpi/trunk/PKGBUILD)

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

Copied: python-pytest-mpi/repos/community-staging-any/PKGBUILD (from rev 748386, python-pytest-mpi/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:02:11 UTC (rev 748387)
@@ -0,0 +1,40 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=pytest-mpi
+pkgname=python-${_pkg}
+pkgver=0.4
+pkgrel=2
+pkgdesc="pytest plugin for working with MPI"
+arch=(any)
+url="https://pytest-mpi.readthedocs.io/"
+license=(BSD)
+depends=(python-pytest)
+makedepends=(python-setuptools)
+checkdepends=(openmpi python-mpi4py python-sybil)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+#        pytest-mpi-pytest-6.patch::https://patch-diff.githubusercontent.com/raw/aragilar/pytest-mpi/pull/12.patch)
+#source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('8879c82a9e837bdb49a1675858a13ef22e61e379c983fd37491f876c299b8b31')
+#            '0803b5c675206dd36056bcd91dfbd234f4147afe76cf6dd124e36ec358c49557')
+
+#prepare() {
+#  cd ${_pkg}-${pkgver}
+#  patch -Np1 -i ../pytest-mpi-pytest-6.patch
+#}
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+# Errors everywhere, similar to https://github.com/browsertron/pytest-parallel/issues/62
+#check() {
+#  cd ${_pkg}-${pkgver}
+#  pytest tests -p pytester --runpytest=subprocess
+#}
+
+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