head	1.12;
access;
symbols
	pkgsrc-2026Q3:1.12.0.4
	pkgsrc-2026Q3-base:1.12
	pkgsrc-2026Q2:1.12.0.2
	pkgsrc-2026Q2-base:1.12
	pkgsrc-2026Q1:1.11.0.2
	pkgsrc-2026Q1-base:1.11
	pkgsrc-2025Q4:1.10.0.2
	pkgsrc-2025Q4-base:1.10
	pkgsrc-2025Q3:1.9.0.2
	pkgsrc-2025Q3-base:1.9
	pkgsrc-2025Q2:1.8.0.2
	pkgsrc-2025Q2-base:1.8
	pkgsrc-2025Q1:1.7.0.4
	pkgsrc-2025Q1-base:1.7
	pkgsrc-2024Q4:1.7.0.2
	pkgsrc-2024Q4-base:1.7
	pkgsrc-2024Q3:1.5.0.8
	pkgsrc-2024Q3-base:1.5
	pkgsrc-2024Q2:1.5.0.6
	pkgsrc-2024Q2-base:1.5
	pkgsrc-2024Q1:1.5.0.4
	pkgsrc-2024Q1-base:1.5
	pkgsrc-2023Q4:1.5.0.2
	pkgsrc-2023Q4-base:1.5
	pkgsrc-2023Q3:1.3.0.2
	pkgsrc-2023Q3-base:1.3
	pkgsrc-2023Q2:1.2.0.2
	pkgsrc-2023Q2-base:1.2;
locks; strict;
comment	@# @;


1.12
date	2026.05.24.05.51.19;	author adam;	state Exp;
branches;
next	1.11;
commitid	KlD5r066TSjBS1HG;

1.11
date	2026.01.20.22.34.36;	author wiz;	state Exp;
branches;
next	1.10;
commitid	MEsAw8YG978YpbrG;

1.10
date	2025.10.08.21.38.52;	author wiz;	state Exp;
branches;
next	1.9;
commitid	B8c93skW8847sOdG;

1.9
date	2025.07.06.08.33.57;	author wiz;	state Exp;
branches;
next	1.8;
commitid	Oq7B9EfdJ3lg8F1G;

1.8
date	2025.04.12.09.39.48;	author adam;	state Exp;
branches;
next	1.7;
commitid	GV5AFiotgwPfeKQF;

1.7
date	2024.11.17.09.25.18;	author wiz;	state Exp;
branches;
next	1.6;
commitid	znxv1SXaYQN7QYxF;

1.6
date	2024.11.11.07.28.02;	author wiz;	state Exp;
branches;
next	1.5;
commitid	1fBDq3LwS98NncxF;

1.5
date	2023.11.04.23.54.22;	author wiz;	state Exp;
branches;
next	1.4;
commitid	MbGx0qXSIuxGPlLE;

1.4
date	2023.11.04.16.09.49;	author wiz;	state Exp;
branches;
next	1.3;
commitid	OnyyiNI5Th9sbjLE;

1.3
date	2023.08.24.19.42.13;	author wiz;	state Exp;
branches;
next	1.2;
commitid	IHN5bQJV8GTEK4CE;

1.2
date	2023.06.11.09.01.50;	author wiz;	state Exp;
branches;
next	1.1;
commitid	aYVjJIHVt6FqAvsE;

1.1
date	2023.06.11.08.59.07;	author wiz;	state Exp;
branches;
next	;
commitid	nHUi2ygzg7cxzvsE;


desc
@@


1.12
log
@py-bumpver: updated to 2026.1132

2026.1132

- Add `allowed_branches` config option to restrict which branches can be released from. Accepts a comma-separated list of glob patterns (e.g. `master,main,release-*`). Empty (the default) allows any branch.
@
text
@# $NetBSD: Makefile,v 1.11 2026/01/20 22:34:36 wiz Exp $

DISTNAME=	bumpver-2026.1132
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=b/bumpver/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/mbarkhau/bumpver
COMMENT=	Bump version numbers in project files
LICENSE=	mit

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
DEPENDS+=	${PYPKGPREFIX}-click>=0:../../devel/py-click
DEPENDS+=	${PYPKGPREFIX}-colorama>=0.4:../../comms/py-colorama
DEPENDS+=	${PYPKGPREFIX}-lexid>=0:../../devel/py-lexid
DEPENDS+=	${PYPKGPREFIX}-toml>=0:../../textproc/py-toml
TEST_DEPENDS+=	git-base-[0-9]*:../../devel/git-base
TEST_DEPENDS+=	${PYPKGPREFIX}-mercurial>=0:../../devel/py-mercurial

USE_LANGUAGES=	# none

PY_RENAME_BINARIES=	bumpver

# as of 2025.1131
# 2 failed, 523 passed, 1 warning

.include "../../lang/python/wheel.mk"
# for tests
.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"
@


1.11
log
@py-bumpver: remove Python 2 support, allows building with Python 3.14

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2025/10/08 21:38:52 wiz Exp $
d3 1
a3 1
DISTNAME=	bumpver-2025.1131
a4 1
PKGREVISION=	1
a16 1
DEPENDS+=	${PYPKGPREFIX}-pathlib2>=0:../../devel/py-pathlib2
d23 1
a23 2
post-install:
	cd ${DESTDIR}${PREFIX}/bin && ${MV} bumpver bumpver-${PYVERSSUFFIX} || ${TRUE}
@


1.10
log
@*: py-lib3to6 does not support Python 3.14

Link to upstream bug report
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2025/07/06 08:33:57 wiz Exp $
d5 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-lib3to6>=0:../../devel/py-lib3to6
a22 2
PYTHON_VERSIONS_INCOMPATIBLE+=	314 # py-lib3to6

@


1.9
log
@py-bumpver: update to 2025.1131.

## BumpVer 2025.1131

- Fix [#248][gh_i248]: Improve handling of "expected list, got string" when parsing
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2025/04/12 09:39:48 adam Exp $
d23 2
@


1.8
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2024/11/17 09:25:18 wiz Exp $
d3 1
a3 1
DISTNAME=	bumpver-2024.1130
a4 1
PKGREVISION=	1
d28 3
@


1.7
log
@py-bumpver: update to 2024.1130.

## BumpVer 2024.1130

This update adds the vendored module `setuptools_v65_version.py` from `setuptools==v65.7.0`.
This was the last version with support for `LegacyVersion`.

- Fix [#242][gh_i242]: Fix incorrect parsing of versions with tags.
- Fix [#156][gh_i156]: Remove runtime dependency on setuptools and looseversion.

[gh_i242]: https://github.com/mbarkhau/bumpver/issues/242
[gh_i156]: https://github.com/mbarkhau/bumpver/issues/156

Thank you [Andrew Mitchell](https://github.com/MitchellAcoustics) and [Tzu-Ting](https://github.com/tzing) for your issue reports.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2024/11/11 07:28:02 wiz Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
@


1.6
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2023/11/04 23:54:22 wiz Exp $
d3 1
a3 1
DISTNAME=	bumpver-2023.1129
a17 1
DEPENDS+=	${PYPKGPREFIX}-looseversion>=0:../../devel/py-looseversion
a24 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.5
log
@py-bumpver: add missing tool dependency
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2023/11/04 16:09:49 wiz Exp $
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
@


1.4
log
@py-bumpver: update to 2023.1129.

## BumpVer 2023.1129

- Fix [#224][gh_i224]: Add `--environ` so it emits `0` values. Depricate `-e/--env`.
- Add [#223][gh_pr223]: Add support for `.bumpver.toml`
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2023/08/24 19:42:13 wiz Exp $
d15 1
@


1.3
log
@py-bumpver: update to 2023.1126.

## BumpVer 2023.1126

- Add [#214][gh_pr214]: Support for pre/post commit hooks.
- Add [#219][gh_pr219]: Fix pathlib issues on Windows.
- Fix [#201][gh_i201]: Better error message for SemVer corner case.
- Update [#215][gh_i215]: Better error message for greedy pattern matching.
- Update [#216][gh_i216]: Use .toml format in REAMDE examples.

## BumpVer 2023.1125

- Add [#188][gh_i188]: Add `--tag-scope=<SCOPE>` to support separate versioning for branches.
- Add [#185][gh_i185]: Add `--tag-message=<TMPL>` parameter and `tag_message` configuration option.
- Fix [#209][gh_i209]: Make `--no-tag-commit` ommit `--follow-tags`.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2023/06/11 09:01:50 wiz Exp $
d3 1
a3 1
DISTNAME=	bumpver-2023.1126
d13 2
a20 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test>=0:../../devel/py-test
d31 3
a33 4
do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}

.include "../../lang/python/egg.mk"
@


1.2
log
@py-bumpver: add version number to binary

Ride import
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2023/06/11 08:59:07 wiz Exp $
d3 1
a3 1
DISTNAME=	bumpver-2023.1124
@


1.1
log
@devel/py-bumpver: import py-bumpver-2023.1124

With the CLI command bumpver, you can search for and update version
strings in your project files. It has a flexible pattern syntax to
support many version schemes (SemVer, CalVer or otherwise). BumpVer
features:

- Configurable version patterns
- Optional Git or Mercurial integration
- Works with plaintext, so you can use it with any project.
@
text
@d1 1
a1 1
# $NetBSD$
d27 3
@

