diff --git a/devel/py-traitlets/Makefile b/devel/py-traitlets/Makefile new file mode 100644 index 00000000000..6de1b7f1ea1 --- /dev/null +++ b/devel/py-traitlets/Makefile @@ -0,0 +1,27 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2015/11/16 20:56:00 edd Exp $ + +COMMENT = configuration system for Python applications + +MODPY_EGG_VERSION = 4.0.0 +DISTNAME = traitlets-${MODPY_EGG_VERSION} +PKGNAME = py-${DISTNAME} + +CATEGORIES = devel + +HOMEPAGE = http://ipython.org/ + +RUN_DEPENDS = devel/py-ipython_genutils \ + devel/py-decorator +TEST_DEPENDS = ${RUN_DEPENDS} \ + devel/py-nose + +# BSD +PERMIT_PACKAGE_CDROM = Yes + +MODULES = lang/python +MODPY_PI = Yes + +do-test: + cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests + +.include diff --git a/devel/py-traitlets/distinfo b/devel/py-traitlets/distinfo new file mode 100644 index 00000000000..690fe48a4dc --- /dev/null +++ b/devel/py-traitlets/distinfo @@ -0,0 +1,2 @@ +SHA256 (traitlets-4.0.0.tar.gz) = CxQLSpSk8ZUYh9m85GUNohH3lgD8n9tCKsyQxbvgIzs= +SIZE (traitlets-4.0.0.tar.gz) = 63701 diff --git a/devel/py-traitlets/pkg/DESCR b/devel/py-traitlets/pkg/DESCR new file mode 100644 index 00000000000..4a2e69f7f87 --- /dev/null +++ b/devel/py-traitlets/pkg/DESCR @@ -0,0 +1,8 @@ +Traitlets is a framework that lets Python classes have attributes with +type checking, dynamically calculated default values, and 'on change' +callbacks. + +The package also includes a mechanism to use traitlets for +configuration, loading values from files or from command line arguments. +This is a distinct layer on top of traitlets, so you can use traitlets +in your code without using the configuration machinery. diff --git a/devel/py-traitlets/pkg/PLIST b/devel/py-traitlets/pkg/PLIST new file mode 100644 index 00000000000..c9d78b8a017 --- /dev/null +++ b/devel/py-traitlets/pkg/PLIST @@ -0,0 +1,47 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2015/11/16 20:56:00 edd Exp $ +lib/python${MODPY_VERSION}/site-packages/traitlets/ +lib/python${MODPY_VERSION}/site-packages/traitlets-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info +lib/python${MODPY_VERSION}/site-packages/traitlets/__init__.py +lib/python${MODPY_VERSION}/site-packages/traitlets/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/_version.py +lib/python${MODPY_VERSION}/site-packages/traitlets/_version.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/config/ +lib/python${MODPY_VERSION}/site-packages/traitlets/config/__init__.py +lib/python${MODPY_VERSION}/site-packages/traitlets/config/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/config/application.py +lib/python${MODPY_VERSION}/site-packages/traitlets/config/application.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/config/configurable.py +lib/python${MODPY_VERSION}/site-packages/traitlets/config/configurable.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/config/loader.py +lib/python${MODPY_VERSION}/site-packages/traitlets/config/loader.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/config/manager.py +lib/python${MODPY_VERSION}/site-packages/traitlets/config/manager.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/config/tests/ +lib/python${MODPY_VERSION}/site-packages/traitlets/config/tests/__init__.py +lib/python${MODPY_VERSION}/site-packages/traitlets/config/tests/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/config/tests/test_application.py +lib/python${MODPY_VERSION}/site-packages/traitlets/config/tests/test_application.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/config/tests/test_configurable.py +lib/python${MODPY_VERSION}/site-packages/traitlets/config/tests/test_configurable.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/config/tests/test_loader.py +lib/python${MODPY_VERSION}/site-packages/traitlets/config/tests/test_loader.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/log.py +lib/python${MODPY_VERSION}/site-packages/traitlets/log.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/tests/ +lib/python${MODPY_VERSION}/site-packages/traitlets/tests/__init__.py +lib/python${MODPY_VERSION}/site-packages/traitlets/tests/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/tests/test_traitlets.py +lib/python${MODPY_VERSION}/site-packages/traitlets/tests/test_traitlets.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/tests/utils.py +lib/python${MODPY_VERSION}/site-packages/traitlets/tests/utils.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/traitlets.py +lib/python${MODPY_VERSION}/site-packages/traitlets/traitlets.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/utils/ +lib/python${MODPY_VERSION}/site-packages/traitlets/utils/__init__.py +lib/python${MODPY_VERSION}/site-packages/traitlets/utils/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/utils/getargspec.py +lib/python${MODPY_VERSION}/site-packages/traitlets/utils/getargspec.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/utils/importstring.py +lib/python${MODPY_VERSION}/site-packages/traitlets/utils/importstring.pyc +lib/python${MODPY_VERSION}/site-packages/traitlets/utils/sentinel.py +lib/python${MODPY_VERSION}/site-packages/traitlets/utils/sentinel.pyc