Date: Tuesday, October 25, 2022 @ 09:08:41
Author: alerque
Revision: 1334726
archrelease: copy trunk to community-any
Added:
python-pytest-param-files/repos/community-any/PKGBUILD
(from rev 1334725, python-pytest-param-files/trunk/PKGBUILD)
Deleted:
python-pytest-param-files/repos/community-any/PKGBUILD
----------+
PKGBUILD | 71 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-25 09:08:32 UTC (rev 1334725)
+++ PKGBUILD 2022-10-25 09:08:41 UTC (rev 1334726)
@@ -1,36 +0,0 @@
-# Maintainer: Caleb Maclennana <[email protected]>
-
-pkgname=python-pytest-param-files
-_pyname=${pkgname#python-}
-pkgver=0.3.4
-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}
- python-flit
- python-wheel)
-# _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
1334725, python-pytest-param-files/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-25 09:08:41 UTC (rev 1334726)
@@ -0,0 +1,35 @@
+# 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
+}