OK, no problem. Updated diff attached. On 04/12, Stuart Henderson wrote: > Please only use NO_TEST if there are no tests and it fails, for these > where it succeeds but runs 0 tests it's better to keep them, maybe some > tests will be added later.
-- With best regards, Pavel Korovin
Index: Makefile =================================================================== RCS file: /cvs/ports/devel/py-certifi/Makefile,v retrieving revision 1.15 diff -u -p -r1.15 Makefile --- Makefile 14 May 2017 11:36:20 -0000 1.15 +++ Makefile 12 Apr 2018 14:03:29 -0000 @@ -2,7 +2,7 @@ COMMENT = Python package to check certificates using the OpenBSD CA -MODPY_EGG_VERSION = 2017.4.17 +MODPY_EGG_VERSION = 2018.1.18 DISTNAME = certifi-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} CATEGORIES = devel security Index: patches/patch-certifi_core_py =================================================================== RCS file: /cvs/ports/devel/py-certifi/patches/patch-certifi_core_py,v retrieving revision 1.3 diff -u -p -r1.3 patch-certifi_core_py --- patches/patch-certifi_core_py 7 Feb 2016 15:32:28 -0000 1.3 +++ patches/patch-certifi_core_py 12 Apr 2018 14:03:29 -0000 @@ -1,11 +1,12 @@ $OpenBSD: patch-certifi_core_py,v 1.3 2016/02/07 15:32:28 shadchin Exp $ ---- certifi/core.py.orig Sun Sep 6 08:24:20 2015 -+++ certifi/core.py Sun Jan 24 23:02:08 2016 +Index: certifi/core.py +--- certifi/core.py.orig ++++ certifi/core.py @@ -19,9 +19,7 @@ class DeprecatedBundleWarning(DeprecationWarning): def where(): -- f = os.path.split(__file__)[0] +- f = os.path.dirname(__file__) - - return os.path.join(f, 'cacert.pem') + return '/etc/ssl/cert.pem' Index: patches/patch-setup_py =================================================================== RCS file: /cvs/ports/devel/py-certifi/patches/patch-setup_py,v retrieving revision 1.3 diff -u -p -r1.3 patch-setup_py --- patches/patch-setup_py 4 Sep 2016 17:42:18 -0000 1.3 +++ patches/patch-setup_py 12 Apr 2018 14:03:29 -0000 @@ -1,6 +1,7 @@ $OpenBSD: patch-setup_py,v 1.3 2016/09/04 17:42:18 czarkoff Exp $ ---- setup.py.orig Tue Aug 2 10:00:36 2016 -+++ setup.py Sun Sep 4 19:38:25 2016 +Index: setup.py +--- setup.py.orig ++++ setup.py @@ -43,10 +43,6 @@ setup( packages=[ 'certifi', @@ -9,6 +10,6 @@ $OpenBSD: patch-setup_py,v 1.3 2016/09/0 - package_data={'certifi': ['*.pem']}, - # data_files=[('certifi', ['certifi/cacert.pem'])], - include_package_data=True, - license='ISC', + zip_safe=False, + license='MPL-2.0', classifiers=( - 'Development Status :: 5 - Production/Stable', Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/py-certifi/pkg/PLIST,v retrieving revision 1.5 diff -u -p -r1.5 PLIST --- pkg/PLIST 15 Aug 2016 21:37:25 -0000 1.5 +++ pkg/PLIST 12 Apr 2018 14:03:29 -0000 @@ -4,6 +4,7 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/certifi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO lib/python${MODPY_VERSION}/site-packages/certifi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt lib/python${MODPY_VERSION}/site-packages/certifi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt +lib/python${MODPY_VERSION}/site-packages/certifi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe lib/python${MODPY_VERSION}/site-packages/certifi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt lib/python${MODPY_VERSION}/site-packages/certifi/__init__.py lib/python${MODPY_VERSION}/site-packages/certifi/__main__.py