Date: Thursday, April 6, 2023 @ 02:40:23
  Author: felixonmars
Revision: 1438131

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pytest-subtests/repos/community-staging-any/PKGBUILD (from rev 
1438130, python-pytest-subtests/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 02:40:23 UTC (rev 1438131)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pytest-subtests
+pkgver=0.10.0
+_commit=d47a5ced94ed7e69d990640ad867280154f1f535
+pkgrel=2
+pkgdesc='unittest subTest() support and subtests fixture'
+arch=('any')
+license=('MIT')
+url='https://github.com/pytest-dev/pytest-subtests'
+depends=('python-attrs' '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