pkgsrc-Users archive

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

[patch] devel/py-ZopeInterface + licenses/zpl



Hello-

I have patched devel/py-ZopeInterface to build ZopeInterface-3.3.0.
Most notably, this provides support for Python2.6.

In doing so, I altered the package to install via setuptools/eggs rather
than pure-distutils.

patches/patch-aa no longer applies cleanly; and from what I can tell
this patch is no longer necessary, as I cannot reproduce the error that
the patch is intended to address [1].  I think that the file should be
removed but it would be good to have some guidance on this point.

Furthermore, I am adding the Zope Public License to licenses/zpl
containing the content from:
  http://opensource.org/licenses/zpl.php
This license will also be added to DEFAULT_ACCEPTABLE_LICENSES in
mk/licenses.mk (since it is OSI-sanctioned).

I've appeased pkglint; though I would really appreciate some review of
these changes (especially because this will be the first functional
change I'm committing ;)

Thanks,
  - Oliver


[1] 
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/py-ZopeInterface/patches/patch-aa?rev=1.1

Index: devel/py-ZopeInterface/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/py-ZopeInterface/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- devel/py-ZopeInterface/Makefile     12 Jun 2008 02:14:28 -0000      1.7
+++ devel/py-ZopeInterface/Makefile     11 Jul 2009 05:41:47 -0000
@@ -1,23 +1,17 @@
 # $NetBSD: Makefile,v 1.7 2008/06/12 02:14:28 joerg Exp $
 #
 
-DISTNAME=              ZopeInterface-3.0.1
-PKGNAME=               ${PYPKGPREFIX}-ZopeInterface-3.0.1
-PKGREVISION=           1
+DISTNAME=              zope.interface-3.3.0
+PKGNAME=               ${PYPKGPREFIX}-ZopeInterface-3.3.0
 CATEGORIES=            devel python
-MASTER_SITES=          http://zope.org/Products/ZopeInterface/3.0.1final/
-EXTRACT_SUFX=          .tgz
+MASTER_SITES=          http://www.zope.org/Products/ZopeInterface/3.3.0/
 
 MAINTAINER=            sifu%0xx0.net@localhost
 HOMEPAGE=              http://www.zope.org/
 COMMENT=               The zope.interface package used in Zope 3 and Twisted
+LICENSE=               zpl
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-PYDISTUTILSPKG=                yes
-
-pre-build:
-       ${RM} 
${WRKSRC}/Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/*.orig
-
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: devel/py-ZopeInterface/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/devel/py-ZopeInterface/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- devel/py-ZopeInterface/PLIST        14 Jun 2009 17:49:04 -0000      1.2
+++ devel/py-ZopeInterface/PLIST        11 Jul 2009 05:41:49 -0000
@@ -1,137 +1,90 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:49:04 joerg Exp $
-${PYSITELIB}/zope/PUBLICATION.cfg
-${PYSITELIB}/zope/README.txt
-${PYSITELIB}/zope/__init__.py
-${PYSITELIB}/zope/__init__.pyc
-${PYSITELIB}/zope/__init__.pyo
+@comment $NetBSD$
+${PYSITELIB}/zope/interface/__init__.py
+${PYSITELIB}/zope/interface/_flatten.py
+${PYSITELIB}/zope/interface/adapter.py
+${PYSITELIB}/zope/interface/advice.py
+${PYSITELIB}/zope/interface/declarations.py
+${PYSITELIB}/zope/interface/document.py
+${PYSITELIB}/zope/interface/exceptions.py
+${PYSITELIB}/zope/interface/interface.py
+${PYSITELIB}/zope/interface/interfaces.py
+${PYSITELIB}/zope/interface/ro.py
+${PYSITELIB}/zope/interface/verify.py
 ${PYSITELIB}/zope/interface/DEPENDENCIES.cfg
 ${PYSITELIB}/zope/interface/PUBLICATION.cfg
+${PYSITELIB}/zope/interface/README.ru.txt
 ${PYSITELIB}/zope/interface/README.txt
 ${PYSITELIB}/zope/interface/SETUP.cfg
+${PYSITELIB}/zope/interface/_zope_interface_coptimizations.c
 ${PYSITELIB}/zope/interface/adapter.txt
+${PYSITELIB}/zope/interface/human.ru.txt
 ${PYSITELIB}/zope/interface/human.txt
-${PYSITELIB}/zope/interface/__init__.py
-${PYSITELIB}/zope/interface/__init__.pyc
-${PYSITELIB}/zope/interface/__init__.pyo
-${PYSITELIB}/zope/interface/_flatten.py
-${PYSITELIB}/zope/interface/_flatten.pyc
-${PYSITELIB}/zope/interface/_flatten.pyo
-${PYSITELIB}/zope/interface/_zope_interface_coptimizations.so
-${PYSITELIB}/zope/interface/adapter.py
-${PYSITELIB}/zope/interface/adapter.pyc
-${PYSITELIB}/zope/interface/adapter.pyo
-${PYSITELIB}/zope/interface/advice.py
-${PYSITELIB}/zope/interface/advice.pyc
-${PYSITELIB}/zope/interface/advice.pyo
+${PYSITELIB}/zope/interface/common/interfaces.py
 ${PYSITELIB}/zope/interface/common/__init__.py
-${PYSITELIB}/zope/interface/common/__init__.pyc
-${PYSITELIB}/zope/interface/common/__init__.pyo
 ${PYSITELIB}/zope/interface/common/idatetime.py
-${PYSITELIB}/zope/interface/common/idatetime.pyc
-${PYSITELIB}/zope/interface/common/idatetime.pyo
-${PYSITELIB}/zope/interface/common/interfaces.py
-${PYSITELIB}/zope/interface/common/interfaces.pyc
-${PYSITELIB}/zope/interface/common/interfaces.pyo
 ${PYSITELIB}/zope/interface/common/mapping.py
-${PYSITELIB}/zope/interface/common/mapping.pyc
-${PYSITELIB}/zope/interface/common/mapping.pyo
+${PYSITELIB}/zope/interface/common/sequence.py
 ${PYSITELIB}/zope/interface/common/tests/__init__.py
-${PYSITELIB}/zope/interface/common/tests/__init__.pyc
-${PYSITELIB}/zope/interface/common/tests/__init__.pyo
 ${PYSITELIB}/zope/interface/common/tests/basemapping.py
-${PYSITELIB}/zope/interface/common/tests/basemapping.pyc
-${PYSITELIB}/zope/interface/common/tests/basemapping.pyo
 ${PYSITELIB}/zope/interface/common/tests/test_idatetime.py
+${PYSITELIB}/zope/interface/common/tests/__init__.pyc
+${PYSITELIB}/zope/interface/common/tests/basemapping.pyc
 ${PYSITELIB}/zope/interface/common/tests/test_idatetime.pyc
-${PYSITELIB}/zope/interface/common/tests/test_idatetime.pyo
-${PYSITELIB}/zope/interface/declarations.py
-${PYSITELIB}/zope/interface/declarations.pyc
-${PYSITELIB}/zope/interface/declarations.pyo
-${PYSITELIB}/zope/interface/document.py
-${PYSITELIB}/zope/interface/document.pyc
-${PYSITELIB}/zope/interface/document.pyo
-${PYSITELIB}/zope/interface/exceptions.py
-${PYSITELIB}/zope/interface/exceptions.pyc
-${PYSITELIB}/zope/interface/exceptions.pyo
-${PYSITELIB}/zope/interface/interface.py
-${PYSITELIB}/zope/interface/interface.pyc
-${PYSITELIB}/zope/interface/interface.pyo
-${PYSITELIB}/zope/interface/interfaces.py
-${PYSITELIB}/zope/interface/interfaces.pyc
-${PYSITELIB}/zope/interface/interfaces.pyo
-${PYSITELIB}/zope/interface/ro.py
-${PYSITELIB}/zope/interface/ro.pyc
-${PYSITELIB}/zope/interface/ro.pyo
-${PYSITELIB}/zope/interface/tests/foodforthought.txt
+${PYSITELIB}/zope/interface/common/interfaces.pyc
+${PYSITELIB}/zope/interface/common/__init__.pyc
+${PYSITELIB}/zope/interface/common/idatetime.pyc
+${PYSITELIB}/zope/interface/common/mapping.pyc
+${PYSITELIB}/zope/interface/common/sequence.pyc
 ${PYSITELIB}/zope/interface/tests/__init__.py
-${PYSITELIB}/zope/interface/tests/__init__.pyc
-${PYSITELIB}/zope/interface/tests/__init__.pyo
 ${PYSITELIB}/zope/interface/tests/dummy.py
-${PYSITELIB}/zope/interface/tests/dummy.pyc
-${PYSITELIB}/zope/interface/tests/dummy.pyo
+${PYSITELIB}/zope/interface/tests/test_adapter.py
 ${PYSITELIB}/zope/interface/tests/ifoo.py
-${PYSITELIB}/zope/interface/tests/ifoo.pyc
-${PYSITELIB}/zope/interface/tests/ifoo.pyo
 ${PYSITELIB}/zope/interface/tests/m1.py
-${PYSITELIB}/zope/interface/tests/m1.pyc
-${PYSITELIB}/zope/interface/tests/m1.pyo
 ${PYSITELIB}/zope/interface/tests/m2.py
-${PYSITELIB}/zope/interface/tests/m2.pyc
-${PYSITELIB}/zope/interface/tests/m2.pyo
 ${PYSITELIB}/zope/interface/tests/odd.py
-${PYSITELIB}/zope/interface/tests/odd.pyc
-${PYSITELIB}/zope/interface/tests/odd.pyo
-${PYSITELIB}/zope/interface/tests/test_adapter.py
-${PYSITELIB}/zope/interface/tests/test_adapter.pyc
-${PYSITELIB}/zope/interface/tests/test_adapter.pyo
-${PYSITELIB}/zope/interface/tests/test_advice.py
-${PYSITELIB}/zope/interface/tests/test_advice.pyc
-${PYSITELIB}/zope/interface/tests/test_advice.pyo
 ${PYSITELIB}/zope/interface/tests/test_declarations.py
-${PYSITELIB}/zope/interface/tests/test_declarations.pyc
-${PYSITELIB}/zope/interface/tests/test_declarations.pyo
+${PYSITELIB}/zope/interface/tests/test_advice.py
+${PYSITELIB}/zope/interface/tests/test_interface.py
 ${PYSITELIB}/zope/interface/tests/test_document.py
-${PYSITELIB}/zope/interface/tests/test_document.pyc
-${PYSITELIB}/zope/interface/tests/test_document.pyo
 ${PYSITELIB}/zope/interface/tests/test_element.py
-${PYSITELIB}/zope/interface/tests/test_element.pyc
-${PYSITELIB}/zope/interface/tests/test_element.pyo
-${PYSITELIB}/zope/interface/tests/test_interface.py
-${PYSITELIB}/zope/interface/tests/test_interface.pyc
-${PYSITELIB}/zope/interface/tests/test_interface.pyo
 ${PYSITELIB}/zope/interface/tests/test_odd_declarations.py
-${PYSITELIB}/zope/interface/tests/test_odd_declarations.pyc
-${PYSITELIB}/zope/interface/tests/test_odd_declarations.pyo
 ${PYSITELIB}/zope/interface/tests/test_sorting.py
-${PYSITELIB}/zope/interface/tests/test_sorting.pyc
-${PYSITELIB}/zope/interface/tests/test_sorting.pyo
 ${PYSITELIB}/zope/interface/tests/test_verify.py
-${PYSITELIB}/zope/interface/tests/test_verify.pyc
-${PYSITELIB}/zope/interface/tests/test_verify.pyo
 ${PYSITELIB}/zope/interface/tests/unitfixtures.py
+${PYSITELIB}/zope/interface/tests/foodforthought.txt
+${PYSITELIB}/zope/interface/tests/__init__.pyc
+${PYSITELIB}/zope/interface/tests/dummy.pyc
+${PYSITELIB}/zope/interface/tests/test_adapter.pyc
+${PYSITELIB}/zope/interface/tests/m1.pyc
+${PYSITELIB}/zope/interface/tests/ifoo.pyc
+${PYSITELIB}/zope/interface/tests/m2.pyc
+${PYSITELIB}/zope/interface/tests/odd.pyc
+${PYSITELIB}/zope/interface/tests/test_declarations.pyc
+${PYSITELIB}/zope/interface/tests/test_advice.pyc
+${PYSITELIB}/zope/interface/tests/test_interface.pyc
+${PYSITELIB}/zope/interface/tests/test_document.pyc
+${PYSITELIB}/zope/interface/tests/test_element.pyc
+${PYSITELIB}/zope/interface/tests/test_odd_declarations.pyc
+${PYSITELIB}/zope/interface/tests/test_sorting.pyc
+${PYSITELIB}/zope/interface/tests/test_verify.pyc
 ${PYSITELIB}/zope/interface/tests/unitfixtures.pyc
-${PYSITELIB}/zope/interface/tests/unitfixtures.pyo
-${PYSITELIB}/zope/interface/verify.py
+${PYSITELIB}/zope/interface/_zope_interface_coptimizations.so
+${PYSITELIB}/zope/interface/__init__.pyc
+${PYSITELIB}/zope/interface/_flatten.pyc
+${PYSITELIB}/zope/interface/adapter.pyc
+${PYSITELIB}/zope/interface/advice.pyc
+${PYSITELIB}/zope/interface/declarations.pyc
+${PYSITELIB}/zope/interface/document.pyc
+${PYSITELIB}/zope/interface/exceptions.pyc
+${PYSITELIB}/zope/interface/interface.pyc
+${PYSITELIB}/zope/interface/interfaces.pyc
+${PYSITELIB}/zope/interface/ro.pyc
 ${PYSITELIB}/zope/interface/verify.pyc
-${PYSITELIB}/zope/interface/verify.pyo
-${PYSITELIB}/zope/testing/__init__.py
-${PYSITELIB}/zope/testing/__init__.pyc
-${PYSITELIB}/zope/testing/__init__.pyo
-${PYSITELIB}/zope/testing/cleanup.py
-${PYSITELIB}/zope/testing/cleanup.pyc
-${PYSITELIB}/zope/testing/cleanup.pyo
-${PYSITELIB}/zope/testing/doctest.py
-${PYSITELIB}/zope/testing/doctest.pyc
-${PYSITELIB}/zope/testing/doctest.pyo
-${PYSITELIB}/zope/testing/doctestunit.py
-${PYSITELIB}/zope/testing/doctestunit.pyc
-${PYSITELIB}/zope/testing/doctestunit.pyo
-${PYSITELIB}/zope/testing/loggingsupport.py
-${PYSITELIB}/zope/testing/loggingsupport.pyc
-${PYSITELIB}/zope/testing/loggingsupport.pyo
-${PYSITELIB}/zope/testing/loghandler.py
-${PYSITELIB}/zope/testing/loghandler.pyc
-${PYSITELIB}/zope/testing/loghandler.pyo
-${PYSITELIB}/zope/testing/tests.py
-${PYSITELIB}/zope/testing/tests.pyc
-${PYSITELIB}/zope/testing/tests.pyo
+${PYSITELIB}/zope.interface-3.3.0-py2.6.egg-info/SOURCES.txt
+${PYSITELIB}/zope.interface-3.3.0-py2.6.egg-info/PKG-INFO
+${PYSITELIB}/zope.interface-3.3.0-py2.6.egg-info/namespace_packages.txt
+${PYSITELIB}/zope.interface-3.3.0-py2.6.egg-info/dependency_links.txt
+${PYSITELIB}/zope.interface-3.3.0-py2.6.egg-info/top_level.txt
+${PYSITELIB}/zope.interface-3.3.0-py2.6.egg-info/not-zip-safe
+${PYSITELIB}/zope.interface-3.3.0-py2.6.egg-info/requires.txt
+${PYSITELIB}/zope.interface-3.3.0-py2.6-nspkg.pth
Index: devel/py-ZopeInterface/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/py-ZopeInterface/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- devel/py-ZopeInterface/distinfo     26 Aug 2006 16:42:25 -0000      1.2
+++ devel/py-ZopeInterface/distinfo     11 Jul 2009 05:41:49 -0000
@@ -1,6 +1,5 @@
 $NetBSD: distinfo,v 1.2 2006/08/26 16:42:25 kristerw Exp $
 
-SHA1 (ZopeInterface-3.0.1.tgz) = 3707f7129acf085d5a0b6b616893ab647cbc7c84
-RMD160 (ZopeInterface-3.0.1.tgz) = 77ae531b20e069de959807ae980a76b460e3f76c
-Size (ZopeInterface-3.0.1.tgz) = 108336 bytes
-SHA1 (patch-aa) = d81d2cb810fdd59d6c82f0e12d1234e27fba4e6a
+SHA1 (zope.interface-3.3.0.tar.gz) = 6a5cdb2c03c9dfbaec51b243a4eb8328909f7e30
+RMD160 (zope.interface-3.3.0.tar.gz) = e44ad35c94e517130cb3dd951f9a637e9407cb1c
+Size (zope.interface-3.3.0.tar.gz) = 104204 bytes
Index: mk/license.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/license.mk,v
retrieving revision 1.25
diff -u -r1.25 license.mk
--- mk/license.mk       29 Jun 2009 14:49:57 -0000      1.25
+++ mk/license.mk       11 Jul 2009 05:42:37 -0000
@@ -102,7 +102,8 @@
        artistic artistic-2.0 \
        cddl-1.0 \
        cpl-1.0 \
-       open-font-license
+       open-font-license \
+       zpl
 
 ##### Variant spellings
 


Home | Main Index | Thread Index | Old Index