[arch-commits] Commit in python-pytest-lazy-fixture/repos (2 files)
Bruno Pagani
archange at archlinux.org
Thu Feb 20 21:01:11 UTC 2020
Date: Thursday, February 20, 2020 @ 21:01:07
Author: archange
Revision: 577371
archrelease: copy trunk to community-any
Added:
python-pytest-lazy-fixture/repos/community-any/
python-pytest-lazy-fixture/repos/community-any/PKGBUILD
(from rev 577370, python-pytest-lazy-fixture/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-pytest-lazy-fixture/repos/community-any/PKGBUILD (from rev 577370, python-pytest-lazy-fixture/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-02-20 21:01:07 UTC (rev 577371)
@@ -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