[arch-commits] Commit in python-pytest-mock/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jan 12 18:21:09 UTC 2021
Date: Tuesday, January 12, 2021 @ 18:21:09
Author: felixonmars
Revision: 820182
archrelease: copy trunk to community-any
Added:
python-pytest-mock/repos/community-any/PKGBUILD
(from rev 820181, 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-12 18:20:58 UTC (rev 820181)
+++ PKGBUILD 2021-01-12 18:21:09 UTC (rev 820182)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-mock
-pkgver=3.0.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=('8c967dd5aea1a26411a0b3d1347714551aad8fe5bab9ad3847d30d3a6a69dbfc5abd1e9eaaddae6771348715887dac68ce7c54bb553a4f8b5abb4abc9a7ad9ce')
-
-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 820181, python-pytest-mock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-12 18:21:09 UTC (rev 820182)
@@ -0,0 +1,33 @@
+# 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
+}
More information about the arch-commits
mailing list