[arch-commits] Commit in python-pytest-mock/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Mon Feb 14 17:05:55 UTC 2022


    Date: Monday, February 14, 2022 @ 17:05:54
  Author: felixonmars
Revision: 1133202

archrelease: copy trunk to community-any

Added:
  python-pytest-mock/repos/community-any/PKGBUILD
    (from rev 1133201, 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-02-14 17:05:46 UTC (rev 1133201)
+++ PKGBUILD	2022-02-14 17:05:54 UTC (rev 1133202)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-mock
-pkgver=3.6.1
-pkgrel=3
-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=('0a227799af85e4703bef32cf7922573a69ec84fbe35b502b5b96a660a8baa42b9fb1ff8d93115461d23af0c1b18c45cdc67e4695a31713c6553ffc73053448ad')
-
-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 1133201, python-pytest-mock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-14 17:05:54 UTC (rev 1133202)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-mock
+pkgver=3.7.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=('567e6f4144304b32d395a67e5762006202889b6b078a8a5064495684caaecce1205d37982c116ccc2f43cac4de5695cdc38c3197c40598424e41a2967053f520')
+
+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
+}



More information about the arch-commits mailing list