git: 70c2b10ab517 - main - devel/py-single-version: New port: Utility to define version string for Poetry-style Python project
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Jan 2023 16:51:27 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=70c2b10ab517f74d3959b9ff133d8a27cbb66e14 commit 70c2b10ab517f74d3959b9ff133d8a27cbb66e14 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-01-29 08:47:58 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-01-29 16:51:21 +0000 devel/py-single-version: New port: Utility to define version string for Poetry-style Python project --- devel/Makefile | 1 + devel/py-single-version/Makefile | 19 +++++++++++++++++++ devel/py-single-version/distinfo | 3 +++ devel/py-single-version/pkg-descr | 5 +++++ 4 files changed, 28 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 23b5cbf11068..95a43452d3cf 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5390,6 +5390,7 @@ SUBDIR += py-simpleparse SUBDIR += py-simpletal SUBDIR += py-simpy + SUBDIR += py-single-version SUBDIR += py-sip SUBDIR += py-sip4 SUBDIR += py-six diff --git a/devel/py-single-version/Makefile b/devel/py-single-version/Makefile new file mode 100644 index 000000000000..357eebfe16df --- /dev/null +++ b/devel/py-single-version/Makefile @@ -0,0 +1,19 @@ +PORTNAME= single-version +DISTVERSION= 1.5.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Utility to define version string for Poetry-style Python project +WWW= https://github.com/hongquan/single-version + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.8+ +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-single-version/distinfo b/devel/py-single-version/distinfo new file mode 100644 index 000000000000..9c992fbda8d2 --- /dev/null +++ b/devel/py-single-version/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1674981628 +SHA256 (single-version-1.5.1.tar.gz) = d0dee097581a4a9cdf1576075219369abedb67583449c6a0ae2c3f8100b9e903 +SIZE (single-version-1.5.1.tar.gz) = 4067 diff --git a/devel/py-single-version/pkg-descr b/devel/py-single-version/pkg-descr new file mode 100644 index 000000000000..d5a3d0c08163 --- /dev/null +++ b/devel/py-single-version/pkg-descr @@ -0,0 +1,5 @@ +single-version is a utility to let you have a single source of version in your +code base. + +This utility targets modern Python projects which have layout generated by +Poetry, with a pyproject.toml file in place of setup.py.