diff options
author | adam <adam@pkgsrc.org> | 2018-04-18 07:18:21 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-04-18 07:18:21 +0000 |
commit | cec0cd2a8eef6b3d919da660e3958882206f5122 (patch) | |
tree | 6a25cd5ad1bb7a4b40865d8f239bb539f45352c5 /devel | |
parent | 6cab473a94496849bb5ec2557cbde8aae0fa06a5 (diff) | |
download | pkgsrc-cec0cd2a8eef6b3d919da660e3958882206f5122.tar.gz |
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 (limited to 'devel')
-rw-r--r-- | devel/py-test-relaxed/Makefile | 7 | ||||
-rw-r--r-- | devel/py-test-relaxed/distinfo | 12 | ||||
-rw-r--r-- | devel/py-test-relaxed/patches/patch-setup.py | 28 |
3 files changed, 22 insertions, 25 deletions
diff --git a/devel/py-test-relaxed/Makefile b/devel/py-test-relaxed/Makefile index 3677ede43a5..738d1d5aec8 100644 --- a/devel/py-test-relaxed/Makefile +++ b/devel/py-test-relaxed/Makefile @@ -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 @@ DEPENDS+= ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test USE_LANGUAGES= # none +do-test: + cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX} + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/py-test-relaxed/distinfo b/devel/py-test-relaxed/distinfo index f6745db5222..ccbe625a39c 100644 --- a/devel/py-test-relaxed/distinfo +++ b/devel/py-test-relaxed/distinfo @@ -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 --git a/devel/py-test-relaxed/patches/patch-setup.py b/devel/py-test-relaxed/patches/patch-setup.py index 77ae628203b..343e84be6f0 100644 --- a/devel/py-test-relaxed/patches/patch-setup.py +++ b/devel/py-test-relaxed/patches/patch-setup.py @@ -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', -- 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! |