Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2023 23:44:54 GMT
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a2265575984b - main - devel/py-entrypoint2: New port: easy to use command-line interface for Python modules
Message-ID:  <202304292344.33TNisd7061612@gitrepo.freebsd.org>

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

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

commit a2265575984b02c8c49747ddcd85739791899ff6
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-04-29 23:39:22 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-04-29 23:44:43 +0000

    devel/py-entrypoint2: New port: easy to use command-line interface for Python modules
    
    entrypoint2 is an easy to use argparse based command-line interface for python
    modules. It translates function signature and documentation to argparse
    configuration.
---
 devel/Makefile                 |  1 +
 devel/py-entrypoint2/Makefile  | 19 +++++++++++++++++++
 devel/py-entrypoint2/distinfo  |  3 +++
 devel/py-entrypoint2/pkg-descr |  3 +++
 4 files changed, 26 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 6271a95f0ff0..c7ced4982b07 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4564,6 +4564,7 @@
     SUBDIR += py-eggtestinfo
     SUBDIR += py-ejson
     SUBDIR += py-enlighten
+    SUBDIR += py-entrypoint2
     SUBDIR += py-entrypoints
     SUBDIR += py-enum-compat
     SUBDIR += py-envier
diff --git a/devel/py-entrypoint2/Makefile b/devel/py-entrypoint2/Makefile
new file mode 100644
index 000000000000..b1537f7a8486
--- /dev/null
+++ b/devel/py-entrypoint2/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	entrypoint2
+DISTVERSION=	1.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	acm@FreeBSD.org
+COMMENT=	easy to use command-line interface for Python modules
+WWW=		https://github.com/ponty/entrypoint2
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		python:3.6+
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-entrypoint2/distinfo b/devel/py-entrypoint2/distinfo
new file mode 100644
index 000000000000..d1c0c8b52bb4
--- /dev/null
+++ b/devel/py-entrypoint2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1680279359
+SHA256 (entrypoint2-1.1.tar.gz) = fc0b7fe7b21acdab47a585ab9407ca7e5c4f96cb6888575db6b0ceb91f0e105a
+SIZE (entrypoint2-1.1.tar.gz) = 13393
diff --git a/devel/py-entrypoint2/pkg-descr b/devel/py-entrypoint2/pkg-descr
new file mode 100644
index 000000000000..1a98cdbcf926
--- /dev/null
+++ b/devel/py-entrypoint2/pkg-descr
@@ -0,0 +1,3 @@
+entrypoint2 is an easy to use argparse based command-line interface for python
+modules. It translates function signature and documentation to argparse
+configuration.



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