update: py-zopeinterface, new req'd dep: py-zopeevent

2015-11-13 Thread Stuart Henderson
Newer zope.interface is needed for letsencrypt, here's an update,
still seems alright with py-twisted/core's tests. Requires the new
zope.event port, attached.

OK to import/update?


Index: Makefile
===
RCS file: /cvs/ports/devel/py-zopeinterface/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile29 Sep 2015 10:52:12 -  1.18
+++ Makefile13 Nov 2015 14:06:15 -
@@ -1,9 +1,8 @@
 # $OpenBSD: Makefile,v 1.18 2015/09/29 10:52:12 sthen Exp $
 
-COMMENT=   object interface infrastructure from Zope 3
+COMMENT=   object interface infrastructure from Zope
 
-MODPY_EGG_VERSION= 3.6.1
-REVISION=  4
+MODPY_EGG_VERSION= 4.1.3
 
 DISTNAME=  zope.interface-${MODPY_EGG_VERSION}
 PKGNAME=   py-zopeinterface-${MODPY_EGG_VERSION}
@@ -22,13 +21,8 @@ WANTLIB += pthread
 MODPY_PI = Yes
 
 MODULES=   lang/python
+TEST_DEPENDS=  devel/py-zopeevent
 
 MODPY_SETUPTOOLS=  Yes
-
-
-do-test: install
-   for f in `ls ${WRKSRC}/src/zope/interface/tests/test_*.py`; do \
- ${MODPY_BIN} -m zope.interface.tests.`basename $$f .py` || true; \
-   done
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/py-zopeinterface/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo18 Jan 2015 03:13:44 -  1.7
+++ distinfo13 Nov 2015 14:06:15 -
@@ -1,2 +1,2 @@
-SHA256 (zope.interface-3.6.1.tar.gz) = 
KUw8BSnoQWkXe8541hbHaPocAoovvBhU9hXTLtiNvGw=
-SIZE (zope.interface-3.6.1.tar.gz) = 125264
+SHA256 (zope.interface-4.1.3.tar.gz) = 
LiIanux8zFiImieOoT3P7V75OdgLB4Gamos8scaBSE8=
+SIZE (zope.interface-4.1.3.tar.gz) = 141561
Index: patches/patch-setup_py
===
RCS file: patches/patch-setup_py
diff -N patches/patch-setup_py
--- patches/patch-setup_py  30 Nov 2010 10:53:51 -  1.4
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
-$OpenBSD: patch-setup_py,v 1.4 2010/11/30 10:53:51 eric Exp $
 setup.py.orig  Mon May  3 15:12:52 2010
-+++ setup.py   Mon Nov 15 15:22:54 2010
-@@ -52,7 +52,6 @@ else:
-  )]
-  )])
- extra = dict(
--namespace_packages=["zope"],
- include_package_data = True,
- zip_safe = False,
- tests_require = [],
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/py-zopeinterface/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   1 Jun 2009 21:18:20 -   1.4
+++ pkg/PLIST   13 Nov 2015 14:06:15 -
@@ -1,27 +1,26 @@
 @comment $OpenBSD: PLIST,v 1.4 2009/06/01 21:18:20 eric Exp $
 lib/python${MODPY_VERSION}/site-packages/zope/
+lib/python${MODPY_VERSION}/site-packages/zope.interface-${MODPY_EGG_VERSION}-py${MODPY_VERSION}-nspkg.pth
 
lib/python${MODPY_VERSION}/site-packages/zope.interface-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
 
lib/python${MODPY_VERSION}/site-packages/zope.interface-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
 
lib/python${MODPY_VERSION}/site-packages/zope.interface-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
 
lib/python${MODPY_VERSION}/site-packages/zope.interface-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
+lib/python${MODPY_VERSION}/site-packages/zope.interface-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/namespace_packages.txt
 
lib/python${MODPY_VERSION}/site-packages/zope.interface-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
+lib/python${MODPY_VERSION}/site-packages/zope.interface-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/pbr.json
 
lib/python${MODPY_VERSION}/site-packages/zope.interface-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
 
lib/python${MODPY_VERSION}/site-packages/zope.interface-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
-lib/python${MODPY_VERSION}/site-packages/zope/__init__.py
-lib/python${MODPY_VERSION}/site-packages/zope/__init__.pyc
 lib/python${MODPY_VERSION}/site-packages/zope/interface/
-lib/python${MODPY_VERSION}/site-packages/zope/interface/README.ru.txt
-lib/python${MODPY_VERSION}/site-packages/zope/interface/README.txt
 lib/python${MODPY_VERSION}/site-packages/zope/interface/__init__.py
 lib/python${MODPY_VERSION}/site-packages/zope/interface/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/zope/interface/_compat.py
+lib/python${MODPY_VERSION}/site-packages/zope/interface/_compat.pyc
 lib/python${MODPY_VERSION}/site-packages/zope/interface/_flatten.py
 lib/python${MODPY_VERSION}/site-packages/zope/interface/_flatten.pyc
 
lib/python${MODPY_VERSION}/site-packages/zope/interface/_zope_interface_coptimizations.c
 
lib/python${MODPY_VERSION}/site-packages/zope/interface/_zope_interface_coptimizations.

Re: update: py-zopeinterface, new req'd dep: py-zopeevent

2015-11-13 Thread Stuart Henderson
On 2015/11/13 14:12, Stuart Henderson wrote:
> Newer zope.interface is needed for letsencrypt, here's an update,
> still seems alright with py-twisted/core's tests. Requires the new
> zope.event port, attached.
> 
> OK to import/update?
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/py-zopeinterface/Makefile,v
> retrieving revision 1.18
> diff -u -p -r1.18 Makefile
> --- Makefile  29 Sep 2015 10:52:12 -  1.18
> +++ Makefile  13 Nov 2015 14:06:15 -
> @@ -1,9 +1,8 @@
>  # $OpenBSD: Makefile,v 1.18 2015/09/29 10:52:12 sthen Exp $
>  
> -COMMENT= object interface infrastructure from Zope 3
> +COMMENT= object interface infrastructure from Zope
>  
> -MODPY_EGG_VERSION=   3.6.1
> -REVISION=4
> +MODPY_EGG_VERSION=   4.1.3
>  
>  DISTNAME=zope.interface-${MODPY_EGG_VERSION}
>  PKGNAME= py-zopeinterface-${MODPY_EGG_VERSION}
> @@ -22,13 +21,8 @@ WANTLIB += pthread
>  MODPY_PI =   Yes
>  
>  MODULES= lang/python
> +TEST_DEPENDS=devel/py-zopeevent

py-zopeevent should have been in RUN_DEPENDS as well. Added in my tree.