pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-sure py-sure: updated to 2.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db6420974191
branches:  trunk
changeset: 371470:db6420974191
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jan 10 16:30:33 2022 +0000

description:
py-sure: updated to 2.0.0

2.0.0:
Fixed
No longer patch the builtin dir() function, which fixes pytest in some cases such as projects using gevent.

diffstat:

 devel/py-sure/Makefile |  18 ++++++++++++++----
 devel/py-sure/PLIST    |  13 ++++++++++++-
 devel/py-sure/distinfo |   8 ++++----
 3 files changed, 30 insertions(+), 9 deletions(-)

diffs (84 lines):

diff -r 2e10e573c9c2 -r db6420974191 devel/py-sure/Makefile
--- a/devel/py-sure/Makefile    Mon Jan 10 16:15:53 2022 +0000
+++ b/devel/py-sure/Makefile    Mon Jan 10 16:30:33 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2022/01/04 20:53:40 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2022/01/10 16:30:33 adam Exp $
 
-DISTNAME=      sure-1.4.11
+DISTNAME=      sure-2.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/sure/}
 
@@ -13,9 +12,20 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
 
 USE_LANGUAGES= # none
 
+USE_PKG_RESOURCES=     yes
+
+PYTHON_VERSIONED_DEPENDENCIES= test:test
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} sure sure-${PYVERSSUFFIX} || ${TRUE}
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2e10e573c9c2 -r db6420974191 devel/py-sure/PLIST
--- a/devel/py-sure/PLIST       Mon Jan 10 16:15:53 2022 +0000
+++ b/devel/py-sure/PLIST       Mon Jan 10 16:30:33 2022 +0000
@@ -1,12 +1,17 @@
-@comment $NetBSD: PLIST,v 1.1 2017/09/29 21:17:18 joerg Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/01/10 16:30:33 adam Exp $
+bin/sure-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/sure/__init__.py
 ${PYSITELIB}/sure/__init__.pyc
 ${PYSITELIB}/sure/__init__.pyo
+${PYSITELIB}/sure/cli.py
+${PYSITELIB}/sure/cli.pyc
+${PYSITELIB}/sure/cli.pyo
 ${PYSITELIB}/sure/compat.py
 ${PYSITELIB}/sure/compat.pyc
 ${PYSITELIB}/sure/compat.pyo
@@ -25,6 +30,12 @@
 ${PYSITELIB}/sure/registry.py
 ${PYSITELIB}/sure/registry.pyc
 ${PYSITELIB}/sure/registry.pyo
+${PYSITELIB}/sure/stubs.py
+${PYSITELIB}/sure/stubs.pyc
+${PYSITELIB}/sure/stubs.pyo
 ${PYSITELIB}/sure/terminal.py
 ${PYSITELIB}/sure/terminal.pyc
 ${PYSITELIB}/sure/terminal.pyo
+${PYSITELIB}/sure/version.py
+${PYSITELIB}/sure/version.pyc
+${PYSITELIB}/sure/version.pyo
diff -r 2e10e573c9c2 -r db6420974191 devel/py-sure/distinfo
--- a/devel/py-sure/distinfo    Mon Jan 10 16:15:53 2022 +0000
+++ b/devel/py-sure/distinfo    Mon Jan 10 16:30:33 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:19:06 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/01/10 16:30:33 adam Exp $
 
-BLAKE2s (sure-1.4.11.tar.gz) = 6c1300ef4fd628732274de075e9d207cce13b4bcecf25b648d8b9efe9aed4dc7
-SHA512 (sure-1.4.11.tar.gz) = ed067385bf9cf317a5d55f6c5fc6ee54ee3d592825be398e47c37d31fc9c010cb9316d4e2bcf1d72d53d7e53fd470792d64348aa2bfa5dc43510daaff97742da
-Size (sure-1.4.11.tar.gz) = 45933 bytes
+BLAKE2s (sure-2.0.0.tar.gz) = cf9db511dbbcd4aa1b9c5b8c35f53604c27bdd82fddbf6fb45cef644cae9def2
+SHA512 (sure-2.0.0.tar.gz) = 8286846374c2bfc773444e90bf4f9c0b0d66d0229afa53af63025bfec690bf8bcc959f86c238ca5244c6a29099e955691771b0eb954af479bde2f17e51f6f1de
+Size (sure-2.0.0.tar.gz) = 46747 bytes



Home | Main Index | Thread Index | Old Index