svn commit: r529910 - in head/devel: . py-dotted
Muhammad Moinur Rahman
bofh at FreeBSD.org
Mon Mar 30 19:45:43 UTC 2020
Author: bofh
Date: Mon Mar 30 19:26:49 2020
New Revision: 529910
URL: https://svnweb.freebsd.org/changeset/ports/529910
Log:
[NEW] devel/py-dotted: Access dicts and lists with a dotted path notation
A Python library that provides a method of accessing lists and dicts with a
dotted path notation. It is useful to access a deep path inside a complex
object composed of lists and dicts.
WWW: https://github.com/carlosescri/DottedDict/
Added:
head/devel/py-dotted/
head/devel/py-dotted/Makefile (contents, props changed)
head/devel/py-dotted/distinfo (contents, props changed)
head/devel/py-dotted/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Mon Mar 30 19:18:03 2020 (r529909)
+++ head/devel/Makefile Mon Mar 30 19:26:49 2020 (r529910)
@@ -4321,6 +4321,7 @@
SUBDIR += py-docopt
SUBDIR += py-dogpile.cache
SUBDIR += py-doit
+ SUBDIR += py-dotted
SUBDIR += py-dtfabric
SUBDIR += py-durus
SUBDIR += py-dynrules
Added: head/devel/py-dotted/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-dotted/Makefile Mon Mar 30 19:26:49 2020 (r529910)
@@ -0,0 +1,29 @@
+# Created by: Muhammad Moinur Rahman <bofh at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= dotted
+PORTVERSION= 0.1.8
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= bofh at FreeBSD.org
+COMMENT= Access dicts and lists with a dotted path notation
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+do-test:
+ @(cd ${TEST_WRKSRC} && ${SETENV} ${PYTHON_CMD} -m dotted.test.test_collection)
+
+.include <bsd.port.mk>
Added: head/devel/py-dotted/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-dotted/distinfo Mon Mar 30 19:26:49 2020 (r529910)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1585595331
+SHA256 (dotted-0.1.8.tar.gz) = e0334688d854461b3b065e54b80781cd7cd2545e0692756c5244be0aeec41bdf
+SIZE (dotted-0.1.8.tar.gz) = 8938
Added: head/devel/py-dotted/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-dotted/pkg-descr Mon Mar 30 19:26:49 2020 (r529910)
@@ -0,0 +1,5 @@
+A Python library that provides a method of accessing lists and dicts with a
+dotted path notation. It is useful to access a deep path inside a complex object
+composed of lists and dicts.
+
+WWW: https://github.com/carlosescri/DottedDict/
More information about the svn-ports-head
mailing list