[arch-commits] Commit in python-pytest-bdd/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 14:51:22 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:51:21
  Author: foutrelis
Revision: 1059414

archrelease: copy trunk to community-staging-any

Added:
  python-pytest-bdd/repos/community-staging-any/
  python-pytest-bdd/repos/community-staging-any/PKGBUILD
    (from rev 1059411, python-pytest-bdd/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: python-pytest-bdd/repos/community-staging-any/PKGBUILD (from rev 1059411, python-pytest-bdd/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:51:21 UTC (rev 1059414)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-bdd
+pkgver=4.1.0
+pkgrel=2
+pkgdesc='BDD library for the pytest runner'
+arch=('any')
+license=('MIT')
+url='https://github.com/pytest-dev/pytest-bdd'
+depends=('python-glob2' 'python-mako' 'python-parse' 'python-parse-type' 'python-py' 'python-pytest')
+makedepends=('python-setuptools')
+source=("https://github.com/pytest-dev/pytest-bdd/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('54ce5ae2f7b3deff7d436d42f80fc47892707eb1e6e76469dda9753ff0b2d727bb47b5be300eadccadd87838aee43130fec5dff6441353eb07c0787c84d55afa')
+
+build() {
+  cd pytest-bdd-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd pytest-bdd-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" pytest
+}
+
+package() {
+  cd pytest-bdd-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list