pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test-mock
Module Name: pkgsrc
Committed By: adam
Date: Thu Feb 22 09:49:46 UTC 2018
Modified Files:
pkgsrc/devel/py-test-mock: Makefile distinfo
Added Files:
pkgsrc/devel/py-test-mock/patches: patch-setup.py
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-test-mock/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-test-mock/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test-mock/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-test-mock/Makefile
diff -u pkgsrc/devel/py-test-mock/Makefile:1.5 pkgsrc/devel/py-test-mock/Makefile:1.6
--- pkgsrc/devel/py-test-mock/Makefile:1.5 Mon Sep 18 17:01:25 2017
+++ pkgsrc/devel/py-test-mock/Makefile Thu Feb 22 09:49:46 2018
@@ -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
Index: pkgsrc/devel/py-test-mock/distinfo
diff -u pkgsrc/devel/py-test-mock/distinfo:1.3 pkgsrc/devel/py-test-mock/distinfo:1.4
--- pkgsrc/devel/py-test-mock/distinfo:1.3 Mon Sep 18 17:01:25 2017
+++ pkgsrc/devel/py-test-mock/distinfo Thu Feb 22 09:49:46 2018
@@ -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
Added files:
Index: pkgsrc/devel/py-test-mock/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-test-mock/patches/patch-setup.py:1.1
--- /dev/null Thu Feb 22 09:49:46 2018
+++ pkgsrc/devel/py-test-mock/patches/patch-setup.py Thu Feb 22 09:49:46 2018
@@ -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