[arch-commits] Commit in python-pytest-mpi/repos/community-any (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Sun Mar 20 16:27:12 UTC 2022
Date: Sunday, March 20, 2022 @ 16:27:11
Author: archange
Revision: 1163905
archrelease: copy trunk to community-any
Added:
python-pytest-mpi/repos/community-any/PKGBUILD
(from rev 1163904, python-pytest-mpi/trunk/PKGBUILD)
Deleted:
python-pytest-mpi/repos/community-any/PKGBUILD
----------+
PKGBUILD | 64 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-20 16:26:14 UTC (rev 1163904)
+++ PKGBUILD 2022-03-20 16:27:11 UTC (rev 1163905)
@@ -1,32 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=pytest-mpi
-pkgname=python-${_pkg}
-pkgver=0.5
-pkgrel=3
-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 python-pytest-mpi)
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-#source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('ad392f5cd3f72ed0aeb9bb9e6f77554d79f3b81f72e3526ba60ae34fc2d4359e')
-
-build() {
- cd ${_pkg}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${_pkg}-${pkgver}
- PYTHONPATH="${PWD}/build/lib" 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}
-}
Copied: python-pytest-mpi/repos/community-any/PKGBUILD (from rev 1163904, python-pytest-mpi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-20 16:27:11 UTC (rev 1163905)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=pytest-mpi
+pkgname=python-${_pkg}
+pkgver=0.6
+pkgrel=1
+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 python-pytest-mpi)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+#source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('09b3cd3511f8f3cd4d205f54d4a7223724fed0ab68b872ed1123d312152325a9')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ PYTHONPATH="${PWD}"/build/lib pytest -vv --color=yes 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