pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-test-relaxed py-test-relaxed: updated to 1.1.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/c0f1f2abc0a8
branches: trunk
changeset: 378973:c0f1f2abc0a8
user: adam <adam%pkgsrc.org@localhost>
date: Wed Apr 18 07:18:21 2018 +0000
description:
py-test-relaxed: updated to 1.1.2
1.1.1:
[Bug]: Bypass pytestmark objects and attributes during our custom collection phase; we don?t need to process them ourselves, pytest is already picking up the original top level copies, and having
them percolate into nested classes was causing loud pytest collection-step warnings.
[Bug]: Installation and other setup.py activities implicitly assumed native Unicode support due to naively opening README.rst. setup.py now explicitly opens that file with a utf-8 encoding argument.
diffstat:
devel/py-test-relaxed/Makefile | 7 +++++--
devel/py-test-relaxed/distinfo | 12 ++++++------
devel/py-test-relaxed/patches/patch-setup.py | 28 +++++++++++-----------------
3 files changed, 22 insertions(+), 25 deletions(-)
diffs (74 lines):
diff -r bb16b9c6efa5 -r c0f1f2abc0a8 devel/py-test-relaxed/Makefile
--- a/devel/py-test-relaxed/Makefile Wed Apr 18 07:09:02 2018 +0000
+++ b/devel/py-test-relaxed/Makefile Wed Apr 18 07:18:21 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2017/11/26 17:20:35 adam Exp $
+# $NetBSD: Makefile,v 1.3 2018/04/18 07:18:21 adam Exp $
-DISTNAME= pytest-relaxed-1.1.0
+DISTNAME= pytest-relaxed-1.1.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-relaxed/}
@@ -16,5 +16,8 @@
USE_LANGUAGES= # none
+do-test:
+ cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r bb16b9c6efa5 -r c0f1f2abc0a8 devel/py-test-relaxed/distinfo
--- a/devel/py-test-relaxed/distinfo Wed Apr 18 07:09:02 2018 +0000
+++ b/devel/py-test-relaxed/distinfo Wed Apr 18 07:18:21 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2017/11/26 17:20:35 adam Exp $
+$NetBSD: distinfo,v 1.3 2018/04/18 07:18:21 adam Exp $
-SHA1 (pytest-relaxed-1.1.0.tar.gz) = 02e7f3c45016db5510d13b1588a563dba21c03d3
-RMD160 (pytest-relaxed-1.1.0.tar.gz) = aa48064ee34789e8caf81a62425aded09177866b
-SHA512 (pytest-relaxed-1.1.0.tar.gz) = 010e37c4d0c63bd00af8851bb50e52af7f8f17769be042e4941e8d8ba451920c24dfa6cdf74cd1b3ca4b3e1c71cd5e1ac34ffae855fc261cf431c212f98cbfff
-Size (pytest-relaxed-1.1.0.tar.gz) = 25942 bytes
-SHA1 (patch-setup.py) = c7f041172a497495edf2f97df735da9566e41acb
+SHA1 (pytest-relaxed-1.1.2.tar.gz) = c36a9704aaf35e36a71d97e36c7ba75bb33b3b72
+RMD160 (pytest-relaxed-1.1.2.tar.gz) = 2dcf2ea9b38ec66eb76dac657a51b30e5320ef54
+SHA512 (pytest-relaxed-1.1.2.tar.gz) = acb37d695c12ab399ca10434cdf5bd516e4c64b45931e85d875b2a4d95bc9f40b27c95f906ea3779f98c128cf39843311d35a78c64972d06bc555965c5758427
+Size (pytest-relaxed-1.1.2.tar.gz) = 26852 bytes
+SHA1 (patch-setup.py) = 0fc84b21cd3ec65a6670787698f368925e75d4a1
diff -r bb16b9c6efa5 -r c0f1f2abc0a8 devel/py-test-relaxed/patches/patch-setup.py
--- a/devel/py-test-relaxed/patches/patch-setup.py Wed Apr 18 07:09:02 2018 +0000
+++ b/devel/py-test-relaxed/patches/patch-setup.py Wed Apr 18 07:18:21 2018 +0000
@@ -1,21 +1,15 @@
-$NetBSD: patch-setup.py,v 1.1 2017/11/15 09:23:17 adam Exp $
+$NetBSD: patch-setup.py,v 1.2 2018/04/18 07:18:21 adam Exp $
-Open README.rst with proper encoding.
+Allow newer pytest.
---- setup.py.orig 2017-10-19 03:09:37.000000000 +0000
+--- setup.py.orig 2018-04-18 07:14:04.000000000 +0000
+++ setup.py
-@@ -1,4 +1,5 @@
- #!/usr/bin/env python
-+import io
+@@ -29,7 +29,7 @@ setup(
- from setuptools import setup, find_packages
-
-@@ -19,7 +20,7 @@ setup(
- url="https://github.com/bitprophet/pytest-relaxed",
- author='Jeff Forcier',
- author_email='jeff%bitprophet.org@localhost',
-- long_description="\n" + open('README.rst').read(),
-+ long_description="\n" + io.open('README.rst', encoding='utf-8').read(),
-
- packages=find_packages(),
- entry_points={
+ install_requires=[
+ # NOTE: pytest 3.3 broke something, not sure what yet
+- 'pytest>=3,<3.3',
++ 'pytest>=3.4',
+ # TODO: ditto; six is so widely used it's prob worth having a broad pin
+ 'six>=1,<2',
+ # TODO: ditto again!
Home |
Main Index |
Thread Index |
Old Index