Date: Monday, April 24, 2023 @ 05:11:59
  Author: polyzen
Revision: 1448457

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 42 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-24 05:11:39 UTC (rev 1448456)
+++ PKGBUILD    2023-04-24 05:11:59 UTC (rev 1448457)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pytest-bdd
-pkgver=6.1.1
-pkgrel=2
-pkgdesc='BDD library for the pytest runner'
-arch=('any')
-license=('MIT')
-url='https://github.com/pytest-dev/pytest-bdd'
-depends=('python-mako' 'python-parse' 'python-parse-type' 'python-pytest' 
'python-typing-extensions')
-makedepends=('python-build' 'python-installer' 'python-poetry-core')
-checkdepends=('python-setuptools')
-source=("https://github.com/pytest-dev/pytest-bdd/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('69cd345d4a819a84a811ca2a5825f87a46fa4d063b9a852308d36e4f15058a27c45b170dadf684e68322d3380654f985b8ef153e34ad42ef33e0b595f8dc9d96')
-
-build() {
-  cd pytest-bdd-$pkgver
-  python -m build -nw
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd pytest-bdd-$pkgver
-  python -m installer -d tmp_install dist/*.whl
-  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  PATH="$PWD/tmp_install/usr/bin:$PATH" 
PYTHONPATH="$PWD/tmp_install/$site_packages" pytest
-}
-
-package() {
-  cd pytest-bdd-$pkgver
-  python -m installer -d "$pkgdir" dist/*.whl
-  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pytest-bdd/repos/community-staging-any/PKGBUILD (from rev 
1448456, python-pytest-bdd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-24 05:11:59 UTC (rev 1448457)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pytest-bdd
+pkgver=6.1.1
+pkgrel=4
+pkgdesc='BDD library for the pytest runner'
+arch=('any')
+license=('MIT')
+url='https://github.com/pytest-dev/pytest-bdd'
+depends=('python-mako' 'python-parse' 'python-parse-type' 'python-pytest' 
'python-typing-extensions')
+makedepends=('python-build' 'python-installer' 'python-poetry-core')
+checkdepends=('python-setuptools')
+source=("https://github.com/pytest-dev/pytest-bdd/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('69cd345d4a819a84a811ca2a5825f87a46fa4d063b9a852308d36e4f15058a27c45b170dadf684e68322d3380654f985b8ef153e34ad42ef33e0b595f8dc9d96')
+
+prepare() {
+  cd pytest-bdd-$pkgver
+  # Do not treat warnings as errors
+  sed -i '/^    error$/d' pytest.ini
+}
+
+build() {
+  cd pytest-bdd-$pkgver
+  python -m build -nw
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd pytest-bdd-$pkgver
+  python -m installer -d tmp_install dist/*.whl
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  PATH="$PWD/tmp_install/usr/bin:$PATH" 
PYTHONPATH="$PWD/tmp_install/$site_packages" pytest
+}
+
+package() {
+  cd pytest-bdd-$pkgver
+  python -m installer -d "$pkgdir" dist/*.whl
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to