pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-zope.hookable devel/py-zope.hookable: add ver...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c785e93c3f3
branches:  trunk
changeset: 324731:9c785e93c3f3
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Oct 28 15:17:47 2018 +0000

description:
devel/py-zope.hookable: add version 4.2.0

Add devel/py-zope.hookable package version 4.2.0 with Python 3.7 support
from upstream.

===============
 zope.hookable
===============

This package supports the efficient creation of "hookable" objects, which
are callable objects that are meant to be optionally replaced.

The idea is that you create a function that does some default thing and make it
hookable. Later, someone can modify what it does by calling its sethook method
and changing its implementation.  All users of the function, including those
that imported it, will see the change.

diffstat:

 devel/py-zope.hookable/DESCR                  |  11 +++++++++
 devel/py-zope.hookable/Makefile               |  14 +++++++++++
 devel/py-zope.hookable/PLIST                  |  20 ++++++++++++++++
 devel/py-zope.hookable/distinfo               |   8 ++++++
 devel/py-zope.hookable/patches/patch-setup.py |  32 +++++++++++++++++++++++++++
 devel/py-zope.hookable/patches/patch-tox.ini  |  14 +++++++++++
 6 files changed, 99 insertions(+), 0 deletions(-)

diffs (123 lines):

diff -r 27dc5dbcd572 -r 9c785e93c3f3 devel/py-zope.hookable/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-zope.hookable/DESCR      Sun Oct 28 15:17:47 2018 +0000
@@ -0,0 +1,11 @@
+===============
+ zope.hookable
+===============
+
+This package supports the efficient creation of "hookable" objects, which
+are callable objects that are meant to be optionally replaced.
+
+The idea is that you create a function that does some default thing and make it
+hookable. Later, someone can modify what it does by calling its sethook method
+and changing its implementation.  All users of the function, including those
+that imported it, will see the change.
diff -r 27dc5dbcd572 -r 9c785e93c3f3 devel/py-zope.hookable/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-zope.hookable/Makefile   Sun Oct 28 15:17:47 2018 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2018/10/28 15:17:47 taca Exp $
+
+DISTNAME=      zope.hookable-4.2.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zope.hookable/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://github.com/zopefoundation/zope.hookable
+COMMENT=       Zope hookable
+LICENSE=       zpl-2.1
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 27dc5dbcd572 -r 9c785e93c3f3 devel/py-zope.hookable/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-zope.hookable/PLIST      Sun Oct 28 15:17:47 2018 +0000
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2018/10/28 15:17:47 taca Exp $
+${PYSITELIB}/${EGG_NAME}-nspkg.pth
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/zope/hookable/__init__.py
+${PYSITELIB}/zope/hookable/__init__.pyc
+${PYSITELIB}/zope/hookable/__init__.pyo
+${PYSITELIB}/zope/hookable/_zope_hookable.c
+${PYSITELIB}/zope/hookable/_zope_hookable.so
+${PYSITELIB}/zope/hookable/tests/__init__.py
+${PYSITELIB}/zope/hookable/tests/__init__.pyc
+${PYSITELIB}/zope/hookable/tests/__init__.pyo
+${PYSITELIB}/zope/hookable/tests/test_hookable.py
+${PYSITELIB}/zope/hookable/tests/test_hookable.pyc
+${PYSITELIB}/zope/hookable/tests/test_hookable.pyo
diff -r 27dc5dbcd572 -r 9c785e93c3f3 devel/py-zope.hookable/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-zope.hookable/distinfo   Sun Oct 28 15:17:47 2018 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2018/10/28 15:17:47 taca Exp $
+
+SHA1 (zope.hookable-4.2.0.tar.gz) = 7aed58847bf92b330deda16d34b3e17607af8692
+RMD160 (zope.hookable-4.2.0.tar.gz) = 8d9428d044f17670fbf55ddcc68f822a8f340e96
+SHA512 (zope.hookable-4.2.0.tar.gz) = 89360637339ccc4131d4a6b5fda27a8721a03f0110cf5a63dfe14202c38cacc304fcd7e12d0f5d2779647d0e1e0fc7d04b7c6514ee88d167498fb62db3147a11
+Size (zope.hookable-4.2.0.tar.gz) = 22011 bytes
+SHA1 (patch-setup.py) = 530806b5c0764a8846d3e74df6c759ccee758c57
+SHA1 (patch-tox.ini) = c06bbfd3717aa4f97b80d675a5f75c4e2ef134e7
diff -r 27dc5dbcd572 -r 9c785e93c3f3 devel/py-zope.hookable/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-zope.hookable/patches/patch-setup.py     Sun Oct 28 15:17:47 2018 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-setup.py,v 1.1 2018/10/28 15:17:47 taca Exp $
+
+Python 3.7 support from 0db68de5a45475b9af37b8c3dade560c2d5317cd.
+
+--- setup.py.orig      2017-11-07 17:46:36.000000000 +0000
++++ setup.py
+@@ -108,6 +108,7 @@ setup(name='zope.hookable',
+           "Programming Language :: Python :: 3.4",
+           "Programming Language :: Python :: 3.5",
+           "Programming Language :: Python :: 3.6",
++          "Programming Language :: Python :: 3.7",
+           "Programming Language :: Python :: Implementation :: CPython",
+           "Programming Language :: Python :: Implementation :: PyPy",
+           "Framework :: Zope3",
+@@ -119,7 +120,7 @@ setup(name='zope.hookable',
+       },
+       packages=find_packages('src'),
+       package_dir={'': 'src'},
+-      namespace_packages=['zope',],
++      namespace_packages=['zope'],
+       install_requires=[
+           'setuptools',
+       ],
+@@ -128,7 +129,7 @@ setup(name='zope.hookable',
+       test_suite='zope.hookable.tests.test_hookable.test_suite',
+       extras_require={
+           'docs': ['Sphinx'],
+-          'testing': TESTS_REQUIRE + ['coverage',],
++          'testing': TESTS_REQUIRE + ['coverage'],
+           'test': TESTS_REQUIRE,
+       },
+       python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
diff -r 27dc5dbcd572 -r 9c785e93c3f3 devel/py-zope.hookable/patches/patch-tox.ini
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-zope.hookable/patches/patch-tox.ini      Sun Oct 28 15:17:47 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-tox.ini,v 1.1 2018/10/28 15:17:47 taca Exp $
+
+Python 3.7 support from 0db68de5a45475b9af37b8c3dade560c2d5317cd.
+
+--- tox.ini.orig       2017-11-07 17:46:36.000000000 +0000
++++ tox.ini
+@@ -1,6 +1,6 @@
+ [tox]
+ envlist =
+-    py27,py27-pure,py34,py35,py36,pypy,pypy3,coverage,docs
++    py27,py27-pure,py34,py35,py36,py37,pypy,pypy3,coverage,docs
+ 
+ [testenv]
+ commands =



Home | Main Index | Thread Index | Old Index