pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-zope.hookable



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Oct 28 15:17:48 UTC 2018

Added Files:
        pkgsrc/devel/py-zope.hookable: DESCR Makefile PLIST distinfo
        pkgsrc/devel/py-zope.hookable/patches: patch-setup.py patch-tox.ini

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-zope.hookable/DESCR \
    pkgsrc/devel/py-zope.hookable/Makefile \
    pkgsrc/devel/py-zope.hookable/PLIST \
    pkgsrc/devel/py-zope.hookable/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-zope.hookable/patches/patch-setup.py \
    pkgsrc/devel/py-zope.hookable/patches/patch-tox.ini

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-zope.hookable/DESCR
diff -u /dev/null pkgsrc/devel/py-zope.hookable/DESCR:1.1
--- /dev/null   Sun Oct 28 15:17:48 2018
+++ pkgsrc/devel/py-zope.hookable/DESCR Sun Oct 28 15:17:47 2018
@@ -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.
Index: pkgsrc/devel/py-zope.hookable/Makefile
diff -u /dev/null pkgsrc/devel/py-zope.hookable/Makefile:1.1
--- /dev/null   Sun Oct 28 15:17:48 2018
+++ pkgsrc/devel/py-zope.hookable/Makefile      Sun Oct 28 15:17:47 2018
@@ -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"
Index: pkgsrc/devel/py-zope.hookable/PLIST
diff -u /dev/null pkgsrc/devel/py-zope.hookable/PLIST:1.1
--- /dev/null   Sun Oct 28 15:17:48 2018
+++ pkgsrc/devel/py-zope.hookable/PLIST Sun Oct 28 15:17:47 2018
@@ -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
Index: pkgsrc/devel/py-zope.hookable/distinfo
diff -u /dev/null pkgsrc/devel/py-zope.hookable/distinfo:1.1
--- /dev/null   Sun Oct 28 15:17:48 2018
+++ pkgsrc/devel/py-zope.hookable/distinfo      Sun Oct 28 15:17:47 2018
@@ -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

Index: pkgsrc/devel/py-zope.hookable/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-zope.hookable/patches/patch-setup.py:1.1
--- /dev/null   Sun Oct 28 15:17:48 2018
+++ pkgsrc/devel/py-zope.hookable/patches/patch-setup.py        Sun Oct 28 15:17:47 2018
@@ -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.*',
Index: pkgsrc/devel/py-zope.hookable/patches/patch-tox.ini
diff -u /dev/null pkgsrc/devel/py-zope.hookable/patches/patch-tox.ini:1.1
--- /dev/null   Sun Oct 28 15:17:48 2018
+++ pkgsrc/devel/py-zope.hookable/patches/patch-tox.ini Sun Oct 28 15:17:47 2018
@@ -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