Date: Tuesday, January 31, 2023 @ 20:20:43
  Author: felixonmars
Revision: 1391535

archrelease: copy trunk to community-any

Added:
  python-pytest-subtests/repos/community-any/PKGBUILD
    (from rev 1391534, python-pytest-subtests/trunk/PKGBUILD)
Deleted:
  python-pytest-subtests/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 20:20:31 UTC (rev 1391534)
+++ PKGBUILD    2023-01-31 20:20:43 UTC (rev 1391535)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pytest-subtests
-pkgver=0.9.0
-pkgrel=1
-pkgdesc='unittest subTest() support and subtests fixture'
-arch=('any')
-license=('MIT')
-url='https://github.com/pytest-dev/pytest-subtests'
-depends=('python-pytest')
-makedepends=('python-setuptools-scm')
-source=("https://github.com/pytest-dev/pytest-subtests/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('f1bc2b99e6f04864cdc45675574d32821fd5e08c01c937bddc846ac509cd8906d21ee63b11e9e8a87c2631334541e9adc601a7dd69702572d51c3d4b72443ad2')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd pytest-subtests-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pytest-subtests-$pkgver
-  python setup.py egg_info
-  PYTHONPATH="$PWD" pytest
-}
-
-package() {
-  cd pytest-subtests-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pytest-subtests/repos/community-any/PKGBUILD (from rev 1391534, 
python-pytest-subtests/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-31 20:20:43 UTC (rev 1391535)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pytest-subtests
+pkgver=0.9.0
+_commit=bc84f33580ebf0594267ab902f8c7d832c58a9be
+pkgrel=2
+pkgdesc='unittest subTest() support and subtests fixture'
+arch=('any')
+license=('MIT')
+url='https://github.com/pytest-dev/pytest-subtests'
+depends=('python-pytest')
+makedepends=('git' 'python-setuptools-scm')
+source=("git+https://github.com/pytest-dev/pytest-subtests.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+build() {
+  cd pytest-subtests
+  python setup.py build
+}
+
+check() {
+  cd pytest-subtests
+  python setup.py egg_info
+  PYTHONPATH="$PWD" pytest
+}
+
+package() {
+  cd pytest-subtests
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to