[arch-commits] Commit in python-testfixtures/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Feb 25 15:35:58 UTC 2022
Date: Friday, February 25, 2022 @ 15:35:58
Author: felixonmars
Revision: 1136593
archrelease: copy trunk to community-any
Added:
python-testfixtures/repos/community-any/PKGBUILD
(from rev 1136592, python-testfixtures/trunk/PKGBUILD)
Deleted:
python-testfixtures/repos/community-any/PKGBUILD
----------+
PKGBUILD | 69 +++++++++++++++++++++++++++----------------------------------
1 file changed, 31 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-25 15:35:47 UTC (rev 1136592)
+++ PKGBUILD 2022-02-25 15:35:58 UTC (rev 1136593)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-testfixtures
-pkgver=6.18.3
-pkgrel=3
-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=("$pkgname-$pkgver.tar.gz::https://github.com/Simplistix/testfixtures/archive/$pkgver.tar.gz"
- 'tests-fix-with-python-3-10.patch::https://github.com/simplistix/testfixtures/commit/8fb2122eea0f1d0de1ccca7a3a0f5426bc6d4964.patch')
-sha512sums=('1fdd3e8a9dc39be00ebb707c4febb30f4975e7c2c83d6edead14f180bb6171b8cd2625acf0f6285c1ecf5ea56ee3c1e40317a9c47fa0b01fd525303816ced69c'
- 'd91b46005525cbefa2100eee25720b1229c6ca8213aaf36578635ffc82edc50aeef278d8e009d13bdb14ab791d7969b5fd39ae70fb2becce8f255edee1256792')
-
-prepare() {
- cd "$srcdir"/testfixtures-$pkgver
- patch -p1 <"$srcdir"/tests-fix-with-python-3-10.patch
-}
-
-build() {
- cd "$srcdir"/testfixtures-$pkgver
- python setup.py build
-}
-
-check() {
- cd "$srcdir"/testfixtures-$pkgver
- python setup.py pytest --addopts "--ignore=build"
-}
-
-package() {
- cd testfixtures-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
-}
Copied: python-testfixtures/repos/community-any/PKGBUILD (from rev 1136592, python-testfixtures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-25 15:35:58 UTC (rev 1136593)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-testfixtures
+pkgver=6.18.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=('79d7fc9f66c6dc1663cf996dbc20c10b4ecf9f5bbe9dea19b80ba89e0fc632c8dc42a7d05c59774e44b8d717bcc5ea6cf35648dd5c869f0a1d858900957654c0')
+
+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/
+}
More information about the arch-commits
mailing list