Date: Friday, November 18, 2022 @ 20:51:02
Author: jelle
Revision: 1349616
archrelease: copy trunk to community-any
Added:
python-fixtures/repos/community-any/PKGBUILD
(from rev 1349615, python-fixtures/trunk/PKGBUILD)
Deleted:
python-fixtures/repos/community-any/PKGBUILD
----------+
PKGBUILD | 61 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 33 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-18 20:50:45 UTC (rev 1349615)
+++ PKGBUILD 2022-11-18 20:51:02 UTC (rev 1349616)
@@ -1,28 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-fixtures
-pkgver=4.0.1
-pkgrel=1
-pkgdesc="Fixtures, reusable state for writing clean tests and more"
-arch=('any')
-license=('Apache')
-url="https://launchpad.net/python-fixtures"
-depends=('python-pbr' 'python-six' 'python-testtools')
-checkdepends=('python-subunit' 'python-mock')
-source=("https://pypi.io/packages/source/f/fixtures/fixtures-$pkgver.tar.gz")
-sha512sums=('722436f146768e4db1e3312a0db1edab2a7daa86107825fb2436654eaf74e00f569357531316df506ef3f80cef89ac7185aee1adf0b00a6ee85cbc9811ca8100')
-
-build() {
- cd fixtures-$pkgver
- python setup.py build
-}
-
-check() {
- cd fixtures-$pkgver
- python -m testtools.run fixtures.test_suite
-}
-
-package() {
- cd fixtures-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-fixtures/repos/community-any/PKGBUILD (from rev 1349615,
python-fixtures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-18 20:51:02 UTC (rev 1349616)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-fixtures
+pkgver=4.0.1
+pkgrel=2
+pkgdesc="Fixtures, reusable state for writing clean tests and more"
+arch=('any')
+license=('Apache')
+url="https://launchpad.net/python-fixtures"
+depends=('python-pbr' 'python-six' 'python-testtools')
+checkdepends=('python-subunit')
+source=("https://pypi.io/packages/source/f/fixtures/fixtures-$pkgver.tar.gz")
+sha512sums=('722436f146768e4db1e3312a0db1edab2a7daa86107825fb2436654eaf74e00f569357531316df506ef3f80cef89ac7185aee1adf0b00a6ee85cbc9811ca8100')
+
+prepare() {
+ cd fixtures-$pkgver
+ sed -i 's/import mock/from unittest import mock/'
fixtures/tests/_fixtures/test_mockpatch.py
+}
+
+build() {
+ cd fixtures-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd fixtures-$pkgver
+ python -m testtools.run fixtures.test_suite
+}
+
+package() {
+ cd fixtures-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}