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

Felix Yan felixonmars at archlinux.org
Wed Jan 13 12:01:01 UTC 2021


    Date: Wednesday, January 13, 2021 @ 12:01:00
  Author: felixonmars
Revision: 820421

archrelease: copy trunk to community-any

Added:
  python-pytest-mock/repos/community-any/PKGBUILD
    (from rev 820420, python-pytest-mock/trunk/PKGBUILD)
Deleted:
  python-pytest-mock/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-13 12:00:49 UTC (rev 820420)
+++ PKGBUILD	2021-01-13 12:01:00 UTC (rev 820421)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-mock
-pkgver=3.1.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')
-# TODO: figure out why they fail
-#checkdepends=('python-pytest-asyncio')
-source=("https://github.com/pytest-dev/pytest-mock/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('bbc787f9b39edf2e29446028f00c957b60fef311d1b3b0ace234c037904c97b10ea8e63041370d891bbcd5f260582d8f292958f447547f1f77d280be8f249a16')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd pytest-mock-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pytest-mock-$pkgver
-  python setup.py egg_info
-  PYTHONPATH="$PWD:$PWD/src" pytest
-}
-
-package() {
-  cd pytest-mock-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-pytest-mock/repos/community-any/PKGBUILD (from rev 820420, python-pytest-mock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-13 12:01:00 UTC (rev 820421)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-mock
+pkgver=3.1.1
+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')
+# TODO: figure out why they fail
+#checkdepends=('python-pytest-asyncio')
+source=("https://github.com/pytest-dev/pytest-mock/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('341ff1251b60a9f61f46f6ee5658337beee4ba903c7fc6b6ac9d1d6369316d70b25ce14fa57e928110bd42b9d0872cd34e5db47d51af4e2291580ac0f5c874ed')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd pytest-mock-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pytest-mock-$pkgver
+  python setup.py egg_info
+  PYTHONPATH="$PWD:$PWD/src" pytest
+}
+
+package() {
+  cd pytest-mock-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list