summaryrefslogtreecommitdiff
path: root/devel/py-ZopeInterface
diff options
context:
space:
mode:
authorver <ver@pkgsrc.org>2009-07-15 06:12:44 +0000
committerver <ver@pkgsrc.org>2009-07-15 06:12:44 +0000
commitd961d1b928d8e2b120a7b71087d0b0695fb35b0f (patch)
tree85b031613a0d659762d249740855921bab2911c2 /devel/py-ZopeInterface
parent63e7f5ae638b6daa9e61828f3497a1436f7f2810 (diff)
downloadpkgsrc-d961d1b928d8e2b120a7b71087d0b0695fb35b0f.tar.gz
Upgrade devel/py-ZopeInterface to zope.interface-3.3.0.
Use eggs instead of distutils. Remove patch-aa as it no longer applies. Add licenses/zpl and add zpl to mk/license.mk:DEFAULT_ACCEPTABLE_LICENSES. Patch posted to pkgsrc-users@ and okayed by agc@.
Diffstat (limited to 'devel/py-ZopeInterface')
-rw-r--r--devel/py-ZopeInterface/Makefile18
-rw-r--r--devel/py-ZopeInterface/PLIST171
-rw-r--r--devel/py-ZopeInterface/distinfo9
-rw-r--r--devel/py-ZopeInterface/patches/patch-aa121
4 files changed, 72 insertions, 247 deletions
diff --git a/devel/py-ZopeInterface/Makefile b/devel/py-ZopeInterface/Makefile
index 329750a9cc5..6878a42eade 100644
--- a/devel/py-ZopeInterface/Makefile
+++ b/devel/py-ZopeInterface/Makefile
@@ -1,23 +1,17 @@
-# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:28 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2009/07/15 06:12:44 ver 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
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"
diff --git a/devel/py-ZopeInterface/PLIST b/devel/py-ZopeInterface/PLIST
index 965922a4e01..bd9185d41e4 100644
--- a/devel/py-ZopeInterface/PLIST
+++ b/devel/py-ZopeInterface/PLIST
@@ -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: PLIST,v 1.3 2009/07/15 06:12:44 ver Exp $
+${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
diff --git a/devel/py-ZopeInterface/distinfo b/devel/py-ZopeInterface/distinfo
index 4009f020359..04035bb5af9 100644
--- a/devel/py-ZopeInterface/distinfo
+++ b/devel/py-ZopeInterface/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2006/08/26 16:42:25 kristerw Exp $
+$NetBSD: distinfo,v 1.3 2009/07/15 06:12:44 ver 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
diff --git a/devel/py-ZopeInterface/patches/patch-aa b/devel/py-ZopeInterface/patches/patch-aa
deleted file mode 100644
index fbbdfd38991..00000000000
--- a/devel/py-ZopeInterface/patches/patch-aa
+++ /dev/null
@@ -1,121 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2006/08/26 16:42:25 kristerw Exp $
-
-Reorder functions to fix "static declaration follows non-static" error
-with gcc 4.
-
---- Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c.orig 2006-08-26 18:12:52.000000000 +0200
-+++ Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c 2006-08-26 18:19:11.000000000 +0200
-@@ -24,6 +24,8 @@ static PyObject *BuiltinImplementationSp
- static PyObject *str__class__, *str__providedBy__, *strisOrExtends;
- static PyObject *empty, *fallback, *str_implied, *str_cls, *str_implements;
- static PyTypeObject *Implements;
-+static PyObject *Spec_providedBy(PyObject *self, PyObject *ob);
-+static PyObject *Spec_implementedBy(PyObject *self, PyObject *cls);
-
- static int imported_declarations = 0;
-
-@@ -70,7 +72,6 @@ import_declarations(void)
- return 0;
- }
-
--extern PyTypeObject SpecType; /* Forward */
-
- static PyObject *
- implementedByFallback(PyObject *cls)
-@@ -279,50 +280,10 @@ static char Spec_providedBy__doc__[] =
- "Test whether an interface is implemented by the specification"
- ;
-
--static PyObject *
--Spec_providedBy(PyObject *self, PyObject *ob)
--{
-- PyObject *decl, *item;
--
-- decl = providedBy(NULL, ob);
-- if (decl == NULL)
-- return NULL;
--
-- if (PyObject_TypeCheck(ob, &SpecType))
-- item = Spec_extends(decl, self);
-- else
-- /* decl is probably a security proxy. We have to go the long way
-- around.
-- */
-- item = PyObject_CallMethodObjArgs(decl, strisOrExtends, self, NULL);
--
-- Py_DECREF(decl);
-- return item;
--}
--
--
- static char Spec_implementedBy__doc__[] =
- "Test whether the specification is implemented by instances of a class"
- ;
-
--static PyObject *
--Spec_implementedBy(PyObject *self, PyObject *cls)
--{
-- PyObject *decl, *item;
--
-- decl = implementedBy(NULL, cls);
-- if (decl == NULL)
-- return NULL;
--
-- if (PyObject_TypeCheck(decl, &SpecType))
-- item = Spec_extends(decl, self);
-- else
-- item = PyObject_CallMethodObjArgs(decl, strisOrExtends, self, NULL);
--
-- Py_DECREF(decl);
-- return item;
--}
--
- static struct PyMethodDef Spec_methods[] = {
- {"providedBy",
- (PyCFunction)Spec_providedBy, METH_O,
-@@ -370,6 +331,45 @@ static PyTypeObject SpecType = {
- };
-
- static PyObject *
-+Spec_providedBy(PyObject *self, PyObject *ob)
-+{
-+ PyObject *decl, *item;
-+
-+ decl = providedBy(NULL, ob);
-+ if (decl == NULL)
-+ return NULL;
-+
-+ if (PyObject_TypeCheck(ob, &SpecType))
-+ item = Spec_extends(decl, self);
-+ else
-+ /* decl is probably a security proxy. We have to go the long way
-+ around.
-+ */
-+ item = PyObject_CallMethodObjArgs(decl, strisOrExtends, self, NULL);
-+
-+ Py_DECREF(decl);
-+ return item;
-+}
-+
-+static PyObject *
-+Spec_implementedBy(PyObject *self, PyObject *cls)
-+{
-+ PyObject *decl, *item;
-+
-+ decl = implementedBy(NULL, cls);
-+ if (decl == NULL)
-+ return NULL;
-+
-+ if (PyObject_TypeCheck(decl, &SpecType))
-+ item = Spec_extends(decl, self);
-+ else
-+ item = PyObject_CallMethodObjArgs(decl, strisOrExtends, self, NULL);
-+
-+ Py_DECREF(decl);
-+ return item;
-+}
-+
-+static PyObject *
- OSD_descr_get(PyObject *self, PyObject *inst, PyObject *cls)
- {
- PyObject *provides;