Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Aug 2022 18:38:01 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 05f425143563 - main - devel/py-plucky: New port: Plucking keys/paths/items safely from Python objects
Message-ID:  <202208141838.27EIc1Cx073733@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=05f42514356340c207b81caefb67484223082e11

commit 05f42514356340c207b81caefb67484223082e11
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-14 17:09:16 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-14 18:37:54 +0000

    devel/py-plucky: New port: Plucking keys/paths/items safely from Python objects
---
 devel/Makefile            |  1 +
 devel/py-plucky/Makefile  | 18 ++++++++++++++++++
 devel/py-plucky/distinfo  |  3 +++
 devel/py-plucky/pkg-descr |  6 ++++++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index daef2c61bec2..46005b354e83 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4940,6 +4940,7 @@
     SUBDIR += py-platformdirs
     SUBDIR += py-plette
     SUBDIR += py-plex
+    SUBDIR += py-plucky
     SUBDIR += py-pluggy
     SUBDIR += py-pluggy0
     SUBDIR += py-pluginbase
diff --git a/devel/py-plucky/Makefile b/devel/py-plucky/Makefile
new file mode 100644
index 000000000000..08ec4463dbfc
--- /dev/null
+++ b/devel/py-plucky/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	plucky
+DISTVERSION=	0.4.3
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Plucking keys/paths/items safely from Python objects
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-plucky/distinfo b/devel/py-plucky/distinfo
new file mode 100644
index 000000000000..cab06ee2d47d
--- /dev/null
+++ b/devel/py-plucky/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1660496534
+SHA256 (plucky-0.4.3.tar.gz) = 5bc75d43ae6b40f1b7ba42000b37e4934fa6bd2d6a6cd4e47461f803a404c194
+SIZE (plucky-0.4.3.tar.gz) = 8478
diff --git a/devel/py-plucky/pkg-descr b/devel/py-plucky/pkg-descr
new file mode 100644
index 000000000000..7e538b3b5305
--- /dev/null
+++ b/devel/py-plucky/pkg-descr
@@ -0,0 +1,6 @@
+plucky.pluckable happily wraps any Python object and allows for chained soft
+plucking with attribute- and item- getters (e.g. .attr, ["key"], [idx], [::2],
+or a combination: ["key1", "key2"], and [0, 3:7, ::-1];
+even: ["length", 0:5, 7]).
+
+WWW: https://github.com/randomir/plucky



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208141838.27EIc1Cx073733>