[arch-commits] Commit in python-pytest-mock/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Nov 6 08:06:26 UTC 2019


    Date: Wednesday, November 6, 2019 @ 08:06:25
  Author: felixonmars
Revision: 524263

bump to fix for python 3.8

Modified:
  python-pytest-mock/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-06 04:32:17 UTC (rev 524262)
+++ PKGBUILD	2019-11-06 08:06:25 UTC (rev 524263)
@@ -2,8 +2,8 @@
 
 pkgbase=python-pytest-mock
 pkgname=('python-pytest-mock' 'python2-pytest-mock')
-pkgver=1.10.4
-pkgrel=2
+pkgver=1.11.0
+pkgrel=0
 pkgdesc="Thin-wrapper around the mock package for easier use with py.test"
 arch=('any')
 license=('LGPL3')
@@ -10,13 +10,13 @@
 url="https://github.com/pytest-dev/pytest-mock/"
 makedepends=('python-pytest' 'python2-pytest' 'python2-mock' 'python-setuptools-scm'
              'python2-setuptools-scm')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-mock/archive/$pkgver.tar.gz")
-sha512sums=('5825f051a21d25027c413265bff98d7d4d0d98a4b2648d87ab247a942670133eb96091e4504c87f46b7c9d63e1e7c7e294c212761c9f3348ccfabcc129c57c35')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-mock/archive/v$pkgver.tar.gz")
+sha512sums=('697826d7c11c9f6b27e53b997c186d4d5129491fcdd933611fc5f740bf67d92395fd6a948c8be1d99b2f1019bd4915aa3bd94942d23885dbacabdd78ccc6c0f8')
 
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
 prepare() {
   cp -a pytest-mock-$pkgver{,-py2}
-
-  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
 }
 
 build() {



More information about the arch-commits mailing list