Re: Update devel/py-asn1 to 0.4.7
On 03/10/2019 06:07, Kurt Mosiejczuk wrote: On Wed, Sep 25, 2019 at 01:40:16PM +0200, clematis wrote: Here's the results (amd64): /usr/ports/security/py-cryptography test: 96549 passed, 10427 skipped install: OK /usr/ports/security/py-service_identity test: OK (total of 99 passed) install: OK /usr/ports/security/py-paramiko test: 137 ran, 67errors install: OK /usr/ports/security/letsencrypt/py-acme test: No regression tests for py-acme-0.38.0 install: OK /usr/ports/www/py-ndg-httpsclient test: run=14 errors=8 failures=1 (as before) install: OK /usr/ports/security/py-rsa test: OK 74 passed 1 error install: OK Looks good. Comments? OK? There's no need for the do-test definition. Tests run just fine without it. Otherwise, OK kmos. benoit? Any comments or objections? I'm including a new copy of the diff. No, ok benoit@ --Kurt Index: Makefile === RCS file: /cvs/ports/devel/py-asn1/Makefile,v retrieving revision 1.32 diff -u -p -r1.32 Makefile --- Makefile12 Jul 2019 20:45:17 - 1.32 +++ Makefile3 Oct 2019 04:07:21 - @@ -2,12 +2,11 @@ COMMENT = ASN.1 library for Python -MODPY_EGG_VERSION = 0.3.7 +MODPY_EGG_VERSION =0.4.7 DISTNAME =pyasn1-${MODPY_EGG_VERSION} PKGNAME = ${DISTNAME:S/py/py-/} CATEGORIES = devel EPOCH = 0 -REVISION = 0 HOMEPAGE = https://github.com/etingof/pyasn1 @@ -25,8 +24,5 @@ FLAVORS = python3 FLAVOR ?= TEST_ENV += PYTHONPATH=${WRKINST}/${MODPY_SITEPKG} - -do-test: fake - @${MODPY_TEST_TARGET} .include Index: distinfo === RCS file: /cvs/ports/devel/py-asn1/distinfo,v retrieving revision 1.18 diff -u -p -r1.18 distinfo --- distinfo24 Oct 2017 05:53:09 - 1.18 +++ distinfo3 Oct 2019 04:07:21 - @@ -1,2 +1,2 @@ -SHA256 (pyasn1-0.3.7.tar.gz) = GH8qZtYXaD+OgtXAADO3yKAofh2oip1XeuvsMhytSWU= -SIZE (pyasn1-0.3.7.tar.gz) = 115350 +SHA256 (pyasn1-0.4.7.tar.gz) = qUlTVsodZu0Zeg9ytB6xgjz36otb0HGRZz6BR67PhgQ= +SIZE (pyasn1-0.4.7.tar.gz) = 130424 Index: pkg/DESCR === RCS file: /cvs/ports/devel/py-asn1/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 DESCR --- pkg/DESCR 28 Sep 2006 17:13:32 - 1.1.1.1 +++ pkg/DESCR 3 Oct 2019 04:07:21 - @@ -1,4 +1,4 @@ -pyasn1 is an implementation of ASN.1 types and codecs in Python -programming language. It has been first written to support particular -protocol (SNMP) but then generalized to be suitable for a wide range of -protocols based on ASN.1 specification. +pyasn1 is an implementation of ASN.1 types and DER/BER/CER codecs in +Python programming language. It has been first written to support +particular protocol (SNMP) but then generalized to be suitable for a +wide range of protocols based on ASN.1 specification. Index: pkg/PLIST === RCS file: /cvs/ports/devel/py-asn1/pkg/PLIST,v retrieving revision 1.10 diff -u -p -r1.10 PLIST --- pkg/PLIST 24 Oct 2017 05:53:09 - 1.10 +++ pkg/PLIST 3 Oct 2019 04:07:21 - @@ -77,6 +77,7 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/pyasn1/type/${MODPY_PYCACHE}error.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/pyasn1/type/${MODPY_PYCACHE}namedtype.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/pyasn1/type/${MODPY_PYCACHE}namedval.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/pyasn1/type/${MODPY_PYCACHE}opentype.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/pyasn1/type/${MODPY_PYCACHE}tag.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/pyasn1/type/${MODPY_PYCACHE}tagmap.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/pyasn1/type/${MODPY_PYCACHE}univ.${MODPY_PYC_MAGIC_TAG}pyc @@ -87,6 +88,7 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/pyasn1/type/error.py lib/python${MODPY_VERSION}/site-packages/pyasn1/type/namedtype.py lib/python${MODPY_VERSION}/site-packages/pyasn1/type/namedval.py +lib/python${MODPY_VERSION}/site-packages/pyasn1/type/opentype.py lib/python${MODPY_VERSION}/site-packages/pyasn1/type/tag.py lib/python${MODPY_VERSION}/site-packages/pyasn1/type/tagmap.py lib/python${MODPY_VERSION}/site-packages/pyasn1/type/univ.py
Re: Update devel/py-asn1 to 0.4.7
On Sat, Sep 21, 2019 at 01:23:43PM -0400, Kurt Mosiejczuk wrote: > There's also the python 2.7 flavor to test. There's also 9 ports that use > it as a TEST_DEPENDS (that number expands to 12 for RUN_DEPENDS). Did you > test those? Hi Kurt, In regards to python 2.7: 2 failed, 1097 passed I've doubled check the python 3 tests: 1133 passed, 8 warnings I've done some more testing with py3, they all build and install OK, various results regarding the tests. /usr/ports/databases/py-ldap,python3 test: failed (would need to investigate further) install: OK /usr/ports/devel/py-asn1-modules,python3 test: OK (93 passed) install: OK /usr/ports/databases/py-ldap3,python3 test: run=2 errors=2 failures=0 install: OK /usr/ports/devel/py-twisted,python3 test: get stuck (would need to investigate further) install: OK /usr/ports/security/py-cryptography,python3 test: OK (96549 passed, 10427 skipped) install: OK /usr/ports/security/py-service_identity,python3 test: OK (99 passed) install: OK /usr/ports/security/py-paramiko,python3 test: run=173 error=67 install: OK /usr/ports/security/letsencrypt/py-acme,python3 test: No regression tests for py3-acme-0.38.0 install: OK /usr/ports/www/py-ndg-httpsclient,python3 test: run=14 errors=8 failures=1 install: OK /usr/ports/security/py-rsa,python3 test: OK (74 passed, 1 error) install: OK /usr/ports/net/py-snmp,python3 test: No regression tests for py3-snmp-4.4.6 install: OK > https://github.com/danieljakots/obsd-ports-tools Thanks! I will also run some more tests with py2.7. Cheers, -- clematis (0x7e96fd2400fe7b59)
Update devel/py-asn1 to 0.4.7
Hi Team, Here's an update for devel/py-asn1 from 0.3.7 to 0.4.7. Built and installed OK on amd64. Newer devel/py-asn1-modules (which I will submit an update later on) could also build and install OK with this new version. Tested by running ZeroNet which has py-asn1 as a requirement. This was the initial motivator to update it just so once again all deps are cleanly managed in ports/ rather than mixing some up with pip3.7. Tests: platform openbsd6 -- Python 3.7.4, pytest-4.4.0, py-1.8.0, pluggy-0.11.0 1133 passed, 8 warnings Deprecations Warnings being: The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python. Regards, -- clematis (0x7e96fd2400fe7b59) ? diff-devel_pyasn1 Index: Makefile === RCS file: /cvs/ports/devel/py-asn1/Makefile,v retrieving revision 1.32 diff -u -p -r1.32 Makefile --- Makefile12 Jul 2019 20:45:17 - 1.32 +++ Makefile20 Sep 2019 07:23:12 - @@ -1,13 +1,12 @@ -# $OpenBSD: Makefile,v 1.32 2019/07/12 20:45:17 sthen Exp $ +# $OpenBSD:$ COMMENT = ASN.1 library for Python -MODPY_EGG_VERSION =0.3.7 +MODPY_EGG_VERSION =0.4.7 DISTNAME = pyasn1-${MODPY_EGG_VERSION} PKGNAME = ${DISTNAME:S/py/py-/} CATEGORIES = devel EPOCH =0 -REVISION = 0 HOMEPAGE = https://github.com/etingof/pyasn1 Index: distinfo === RCS file: /cvs/ports/devel/py-asn1/distinfo,v retrieving revision 1.18 diff -u -p -r1.18 distinfo --- distinfo24 Oct 2017 05:53:09 - 1.18 +++ distinfo20 Sep 2019 07:23:12 - @@ -1,2 +1,2 @@ -SHA256 (pyasn1-0.3.7.tar.gz) = GH8qZtYXaD+OgtXAADO3yKAofh2oip1XeuvsMhytSWU= -SIZE (pyasn1-0.3.7.tar.gz) = 115350 +SHA256 (pyasn1-0.4.7.tar.gz) = qUlTVsodZu0Zeg9ytB6xgjz36otb0HGRZz6BR67PhgQ= +SIZE (pyasn1-0.4.7.tar.gz) = 130424 Index: pkg/DESCR === RCS file: /cvs/ports/devel/py-asn1/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 DESCR --- pkg/DESCR 28 Sep 2006 17:13:32 - 1.1.1.1 +++ pkg/DESCR 20 Sep 2019 07:23:12 - @@ -1,4 +1,4 @@ -pyasn1 is an implementation of ASN.1 types and codecs in Python -programming language. It has been first written to support particular -protocol (SNMP) but then generalized to be suitable for a wide range of -protocols based on ASN.1 specification. +pyasn1 is an implementation of ASN.1 types and DER/BER/CER codecs in +Python programming language. It has been first written to support +particular protocol (SNMP) but then generalized to be suitable for a +wide range of protocols based on ASN.1 specification. Index: pkg/PLIST === RCS file: /cvs/ports/devel/py-asn1/pkg/PLIST,v retrieving revision 1.10 diff -u -p -r1.10 PLIST --- pkg/PLIST 24 Oct 2017 05:53:09 - 1.10 +++ pkg/PLIST 20 Sep 2019 07:23:12 - @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.10 2017/10/24 05:53:09 benoit Exp $ +@comment $OpenBSD: PLIST,v$ lib/python${MODPY_VERSION}/site-packages/pyasn1/ lib/python${MODPY_VERSION}/site-packages/pyasn1-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ lib/python${MODPY_VERSION}/site-packages/pyasn1-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO @@ -77,6 +77,7 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/pyasn1/type/${MODPY_PYCACHE}error.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/pyasn1/type/${MODPY_PYCACHE}namedtype.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/pyasn1/type/${MODPY_PYCACHE}namedval.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/pyasn1/type/${MODPY_PYCACHE}opentype.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/pyasn1/type/${MODPY_PYCACHE}tag.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/pyasn1/type/${MODPY_PYCACHE}tagmap.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/pyasn1/type/${MODPY_PYCACHE}univ.${MODPY_PYC_MAGIC_TAG}pyc @@ -87,6 +88,7 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/pyasn1/type/error.py lib/python${MODPY_VERSION}/site-packages/pyasn1/type/namedtype.py lib/python${MODPY_VERSION}/site-packages/pyasn1/type/namedval.py +lib/python${MODPY_VERSION}/site-packages/pyasn1/type/opentype.py lib/python${MODPY_VERSION}/site-packages/pyasn1/type/tag.py lib/python${MODPY_VERSION}/site-packages/pyasn1/type/tagmap.py lib/python${MODPY_VERSION}/site-packages/pyasn1/type/univ.py