git: 66c211bd40b0 - main - devel/py-dunamai: Add py-dunamai 1.12.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 May 2022 05:14:15 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=66c211bd40b0e013e2cf31d520d3fd6bb324cfc7
commit 66c211bd40b0e013e2cf31d520d3fd6bb324cfc7
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-22 04:07:39 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-22 04:07:39 +0000
devel/py-dunamai: Add py-dunamai 1.12.0
Dunamai is a Python library and command line tool for producing dynamic,
standards-compliant version strings, derived from tags in your version control
system. This facilitates uniquely identifying nightly or per-commit builds in
continuous integration and releasing new versions of your software simply by
creating a tag.
WWW: https://github.com/mtkennerly/dunamai
---
devel/Makefile | 1 +
devel/py-dunamai/Makefile | 28 ++++++++++++++++++++++++++++
devel/py-dunamai/distinfo | 3 +++
devel/py-dunamai/pkg-descr | 7 +++++++
4 files changed, 39 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index ce09e8747dd2..aed9915fe34e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4496,6 +4496,7 @@
SUBDIR += py-dotty-dict
SUBDIR += py-dpcontracts
SUBDIR += py-dtfabric
+ SUBDIR += py-dunamai
SUBDIR += py-durus
SUBDIR += py-dynrules
SUBDIR += py-easyprocess
diff --git a/devel/py-dunamai/Makefile b/devel/py-dunamai/Makefile
new file mode 100644
index 000000000000..92148414c58d
--- /dev/null
+++ b/devel/py-dunamai/Makefile
@@ -0,0 +1,28 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= dunamai
+PORTVERSION= 1.12.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Dynamic version generation
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=20.9:devel/py-packaging@${PY_FLAVOR}
+
+USES= python:3.5+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.6.0:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-dunamai/distinfo b/devel/py-dunamai/distinfo
new file mode 100644
index 000000000000..df89864e04de
--- /dev/null
+++ b/devel/py-dunamai/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1653151024
+SHA256 (dunamai-1.12.0.tar.gz) = fac4f09e2b8a105bd01f8c50450fea5aa489a6c439c949950a65f0dd388b0d20
+SIZE (dunamai-1.12.0.tar.gz) = 20063
diff --git a/devel/py-dunamai/pkg-descr b/devel/py-dunamai/pkg-descr
new file mode 100644
index 000000000000..4d5d501845fc
--- /dev/null
+++ b/devel/py-dunamai/pkg-descr
@@ -0,0 +1,7 @@
+Dunamai is a Python library and command line tool for producing dynamic,
+standards-compliant version strings, derived from tags in your version control
+system. This facilitates uniquely identifying nightly or per-commit builds in
+continuous integration and releasing new versions of your software simply by
+creating a tag.
+
+WWW: https://github.com/mtkennerly/dunamai