pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-bump2version py-bump2version: import version ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c74a663031d
branches:  trunk
changeset: 440432:6c74a663031d
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Thu Oct 08 18:31:24 2020 +0000

description:
py-bump2version: import version 1.0.1

bump2version is a small command line tool to simplify releasing software by
updating all version strings in your source code by the correct increment. It
also creates commits and tags:

- version formats are highly configurable;
- it works without any VCS, but happily reads tag information from and writes
  commits and tags to Git and Mercurial if available;
- it just handles text files, so it's not specific to any programming language.

This will replace py-bumpversion, which is no longer maintained.

diffstat:

 devel/py-bump2version/ALTERNATIVES |   2 ++
 devel/py-bump2version/DESCR        |   8 ++++++++
 devel/py-bump2version/Makefile     |  22 ++++++++++++++++++++++
 devel/py-bump2version/PLIST        |  32 ++++++++++++++++++++++++++++++++
 devel/py-bump2version/distinfo     |   6 ++++++
 5 files changed, 70 insertions(+), 0 deletions(-)

diffs (90 lines):

diff -r cd0c5ffd1958 -r 6c74a663031d devel/py-bump2version/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-bump2version/ALTERNATIVES        Thu Oct 08 18:31:24 2020 +0000
@@ -0,0 +1,2 @@
+bin/bumpversion @PREFIX@/bin/bumpversion-@PYVERSSUFFIX@
+bin/bump2version @PREFIX@/bin/bump2version-@PYVERSSUFFIX@
diff -r cd0c5ffd1958 -r 6c74a663031d devel/py-bump2version/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-bump2version/DESCR       Thu Oct 08 18:31:24 2020 +0000
@@ -0,0 +1,8 @@
+bump2version is a small command line tool to simplify releasing software by
+updating all version strings in your source code by the correct increment. It
+also creates commits and tags:
+
+- version formats are highly configurable;
+- it works without any VCS, but happily reads tag information from and writes
+  commits and tags to Git and Mercurial if available;
+- it just handles text files, so it's not specific to any programming language.
diff -r cd0c5ffd1958 -r 6c74a663031d devel/py-bump2version/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-bump2version/Makefile    Thu Oct 08 18:31:24 2020 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2020/10/08 18:31:24 khorben Exp $
+
+DISTNAME=      bump2version-1.0.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  https://files.pythonhosted.org/packages/29/2a/688aca6eeebfe8941235be53f4da780c6edee05dbbea5d7abaa3aab6fad2/
+
+MAINTAINER=    khorben%defora.org@localhost
+HOMEPAGE=      https://github.com/c4urself/bump2version
+COMMENT=       Version-bump software with a single command
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_ACCEPTED=      37 36
+
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/bin/bumpversion ${DESTDIR}${PREFIX}/bin/bumpversion-${PYVERSSUFFIX}
+       ${MV} ${DESTDIR}${PREFIX}/bin/bump2version ${DESTDIR}${PREFIX}/bin/bump2version-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r cd0c5ffd1958 -r 6c74a663031d devel/py-bump2version/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-bump2version/PLIST       Thu Oct 08 18:31:24 2020 +0000
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1 2020/10/08 18:31:24 khorben Exp $
+bin/bump2version-${PYVERSSUFFIX}
+bin/bumpversion-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/bumpversion/__init__.py
+${PYSITELIB}/bumpversion/__init__.pyc
+${PYSITELIB}/bumpversion/__init__.pyo
+${PYSITELIB}/bumpversion/__main__.py
+${PYSITELIB}/bumpversion/__main__.pyc
+${PYSITELIB}/bumpversion/__main__.pyo
+${PYSITELIB}/bumpversion/cli.py
+${PYSITELIB}/bumpversion/cli.pyc
+${PYSITELIB}/bumpversion/cli.pyo
+${PYSITELIB}/bumpversion/exceptions.py
+${PYSITELIB}/bumpversion/exceptions.pyc
+${PYSITELIB}/bumpversion/exceptions.pyo
+${PYSITELIB}/bumpversion/functions.py
+${PYSITELIB}/bumpversion/functions.pyc
+${PYSITELIB}/bumpversion/functions.pyo
+${PYSITELIB}/bumpversion/utils.py
+${PYSITELIB}/bumpversion/utils.pyc
+${PYSITELIB}/bumpversion/utils.pyo
+${PYSITELIB}/bumpversion/vcs.py
+${PYSITELIB}/bumpversion/vcs.pyc
+${PYSITELIB}/bumpversion/vcs.pyo
+${PYSITELIB}/bumpversion/version_part.py
+${PYSITELIB}/bumpversion/version_part.pyc
+${PYSITELIB}/bumpversion/version_part.pyo
diff -r cd0c5ffd1958 -r 6c74a663031d devel/py-bump2version/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-bump2version/distinfo    Thu Oct 08 18:31:24 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/10/08 18:31:24 khorben Exp $
+
+SHA1 (bump2version-1.0.1.tar.gz) = f03b1ffcda554d1deb1b0b68cdee17460c7ee9b8
+RMD160 (bump2version-1.0.1.tar.gz) = f17b1fad05fd623d2a3efaae0523d36b4c8dfddc
+SHA512 (bump2version-1.0.1.tar.gz) = 687ad38eabdac57a3daf66714166ebb41aaf8e1a42292c69a1eb56738955413d310fecc7b36a7c39aba2e7ca1bc20ff38b4cc0d40a722304689f03a1b6dd0be8
+Size (bump2version-1.0.1.tar.gz) = 36236 bytes



Home | Main Index | Thread Index | Old Index