1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

[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/
This commit is contained in:
Muhammad Moinur Rahman 2020-03-30 19:26:49 +00:00
parent affd3bad7d
commit 0279a62727
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529910
4 changed files with 38 additions and 0 deletions

View File

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

29
devel/py-dotted/Makefile Normal file
View File

@ -0,0 +1,29 @@
# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
# $FreeBSD$
PORTNAME= dotted
PORTVERSION= 0.1.8
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@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>

3
devel/py-dotted/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1585595331
SHA256 (dotted-0.1.8.tar.gz) = e0334688d854461b3b065e54b80781cd7cd2545e0692756c5244be0aeec41bdf
SIZE (dotted-0.1.8.tar.gz) = 8938

View File

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