pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-test-mock py-test-mock: updated to 1.7.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/249e1cd24d63
branches: trunk
changeset: 375822:249e1cd24d63
user: adam <adam%pkgsrc.org@localhost>
date: Thu Feb 22 09:49:46 2018 +0000
description:
py-test-mock: updated to 1.7.0
1.7.0:
Incompatible change
pytest-mock no longer supports Python 2.6 and Python 3.3, following the lead of pytest and other projects in the community.
Packaging
Fix mock requirement in Python 2.
Internal
Some tests in pytest-mock's suite are skipped if assertion rewriting is disabled
diffstat:
devel/py-test-mock/Makefile | 8 ++++----
devel/py-test-mock/distinfo | 11 ++++++-----
devel/py-test-mock/patches/patch-setup.py | 20 ++++++++++++++++++++
3 files changed, 30 insertions(+), 9 deletions(-)
diffs (60 lines):
diff -r a12d9c15153b -r 249e1cd24d63 devel/py-test-mock/Makefile
--- a/devel/py-test-mock/Makefile Thu Feb 22 09:36:36 2018 +0000
+++ b/devel/py-test-mock/Makefile Thu Feb 22 09:49:46 2018 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.5 2017/09/18 17:01:25 adam Exp $
+# $NetBSD: Makefile,v 1.6 2018/02/22 09:49:46 adam Exp $
-DISTNAME= pytest-mock-1.6.3
+DISTNAME= pytest-mock-1.7.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
-CATEGORIES= devel
+CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-mock/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://pypi.python.org/pypi/pytest-mock
+HOMEPAGE= https://github.com/pytest-dev/pytest-mock
COMMENT= Thin-wrapper around the mock package for easier use with py.test
LICENSE= mit
diff -r a12d9c15153b -r 249e1cd24d63 devel/py-test-mock/distinfo
--- a/devel/py-test-mock/distinfo Thu Feb 22 09:36:36 2018 +0000
+++ b/devel/py-test-mock/distinfo Thu Feb 22 09:49:46 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2017/09/18 17:01:25 adam Exp $
+$NetBSD: distinfo,v 1.4 2018/02/22 09:49:46 adam Exp $
-SHA1 (pytest-mock-1.6.3.tar.gz) = 4d71bb3d158d250bb3120b67199347bf59b7fc7d
-RMD160 (pytest-mock-1.6.3.tar.gz) = 16aeab0fc88e67ae6b01f40b20af37949583db6c
-SHA512 (pytest-mock-1.6.3.tar.gz) = 6857f373728d3f2c6b152d4f89da3590e2e74795695dc9f4f3704a4e0250e49d705ce0de4121a801ac35c83217678a95a5023338124293ca74db406941f5072a
-Size (pytest-mock-1.6.3.tar.gz) = 18482 bytes
+SHA1 (pytest-mock-1.7.0.tar.gz) = 55490feb5a6efb7eb4d1d05ed155d21c7b25e1e4
+RMD160 (pytest-mock-1.7.0.tar.gz) = 28f1c08e9725642f6b0232a5f469faacf3f47a48
+SHA512 (pytest-mock-1.7.0.tar.gz) = 519505d862151158caa2514804fbaab1c61fe279bf5a1c11c0d6fe6ad6d5b1217f32ec5d1ecf35224e2cb7cc62c5fc9975f47325b274cda9748686447abebbf6
+Size (pytest-mock-1.7.0.tar.gz) = 20107 bytes
+SHA1 (patch-setup.py) = 6ca411e93e1268e242393852db784abcfab4bb82
diff -r a12d9c15153b -r 249e1cd24d63 devel/py-test-mock/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-mock/patches/patch-setup.py Thu Feb 22 09:49:46 2018 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-setup.py,v 1.1 2018/02/22 09:49:46 adam Exp $
+
+Use proper encoding.
+
+--- setup.py.orig 2018-02-22 09:45:05.000000000 +0000
++++ setup.py
+@@ -1,3 +1,4 @@
++import io
+ from setuptools import setup
+
+
+@@ -20,7 +21,7 @@ setup(
+ author='Bruno Oliveira',
+ author_email='nicoddemus%gmail.com@localhost',
+ description='Thin-wrapper around the mock package for easier use with py.test',
+- long_description=open('README.rst').read(),
++ long_description=io.open('README.rst', encoding='utf-8').read(),
+ keywords="pytest mock",
+ classifiers=[
+ 'Development Status :: 5 - Production/Stable',
Home |
Main Index |
Thread Index |
Old Index