git: a0e9c8d867b3 - main - devel/py-bump2version: Add py-bump2version 1.0.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 22 Sep 2023 03:23:08 UTC
The branch main has been updated by sunpoet:

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

commit a0e9c8d867b3863c602f2fa2974510173e2a4381
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-22 03:11:06 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-22 03:11:06 +0000

    devel/py-bump2version: Add py-bump2version 1.0.1
    
    bump2version is a maintained fork of the excellent bumpversion project.
    
    Version-bump your software with a single command!
    
    A small command line tool to simplify releasing software by updating all version
    strings in your source code by the correct increment. Also creates commits and
    tags:
    - version formats are highly configurable
    - works without any VCS, but happily reads tag information from and writes
      commits and tags to Git and Mercurial if available
    - just handles text files, so it's not specific to any programming language
    - supports Python 3 and PyPy3
---
 devel/Makefile                  |  1 +
 devel/py-bump2version/Makefile  | 19 +++++++++++++++++++
 devel/py-bump2version/distinfo  |  3 +++
 devel/py-bump2version/pkg-descr | 12 ++++++++++++
 4 files changed, 35 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index aa62feb62429..72a0d9b265b8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4425,6 +4425,7 @@
     SUBDIR += py-buildbot-worker
     SUBDIR += py-buildbot-www
     SUBDIR += py-bullet3
+    SUBDIR += py-bump2version
     SUBDIR += py-bytecode
     SUBDIR += py-cabby
     SUBDIR += py-cached-property
diff --git a/devel/py-bump2version/Makefile b/devel/py-bump2version/Makefile
new file mode 100644
index 000000000000..5065c8d69d36
--- /dev/null
+++ b/devel/py-bump2version/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	bump2version
+PORTVERSION=	1.0.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Version-bump your software with a single command
+WWW=		https://github.com/c4urself/bump2version
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.rst
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-bump2version/distinfo b/devel/py-bump2version/distinfo
new file mode 100644
index 000000000000..6e445c51c43b
--- /dev/null
+++ b/devel/py-bump2version/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1695143201
+SHA256 (bump2version-1.0.1.tar.gz) = 762cb2bfad61f4ec8e2bdf452c7c267416f8c70dd9ecb1653fd0bbb01fa936e6
+SIZE (bump2version-1.0.1.tar.gz) = 36236
diff --git a/devel/py-bump2version/pkg-descr b/devel/py-bump2version/pkg-descr
new file mode 100644
index 000000000000..449e00ed98cc
--- /dev/null
+++ b/devel/py-bump2version/pkg-descr
@@ -0,0 +1,12 @@
+bump2version is a maintained fork of the excellent bumpversion project.
+
+Version-bump your software with a single command!
+
+A small command line tool to simplify releasing software by updating all version
+strings in your source code by the correct increment. Also creates commits and
+tags:
+- version formats are highly configurable
+- works without any VCS, but happily reads tag information from and writes
+  commits and tags to Git and Mercurial if available
+- just handles text files, so it's not specific to any programming language
+- supports Python 3 and PyPy3