Date: Wednesday, February 8, 2023 @ 17:34:15
  Author: felixonmars
Revision: 1396227

archrelease: copy trunk to community-any

Added:
  python-testfixtures/repos/community-any/PKGBUILD
    (from rev 1396226, python-testfixtures/trunk/PKGBUILD)
Deleted:
  python-testfixtures/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   63 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-08 17:34:00 UTC (rev 1396226)
+++ PKGBUILD    2023-02-08 17:34:15 UTC (rev 1396227)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-testfixtures
-pkgver=7.0.4
-pkgrel=1
-pkgdesc="A collection of helpers and mock objects that are useful when writing 
unit tests or doc tests"
-arch=('any')
-license=('MIT')
-url="https://github.com/Simplistix/testfixtures";
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-zope-component' 'python-sybil'
-              'python-pytest-django' 'python-django' 'python-twisted')
-source=("https://github.com/Simplistix/testfixtures/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('30f51a7ff7511ac92998228ddd8778798759668659d544b43738c602a9ac66a50dcab002e694a42fdbb8fadb40b9a1e85dd6d3fc7e560625d87e248561889701')
-
-build() {
-  cd  testfixtures-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd  testfixtures-$pkgver
-  python setup.py pytest --addopts "--ignore=build"
-}
-
-package() {
-  cd testfixtures-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 docs/license.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-testfixtures/repos/community-any/PKGBUILD (from rev 1396226, 
python-testfixtures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-02-08 17:34:15 UTC (rev 1396227)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-testfixtures
+pkgver=7.1.0
+_commit=3f5500aa9b4fabb138a1dc0e132369df61403882
+pkgrel=1
+pkgdesc="A collection of helpers and mock objects that are useful when writing 
unit tests or doc tests"
+arch=('any')
+license=('MIT')
+url="https://github.com/Simplistix/testfixtures";
+depends=('python')
+makedepends=('git' 'python-setuptools')
+checkdepends=('python-pytest' 'python-zope-component' 'python-sybil'
+              'python-pytest-django' 'python-django' 'python-twisted')
+source=("git+https://github.com/Simplistix/testfixtures.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+build() {
+  cd testfixtures
+  python setup.py build
+}
+
+check() {
+  cd testfixtures
+  PYTHONPATH="$PWD" pytest --ignore=build
+}
+
+package() {
+  cd testfixtures
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 docs/license.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to