[arch-commits] Commit in python-pytest-lazy-fixture/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 14:53:45 UTC 2021
Date: Wednesday, December 1, 2021 @ 14:53:45
Author: foutrelis
Revision: 1059490
archrelease: copy trunk to community-staging-any
Added:
python-pytest-lazy-fixture/repos/community-staging-any/
python-pytest-lazy-fixture/repos/community-staging-any/PKGBUILD
(from rev 1059487, python-pytest-lazy-fixture/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-pytest-lazy-fixture/repos/community-staging-any/PKGBUILD (from rev 1059487, python-pytest-lazy-fixture/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 14:53:45 UTC (rev 1059490)
@@ -0,0 +1,30 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=pytest-lazy-fixture
+pkgname=python-${_pkg}
+pkgver=0.6.3
+pkgrel=4
+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