Date: Wednesday, September 28, 2022 @ 21:06:45
Author: felixonmars
Revision: 1315682
archrelease: copy trunk to community-any
Added:
python-pytest-mock/repos/community-any/PKGBUILD
(from rev 1315681, python-pytest-mock/trunk/PKGBUILD)
Deleted:
python-pytest-mock/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-28 21:06:34 UTC (rev 1315681)
+++ PKGBUILD 2022-09-28 21:06:45 UTC (rev 1315682)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pytest-mock
-pkgver=3.8.2
-pkgrel=1
-pkgdesc="Thin-wrapper around the mock package for easier use with py.test"
-arch=('any')
-license=('LGPL3')
-url="https://github.com/pytest-dev/pytest-mock/"
-depends=('python-pytest')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-pytest-asyncio')
-source=("https://github.com/pytest-dev/pytest-mock/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('66f1c9eb31d4cc3ebd5104227f5c8ead06e7f1c0c3d87f615960a75851eaa096ca3499059d2c969d36f77eecb4ffa276fc602fb2a08600215cf6c0663bbba82b')
-
-build() {
- cd pytest-mock-$pkgver
- export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
- python setup.py build
-}
-
-check() {
- cd pytest-mock-$pkgver
- python setup.py egg_info
- export PYTHONPATH="src:${PYTHONPATH}"
- # disable all tests that require the plugin to be installed
- pytest -v --assert=plain \
- -k "not test_used_with_session_scope \
- and not test_used_with_package_scope \
- and not test_used_with_module_scope \
- and not test_used_with_class_scope \
- and not test_monkeypatch_ini \
- and not test_monkeypatch_native \
- and not test_standalone_mock \
- and not test_plain_stopall"
-}
-
-package() {
- cd pytest-mock-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-pytest-mock/repos/community-any/PKGBUILD (from rev 1315681,
python-pytest-mock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-28 21:06:45 UTC (rev 1315682)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pytest-mock
+pkgver=3.9.0
+pkgrel=1
+pkgdesc="Thin-wrapper around the mock package for easier use with py.test"
+arch=('any')
+license=('LGPL3')
+url="https://github.com/pytest-dev/pytest-mock/"
+depends=('python-pytest')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-asyncio')
+source=("https://github.com/pytest-dev/pytest-mock/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('4b7d2875c95b1306c6c526292c793b5637c2dab383aff3425bf99c7e35677b321c8c8548c4665aa6097e17e079a99e0f29566e2bf9cb156566bed3c4e1d85e1d')
+
+build() {
+ cd pytest-mock-$pkgver
+ export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+ python setup.py build
+}
+
+check() {
+ cd pytest-mock-$pkgver
+ python setup.py egg_info
+ export PYTHONPATH="src:${PYTHONPATH}"
+ # disable all tests that require the plugin to be installed
+ pytest -v --assert=plain \
+ -k "not test_used_with_session_scope \
+ and not test_used_with_package_scope \
+ and not test_used_with_module_scope \
+ and not test_used_with_class_scope \
+ and not test_monkeypatch_ini \
+ and not test_monkeypatch_native \
+ and not test_standalone_mock \
+ and not test_plain_stopall"
+}
+
+package() {
+ cd pytest-mock-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}