[arch-commits] Commit in (4 files)
Bruno Pagani
archange at archlinux.org
Thu Feb 20 21:00:44 UTC 2020
Date: Thursday, February 20, 2020 @ 21:00:43
Author: archange
Revision: 577370
Initial addition of python-pytest-lazy-fixture to [community]
checkdepends of spyder
Added:
python-pytest-lazy-fixture/
python-pytest-lazy-fixture/repos/
python-pytest-lazy-fixture/trunk/
python-pytest-lazy-fixture/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Added: python-pytest-lazy-fixture/trunk/PKGBUILD
===================================================================
--- python-pytest-lazy-fixture/trunk/PKGBUILD (rev 0)
+++ python-pytest-lazy-fixture/trunk/PKGBUILD 2020-02-20 21:00:43 UTC (rev 577370)
@@ -0,0 +1,30 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=pytest-lazy-fixture
+pkgname=python-${_pkg}
+pkgver=0.6.3
+pkgrel=1
+pkgdesc="Use fixtures in @pytest.mark.parametrize"
+arch=(any)
+url="https://github.com/tvorog/pytest-lazy-fixture"
+license=(MIT)
+depends=(python-pytest)
+makedepends=(python-setuptools)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('0e7d0c7f74ba33e6e80905e9bfd81f9d15ef9a790de97993e34213deb5ad10ac')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ PYTHONPATH="${PWD}" pytest
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+ install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
More information about the arch-commits
mailing list