[arch-commits] Commit in python-pytest-mpl/repos/community-x86_64 (PKGBUILD PKGBUILD)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Mon Mar 14 09:48:47 UTC 2022
Date: Monday, March 14, 2022 @ 09:48:47
Author: kgizdov
Revision: 1152170
archrelease: copy trunk to community-x86_64
Added:
python-pytest-mpl/repos/community-x86_64/PKGBUILD
(from rev 1152169, python-pytest-mpl/trunk/PKGBUILD)
Deleted:
python-pytest-mpl/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-14 09:48:40 UTC (rev 1152169)
+++ PKGBUILD 2022-03-14 09:48:47 UTC (rev 1152170)
@@ -1,33 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-# Contributor: Astro Benzene <universebenzene at sina dot com>
-_pkgname='pytest-mpl'
-pkgname="python-${_pkgname}"
-pkgver=0.14.0
-pkgrel=2
-pkgdesc="Pytest plugin to help with testing figures output from Matplotlib"
-arch=('x86_64')
-url="https://github.com/matplotlib/pytest-mpl"
-license=('BSD')
-depends=('python-pytest' 'python-matplotlib')
-makedepends=('python-setuptools-scm' 'python-build' 'python-installer' 'python-wheel' 'git')
-checkdepends=('python-pytest-cov' 'python-pytest-shutil' 'python-jinja' 'python-packaging')
-source=("${pkgname}::git+https://github.com/matplotlib/pytest-mpl.git#tag=v${pkgver}")
-sha256sums=('SKIP')
-
-build() {
- cd "${srcdir}/${pkgname}"
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd "${srcdir}/${pkgname}"
- # some tests fail
- PYTHONPATH="${srcdir}/${pkgname}/build/lib" pytest || echo 'some tests fail'
-}
-
-package() {
- cd "${srcdir}/${pkgname}"
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -D -m644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: python-pytest-mpl/repos/community-x86_64/PKGBUILD (from rev 1152169, python-pytest-mpl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-14 09:48:47 UTC (rev 1152170)
@@ -0,0 +1,33 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Astro Benzene <universebenzene at sina dot com>
+_pkgname='pytest-mpl'
+pkgname="python-${_pkgname}"
+pkgver=0.14.0
+pkgrel=3
+pkgdesc="Pytest plugin to help with testing figures output from Matplotlib"
+arch=('x86_64')
+url="https://github.com/matplotlib/pytest-mpl"
+license=('BSD')
+depends=('python-pytest' 'python-matplotlib' 'python-jinja' 'python-packaging')
+makedepends=('python-setuptools-scm' 'python-build' 'python-installer' 'python-wheel' 'git')
+checkdepends=('python-pytest-cov' 'python-pytest-shutil' 'python-jinja')
+source=("${pkgname}::git+https://github.com/matplotlib/pytest-mpl.git#tag=v${pkgver}")
+sha256sums=('SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "${srcdir}/${pkgname}"
+ # some tests fail
+ PYTHONPATH="${srcdir}/${pkgname}/build/lib" pytest || echo 'some tests fail'
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -D -m644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list