git: c51151d2daaa - main - devel/py-tinynetrc: New port: Read and write netrc files in Python
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Apr 2023 00:33:31 UTC
The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=c51151d2daaa9447f8750edafaeedfd434cb9738 commit c51151d2daaa9447f8750edafaeedfd434cb9738 Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> AuthorDate: 2023-04-30 00:26:06 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2023-04-30 00:26:06 +0000 devel/py-tinynetrc: New port: Read and write netrc files in Python tinynetrc uses the netrc module from the standard library under the hood and adds a few improvements: - Adds write functionality. - Fixes a std lib bug with formatting a .netrc file.* - Parses .netrc into dictionary values rather than tuples. --- devel/Makefile | 1 + devel/py-tinynetrc/Makefile | 19 +++++++++++++++++++ devel/py-tinynetrc/distinfo | 3 +++ devel/py-tinynetrc/pkg-descr | 6 ++++++ 4 files changed, 29 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index c861f06a69a8..7a9241403dd1 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5573,6 +5573,7 @@ SUBDIR += py-timelib SUBDIR += py-timeout-decorator SUBDIR += py-tinyarray + SUBDIR += py-tinynetrc SUBDIR += py-tinyrpc SUBDIR += py-tipper SUBDIR += py-tokenize-rt diff --git a/devel/py-tinynetrc/Makefile b/devel/py-tinynetrc/Makefile new file mode 100644 index 000000000000..bea8a719fb7e --- /dev/null +++ b/devel/py-tinynetrc/Makefile @@ -0,0 +1,19 @@ +PORTNAME= tinynetrc +PORTVERSION= 1.3.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= acm@FreeBSD.org +COMMENT= Read and write netrc files in Python +WWW= https://github.com/sloria/tinynetrc + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-tinynetrc/distinfo b/devel/py-tinynetrc/distinfo new file mode 100644 index 000000000000..a30cd40b4209 --- /dev/null +++ b/devel/py-tinynetrc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1680319381 +SHA256 (tinynetrc-1.3.1.tar.gz) = 2b9a256d2e630643b8f0985f5e826ccf0bf3716e07e596a4f67feab363d254df +SIZE (tinynetrc-1.3.1.tar.gz) = 5484 diff --git a/devel/py-tinynetrc/pkg-descr b/devel/py-tinynetrc/pkg-descr new file mode 100644 index 000000000000..914475d458de --- /dev/null +++ b/devel/py-tinynetrc/pkg-descr @@ -0,0 +1,6 @@ +tinynetrc uses the netrc module from the standard library under the hood and +adds a few improvements: + +- Adds write functionality. +- Fixes a std lib bug with formatting a .netrc file.* +- Parses .netrc into dictionary values rather than tuples.