pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-stevedore Import py-stevedore-1.21.0 as devel...
details: https://anonhg.NetBSD.org/pkgsrc/rev/969655e80be0
branches: trunk
changeset: 361090:969655e80be0
user: leot <leot%pkgsrc.org@localhost>
date: Fri Apr 14 14:05:56 2017 +0000
description:
Import py-stevedore-1.21.0 as devel/py-stevedore
Python makes loading code dynamically easy, allowing you to configure
and extend your application by discovering and loading extensions
("plugins") at runtime. Many applications implement their own
library for doing this, using __import__ or importlib. stevedore
avoids creating yet another extension mechanism by building on top
of setuptools entry points. The code for managing entry points
tends to be repetitive, though, so stevedore provides manager
classes for implementing common patterns for using dynamically
loaded extensions.
Packaged by Kamel Ibn Aziz Derouiche in pkgsrc-wip with some
adjustements by <wiz> and misc fixes and updates by myself.
diffstat:
devel/py-stevedore/DESCR | 9 +++
devel/py-stevedore/Makefile | 20 ++++++++
devel/py-stevedore/PLIST | 108 ++++++++++++++++++++++++++++++++++++++++++++
devel/py-stevedore/distinfo | 6 ++
4 files changed, 143 insertions(+), 0 deletions(-)
diffs (159 lines):
diff -r 466739ddbb94 -r 969655e80be0 devel/py-stevedore/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-stevedore/DESCR Fri Apr 14 14:05:56 2017 +0000
@@ -0,0 +1,9 @@
+Python makes loading code dynamically easy, allowing you to configure
+and extend your application by discovering and loading extensions
+("plugins") at runtime. Many applications implement their own
+library for doing this, using __import__ or importlib. stevedore
+avoids creating yet another extension mechanism by building on top
+of setuptools entry points. The code for managing entry points
+tends to be repetitive, though, so stevedore provides manager
+classes for implementing common patterns for using dynamically
+loaded extensions.
diff -r 466739ddbb94 -r 969655e80be0 devel/py-stevedore/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-stevedore/Makefile Fri Apr 14 14:05:56 2017 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/04/14 14:05:56 leot Exp $
+
+DISTNAME= stevedore-1.21.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=s/stevedore/}
+
+MAINTAINER= kamelderouiche%yahoo.com@localhost
+HOMEPAGE= https://github.com/dreamhost/stevedore
+COMMENT= Manage dynamic plugins for Python applications
+LICENSE= apache-2.0
+
+DEPENDS+= ${PYPKGPREFIX}-pbr>=2.0.0:../../devel/py-pbr
+DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
+
+USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 34
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 466739ddbb94 -r 969655e80be0 devel/py-stevedore/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-stevedore/PLIST Fri Apr 14 14:05:56 2017 +0000
@@ -0,0 +1,108 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/14 14:05:56 leot Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/pbr.json
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/stevedore/__init__.py
+${PYSITELIB}/stevedore/__init__.pyc
+${PYSITELIB}/stevedore/__init__.pyo
+${PYSITELIB}/stevedore/dispatch.py
+${PYSITELIB}/stevedore/dispatch.pyc
+${PYSITELIB}/stevedore/dispatch.pyo
+${PYSITELIB}/stevedore/driver.py
+${PYSITELIB}/stevedore/driver.pyc
+${PYSITELIB}/stevedore/driver.pyo
+${PYSITELIB}/stevedore/enabled.py
+${PYSITELIB}/stevedore/enabled.pyc
+${PYSITELIB}/stevedore/enabled.pyo
+${PYSITELIB}/stevedore/example/__init__.py
+${PYSITELIB}/stevedore/example/__init__.pyc
+${PYSITELIB}/stevedore/example/__init__.pyo
+${PYSITELIB}/stevedore/example/base.py
+${PYSITELIB}/stevedore/example/base.pyc
+${PYSITELIB}/stevedore/example/base.pyo
+${PYSITELIB}/stevedore/example/load_as_driver.py
+${PYSITELIB}/stevedore/example/load_as_driver.pyc
+${PYSITELIB}/stevedore/example/load_as_driver.pyo
+${PYSITELIB}/stevedore/example/load_as_extension.py
+${PYSITELIB}/stevedore/example/load_as_extension.pyc
+${PYSITELIB}/stevedore/example/load_as_extension.pyo
+${PYSITELIB}/stevedore/example/setup.py
+${PYSITELIB}/stevedore/example/setup.pyc
+${PYSITELIB}/stevedore/example/setup.pyo
+${PYSITELIB}/stevedore/example/simple.py
+${PYSITELIB}/stevedore/example/simple.pyc
+${PYSITELIB}/stevedore/example/simple.pyo
+${PYSITELIB}/stevedore/example2/__init__.py
+${PYSITELIB}/stevedore/example2/__init__.pyc
+${PYSITELIB}/stevedore/example2/__init__.pyo
+${PYSITELIB}/stevedore/example2/fields.py
+${PYSITELIB}/stevedore/example2/fields.pyc
+${PYSITELIB}/stevedore/example2/fields.pyo
+${PYSITELIB}/stevedore/example2/setup.py
+${PYSITELIB}/stevedore/example2/setup.pyc
+${PYSITELIB}/stevedore/example2/setup.pyo
+${PYSITELIB}/stevedore/exception.py
+${PYSITELIB}/stevedore/exception.pyc
+${PYSITELIB}/stevedore/exception.pyo
+${PYSITELIB}/stevedore/extension.py
+${PYSITELIB}/stevedore/extension.pyc
+${PYSITELIB}/stevedore/extension.pyo
+${PYSITELIB}/stevedore/hook.py
+${PYSITELIB}/stevedore/hook.pyc
+${PYSITELIB}/stevedore/hook.pyo
+${PYSITELIB}/stevedore/named.py
+${PYSITELIB}/stevedore/named.pyc
+${PYSITELIB}/stevedore/named.pyo
+${PYSITELIB}/stevedore/sphinxext.py
+${PYSITELIB}/stevedore/sphinxext.pyc
+${PYSITELIB}/stevedore/sphinxext.pyo
+${PYSITELIB}/stevedore/tests/__init__.py
+${PYSITELIB}/stevedore/tests/__init__.pyc
+${PYSITELIB}/stevedore/tests/__init__.pyo
+${PYSITELIB}/stevedore/tests/extension_unimportable.py
+${PYSITELIB}/stevedore/tests/extension_unimportable.pyc
+${PYSITELIB}/stevedore/tests/extension_unimportable.pyo
+${PYSITELIB}/stevedore/tests/manager.py
+${PYSITELIB}/stevedore/tests/manager.pyc
+${PYSITELIB}/stevedore/tests/manager.pyo
+${PYSITELIB}/stevedore/tests/test_callback.py
+${PYSITELIB}/stevedore/tests/test_callback.pyc
+${PYSITELIB}/stevedore/tests/test_callback.pyo
+${PYSITELIB}/stevedore/tests/test_dispatch.py
+${PYSITELIB}/stevedore/tests/test_dispatch.pyc
+${PYSITELIB}/stevedore/tests/test_dispatch.pyo
+${PYSITELIB}/stevedore/tests/test_driver.py
+${PYSITELIB}/stevedore/tests/test_driver.pyc
+${PYSITELIB}/stevedore/tests/test_driver.pyo
+${PYSITELIB}/stevedore/tests/test_enabled.py
+${PYSITELIB}/stevedore/tests/test_enabled.pyc
+${PYSITELIB}/stevedore/tests/test_enabled.pyo
+${PYSITELIB}/stevedore/tests/test_example_fields.py
+${PYSITELIB}/stevedore/tests/test_example_fields.pyc
+${PYSITELIB}/stevedore/tests/test_example_fields.pyo
+${PYSITELIB}/stevedore/tests/test_example_simple.py
+${PYSITELIB}/stevedore/tests/test_example_simple.pyc
+${PYSITELIB}/stevedore/tests/test_example_simple.pyo
+${PYSITELIB}/stevedore/tests/test_extension.py
+${PYSITELIB}/stevedore/tests/test_extension.pyc
+${PYSITELIB}/stevedore/tests/test_extension.pyo
+${PYSITELIB}/stevedore/tests/test_hook.py
+${PYSITELIB}/stevedore/tests/test_hook.pyc
+${PYSITELIB}/stevedore/tests/test_hook.pyo
+${PYSITELIB}/stevedore/tests/test_named.py
+${PYSITELIB}/stevedore/tests/test_named.pyc
+${PYSITELIB}/stevedore/tests/test_named.pyo
+${PYSITELIB}/stevedore/tests/test_sphinxext.py
+${PYSITELIB}/stevedore/tests/test_sphinxext.pyc
+${PYSITELIB}/stevedore/tests/test_sphinxext.pyo
+${PYSITELIB}/stevedore/tests/test_test_manager.py
+${PYSITELIB}/stevedore/tests/test_test_manager.pyc
+${PYSITELIB}/stevedore/tests/test_test_manager.pyo
+${PYSITELIB}/stevedore/tests/utils.py
+${PYSITELIB}/stevedore/tests/utils.pyc
+${PYSITELIB}/stevedore/tests/utils.pyo
diff -r 466739ddbb94 -r 969655e80be0 devel/py-stevedore/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-stevedore/distinfo Fri Apr 14 14:05:56 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/14 14:05:56 leot Exp $
+
+SHA1 (stevedore-1.21.0.tar.gz) = 2f237c2c2fe1d5b450faa9f1dc3abeb8e88a6190
+RMD160 (stevedore-1.21.0.tar.gz) = b8f3fc44afebd8b6da06f542a8b31cf9f265397f
+SHA512 (stevedore-1.21.0.tar.gz) = b0773189205c5bf12df0b1e985161d69ac6c7788ccc1ec7e2ffdfac84aec027fa1412ef421a97bf84290654e253b8e45d1d88bafc905e7d0fa9a1492f61b1a9f
+Size (stevedore-1.21.0.tar.gz) = 506669 bytes
Home |
Main Index |
Thread Index |
Old Index