Date: Thursday, April 6, 2023 @ 13:48:40
  Author: felixonmars
Revision: 1439020

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pytest-param-files/repos/community-staging-any/PKGBUILD (from 
rev 1439017, python-pytest-param-files/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 13:48:40 UTC (rev 1439020)
@@ -0,0 +1,35 @@
+# Maintainer: Caleb Maclennana <[email protected]>
+
+pkgname=python-pytest-param-files
+_pyname=${pkgname#python-}
+pkgver=0.3.4
+pkgrel=3
+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
+}

Reply via email to