pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-sure



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jan 10 16:30:34 UTC 2022

Modified Files:
        pkgsrc/devel/py-sure: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-sure/Makefile \
    pkgsrc/devel/py-sure/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-sure/PLIST

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-sure/Makefile
diff -u pkgsrc/devel/py-sure/Makefile:1.6 pkgsrc/devel/py-sure/Makefile:1.7
--- pkgsrc/devel/py-sure/Makefile:1.6   Tue Jan  4 20:53:40 2022
+++ pkgsrc/devel/py-sure/Makefile       Mon Jan 10 16:30:33 2022
@@ -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 @@ LICENSE=     gnu-gpl-v3
 
 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"
Index: pkgsrc/devel/py-sure/distinfo
diff -u pkgsrc/devel/py-sure/distinfo:1.6 pkgsrc/devel/py-sure/distinfo:1.7
--- pkgsrc/devel/py-sure/distinfo:1.6   Tue Oct 26 10:19:06 2021
+++ pkgsrc/devel/py-sure/distinfo       Mon Jan 10 16:30:33 2022
@@ -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

Index: pkgsrc/devel/py-sure/PLIST
diff -u pkgsrc/devel/py-sure/PLIST:1.1 pkgsrc/devel/py-sure/PLIST:1.2
--- pkgsrc/devel/py-sure/PLIST:1.1      Fri Sep 29 21:17:18 2017
+++ pkgsrc/devel/py-sure/PLIST  Mon Jan 10 16:30:33 2022
@@ -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/old.pyo
 ${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



Home | Main Index | Thread Index | Old Index