pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test-relaxed
Module Name: pkgsrc
Committed By: adam
Date: Wed Apr 18 07:18:21 UTC 2018
Modified Files:
pkgsrc/devel/py-test-relaxed: Makefile distinfo
pkgsrc/devel/py-test-relaxed/patches: patch-setup.py
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-test-relaxed/Makefile \
pkgsrc/devel/py-test-relaxed/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-test-relaxed/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-relaxed/Makefile
diff -u pkgsrc/devel/py-test-relaxed/Makefile:1.2 pkgsrc/devel/py-test-relaxed/Makefile:1.3
--- pkgsrc/devel/py-test-relaxed/Makefile:1.2 Sun Nov 26 17:20:35 2017
+++ pkgsrc/devel/py-test-relaxed/Makefile Wed Apr 18 07:18:21 2018
@@ -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:../
USE_LANGUAGES= # none
+do-test:
+ cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test-relaxed/distinfo
diff -u pkgsrc/devel/py-test-relaxed/distinfo:1.2 pkgsrc/devel/py-test-relaxed/distinfo:1.3
--- pkgsrc/devel/py-test-relaxed/distinfo:1.2 Sun Nov 26 17:20:35 2017
+++ pkgsrc/devel/py-test-relaxed/distinfo Wed Apr 18 07:18:21 2018
@@ -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
Index: pkgsrc/devel/py-test-relaxed/patches/patch-setup.py
diff -u pkgsrc/devel/py-test-relaxed/patches/patch-setup.py:1.1 pkgsrc/devel/py-test-relaxed/patches/patch-setup.py:1.2
--- pkgsrc/devel/py-test-relaxed/patches/patch-setup.py:1.1 Wed Nov 15 09:23:17 2017
+++ pkgsrc/devel/py-test-relaxed/patches/patch-setup.py Wed Apr 18 07:18:21 2018
@@ -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