Import py-traitlets.

OK benoit@, shadchin@. Thanks!
This commit is contained in:
edd 2015-11-16 20:56:00 +00:00
parent 4b4439bc96
commit a18826deba
4 changed files with 84 additions and 0 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (traitlets-4.0.0.tar.gz) = CxQLSpSk8ZUYh9m85GUNohH3lgD8n9tCKsyQxbvgIzs=
SIZE (traitlets-4.0.0.tar.gz) = 63701

View File

@ -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.

View File

@ -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