Date: Monday, April 10, 2023 @ 13:40:45
  Author: alerque
Revision: 1444348

archrelease: copy trunk to community-any

Added:
  python-pytest-param-files/repos/community-any/PKGBUILD
    (from rev 1444347, python-pytest-param-files/trunk/PKGBUILD)
Deleted:
  python-pytest-param-files/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   70 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-10 13:40:34 UTC (rev 1444347)
+++ PKGBUILD    2023-04-10 13:40:45 UTC (rev 1444348)
@@ -1,35 +0,0 @@
-# Maintainer: Caleb Maclennana <[email protected]>
-
-pkgname=python-pytest-param-files
-_pyname=${pkgname#python-}
-pkgver=0.3.4
-pkgrel=2
-pkgdesc='Create pytest parametrize decorators from external files '
-arch=(any)
-url="https://github.com/chrisjsewell/$_pyname";
-license=(MIT)
-depends=(python
-         python-pytest)
-makedepends=(python-{build,installer,wheel}
-             python-flit-core)
-# _archive="$_pyname-$pkgver"
-# source=("$url/archive/v$pkgver/$_archive.tar.gz")
-_archive="${_pyname//-/_}-$pkgver"
-source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz";)
-sha256sums=('6c0c324f9d91bd16a5d63ab5bb78bd2d19ca5c6f2b68b6acbc4ae61fb1b6893d')
-
-build() {
-       cd "$_archive"
-       python -m build -wn
-}
-
-check() {
-       cd "$_archive"
-       # pytest
-}
-
-package() {
-       cd "$_archive"
-       python -m installer -d "$pkgdir" dist/*.whl
-       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}

Copied: python-pytest-param-files/repos/community-any/PKGBUILD (from rev 
1444347, python-pytest-param-files/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-10 13:40:45 UTC (rev 1444348)
@@ -0,0 +1,35 @@
+# Maintainer: Caleb Maclennana <[email protected]>
+
+BUILDENV+=(!check)
+
+pkgname=python-pytest-param-files
+_pyname=${pkgname#python-}
+pkgver=0.3.5
+pkgrel=1
+pkgdesc='Create pytest parametrize decorators from external files '
+arch=(any)
+url="https://github.com/chrisjsewell/$_pyname";
+license=(MIT)
+depends=(python
+         python-pytest)
+makedepends=(python-{build,installer,wheel}
+             python-flit-core)
+_archive="${_pyname//-/_}-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz";)
+sha256sums=('33e5b7ef41a7e89d9c04749156062701d9a4ef39fa0805741adb4f31765a6da5')
+
+build() {
+       cd "$_archive"
+       python -m build -wn
+}
+
+check() {
+       cd "$_archive"
+       pytest
+}
+
+package() {
+       cd "$_archive"
+       python -m installer -d "$pkgdir" dist/*.whl
+       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}

Reply via email to