head	1.9;
access;
symbols
	pkgsrc-2024Q1:1.8.0.18
	pkgsrc-2024Q1-base:1.8
	pkgsrc-2023Q4:1.8.0.16
	pkgsrc-2023Q4-base:1.8
	pkgsrc-2023Q3:1.8.0.14
	pkgsrc-2023Q3-base:1.8
	pkgsrc-2023Q2:1.8.0.12
	pkgsrc-2023Q2-base:1.8
	pkgsrc-2023Q1:1.8.0.10
	pkgsrc-2023Q1-base:1.8
	pkgsrc-2022Q4:1.8.0.8
	pkgsrc-2022Q4-base:1.8
	pkgsrc-2022Q3:1.8.0.6
	pkgsrc-2022Q3-base:1.8
	pkgsrc-2022Q2:1.8.0.4
	pkgsrc-2022Q2-base:1.8
	pkgsrc-2022Q1:1.8.0.2
	pkgsrc-2022Q1-base:1.8
	pkgsrc-2021Q4:1.6.0.36
	pkgsrc-2021Q4-base:1.6
	pkgsrc-2021Q3:1.6.0.34
	pkgsrc-2021Q3-base:1.6
	pkgsrc-2021Q2:1.6.0.32
	pkgsrc-2021Q2-base:1.6
	pkgsrc-2021Q1:1.6.0.30
	pkgsrc-2021Q1-base:1.6
	pkgsrc-2020Q4:1.6.0.28
	pkgsrc-2020Q4-base:1.6
	pkgsrc-2020Q3:1.6.0.26
	pkgsrc-2020Q3-base:1.6
	pkgsrc-2020Q2:1.6.0.22
	pkgsrc-2020Q2-base:1.6
	pkgsrc-2020Q1:1.6.0.2
	pkgsrc-2020Q1-base:1.6
	pkgsrc-2019Q4:1.6.0.24
	pkgsrc-2019Q4-base:1.6
	pkgsrc-2019Q3:1.6.0.20
	pkgsrc-2019Q3-base:1.6
	pkgsrc-2019Q2:1.6.0.18
	pkgsrc-2019Q2-base:1.6
	pkgsrc-2019Q1:1.6.0.16
	pkgsrc-2019Q1-base:1.6
	pkgsrc-2018Q4:1.6.0.14
	pkgsrc-2018Q4-base:1.6
	pkgsrc-2018Q3:1.6.0.12
	pkgsrc-2018Q3-base:1.6
	pkgsrc-2018Q2:1.6.0.10
	pkgsrc-2018Q2-base:1.6
	pkgsrc-2018Q1:1.6.0.8
	pkgsrc-2018Q1-base:1.6
	pkgsrc-2017Q4:1.6.0.6
	pkgsrc-2017Q4-base:1.6
	pkgsrc-2017Q3:1.6.0.4
	pkgsrc-2017Q3-base:1.6
	pkgsrc-2017Q2:1.5.0.10
	pkgsrc-2017Q2-base:1.5
	pkgsrc-2017Q1:1.5.0.8
	pkgsrc-2017Q1-base:1.5
	pkgsrc-2016Q4:1.5.0.6
	pkgsrc-2016Q4-base:1.5
	pkgsrc-2016Q3:1.5.0.4
	pkgsrc-2016Q3-base:1.5
	pkgsrc-2016Q2:1.5.0.2
	pkgsrc-2016Q2-base:1.5
	pkgsrc-2016Q1:1.4.0.8
	pkgsrc-2016Q1-base:1.4
	pkgsrc-2015Q4:1.4.0.6
	pkgsrc-2015Q4-base:1.4
	pkgsrc-2015Q3:1.4.0.4
	pkgsrc-2015Q3-base:1.4
	pkgsrc-2015Q2:1.4.0.2
	pkgsrc-2015Q2-base:1.4
	pkgsrc-2015Q1:1.3.0.2
	pkgsrc-2015Q1-base:1.3
	pkgsrc-2014Q4:1.2.0.18
	pkgsrc-2014Q4-base:1.2
	pkgsrc-2014Q3:1.2.0.16
	pkgsrc-2014Q3-base:1.2
	pkgsrc-2014Q2:1.2.0.14
	pkgsrc-2014Q2-base:1.2
	pkgsrc-2014Q1:1.2.0.12
	pkgsrc-2014Q1-base:1.2
	pkgsrc-2013Q4:1.2.0.10
	pkgsrc-2013Q4-base:1.2
	pkgsrc-2013Q3:1.2.0.8
	pkgsrc-2013Q3-base:1.2
	pkgsrc-2013Q2:1.2.0.6
	pkgsrc-2013Q2-base:1.2
	pkgsrc-2013Q1:1.2.0.4
	pkgsrc-2013Q1-base:1.2
	pkgsrc-2012Q4:1.2.0.2
	pkgsrc-2012Q4-base:1.2;
locks; strict;
comment	@# @;


1.9
date	2024.04.30.13.24.17;	author wiz;	state dead;
branches;
next	1.8;
commitid	nIf2El4Hf8TKCa8F;

1.8
date	2022.01.13.19.31.21;	author wiz;	state Exp;
branches;
next	1.7;
commitid	o03xQdIEki5GAvoD;

1.7
date	2022.01.04.20.53.10;	author wiz;	state Exp;
branches;
next	1.6;
commitid	CYyhdK9qtoffkmnD;

1.6
date	2017.09.12.04.00.07;	author adam;	state Exp;
branches;
next	1.5;
commitid	irkbSt7FCRIZlR6A;

1.5
date	2016.06.08.17.43.25;	author wiz;	state Exp;
branches;
next	1.4;
commitid	z4yEulWexjFaJG9z;

1.4
date	2015.04.12.14.16.28;	author wiz;	state Exp;
branches;
next	1.3;
commitid	zKXWnqgVEmuebjhy;

1.3
date	2015.02.09.18.53.03;	author wiz;	state Exp;
branches;
next	1.2;
commitid	med0TuDQcJdyHm9y;

1.2
date	2012.11.18.02.25.37;	author asau;	state Exp;
branches;
next	1.1;

1.1
date	2012.11.03.13.55.16;	author imil;	state Exp;
branches;
next	;


desc
@@


1.9
log
@py-hgtools: remove

Replaced by py-jaraco.vcs.
@
text
@# $NetBSD: Makefile,v 1.8 2022/01/13 19:31:21 wiz Exp $

DISTNAME=	hgtools-6.5.2
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
PKGREVISION=	1
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=h/hgtools/}

MAINTAINER=	imil@@NetBSD.org
HOMEPAGE=	https://github.com/jaraco/hgtools
COMMENT=	Classes and setuptools plugin for Mercurial and Git repositories
LICENSE=	mit

PYTHON_VERSIONED_DEPENDENCIES=	setuptools_scm:build

USE_LANGUAGES=	# none

.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
@


1.8
log
@*: setuptools_scm: switch to versioned_dependencies
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/01/04 20:53:10 wiz Exp $
@


1.7
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2017/09/12 04:00:07 adam Exp $
d14 1
a14 1
BUILD_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm
d19 1
@


1.6
log
@6.5
* Issue 31: Add support for Git-backed Mercurial repositories with
  bookmarks on the tip.

6.4
* Moved hosting to Github.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2016/06/08 17:43:25 wiz Exp $
d5 1
@


1.5
log
@Switch to MASTER_SITES_PYPI.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2015/04/12 14:16:28 wiz Exp $
d3 2
a4 3
HGTVERS=	6.3
DISTNAME=	hgtools-${HGTVERS}
PKGNAME=	${PYPKGPREFIX}-hgtools-${HGTVERS}
a6 1
EXTRACT_SUFX=	.zip
d9 1
a9 1
HOMEPAGE=	https://pypi.python.org/pypi/hgtools
d13 2
a16 3
post-extract:
	cd ${WRKSRC} && ${CHMOD} ${SHAREMODE} hgtools.egg-info/*

@


1.4
log
@Fix HOMEPAGE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2015/02/09 18:53:03 wiz Exp $
d7 1
a7 1
MASTER_SITES=	http://pypi.python.org/packages/source/h/hgtools/
@


1.3
log
@Update to 6.3. Update LICENSE (see 6.0 below).

6.3
~~~

* Updated 'dev' revision to be compatible with setuptools 8 canonical
  pre-release version numbering (now '.dev0').

6.2.1
~~~~~

* Pull Request #7: Fixed intermittent test failures.

6.2
~~~

* Issue #28: Fixed poor parsing of git version. Also provide a nicer error
  message when no repo manager is found.
* Added support for querying the Mercurial version in cmd.Mercurial.

6.1
~~~

* Issue #21: GitManager is now only valid if Git 1.7.10 or later is present.

6.0
~~~

* Issue #23: hgtools no longer imports Mercurial and thus does not link to
  it. Applications that wish to use the in-process Mercurial manager must
  first `import mercurial.dispatch` in their application.
* Issue #23: hgtools is now licensed under the MIT license.

5.3
~~~

* Issue #19: Add file finder support for git. Credit to Berry Phillips.

5.2
~~~

* Issue #20: Added support for listing all git tags. Credit to Berry Phillips.

5.1
~~~

* In version inference, always fallback to increment (or None) when an
  Exception occurs in the calculation.

5.0.1
~~~~~

* Issue #17: Fix regression on older versions of setuptools where unspecified
  distribution attributes would cause use_vcs_version of None to supersede
  a supplied use_hg_version.

5.0
~~~

* Added new ``use_vcs_version`` distutils parameter to supersede
  ``use_hg_version``. Clients should update to use this new parameter as soon
  as hgtools 5.0 is generally available.
* Initial git support. The tool now nominally supports eliciting the project
  version from a git tag. Many of the hg features are not yet implemented,
  such as auto-incrementing versions when the current revision is not on a
  tag and file discovery from repo metadata.
  This new Git support provides experimental support for dual-hosted
  repositories (such as those found on Kiln). Since file discovery is not yet
  tested or implemented, there are likely to be yet undiscovered issues.
* Refactored the Manager models to better support the two repositories.
  Clients that use hgtools to programmatically manipulate repositories will
  need to update to use the new names. In particular, HGRepoManager was
  renamed to RepoManager. SubprocessManager renamed to MercurialManager and
  a new GitManager was created. The LibraryManager was renamed to
  MercurialInProcManager.

4.0
~~~

* Removed functions in hgtools (package) module deprecated since 0.6.6.

3.0.2
~~~~~

* Restored Python 2.6 compatibility in reentry module.

3.0.1
~~~~~

* Merged changes from 2.2.2 to address #13.

3.0
~~~

* Removed support for Python 2.5. Python 2.6 or later is now required.

2.2.3
~~~~~

* Restored Python 2.5 compatibility in some modules.

2.2.2
~~~~~

* Removed the LibraryManager from the default imports. This means it will not
  be available unless the client application specifically imports
  `hgtools.managers.library`. This change appears to fix #13.

2.2.1
~~~~~

* Added some exception handling and tests around Library Manager in the hopes
  of preventing #13.

2.2
~~~

* LibraryManager has been re-written to use the command-line API in-process.
  The new LibraryManager now only works Python 2.7 and greater, but also now
  shares the same capability as the SubprocessManager with full tags support.

2.1
~~~

* hgtools now builds natively on Python 3, rather than requiring a 2to3
  conversion at install time.

2.0.3
~~~~~

 * Issue #12: Suppress exceptions besides ImportError when importing
   Mercurial modules.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2012/11/18 02:25:37 asau Exp $
d11 1
a11 1
HOMEPAGE=	http://pypi.python.org/packages/source/h/hgtools/
@


1.2
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.1 2012/11/03 13:55:16 imil Exp $
#
d3 1
a3 1
HGTVERS=	2.0.2
d12 2
a13 2
COMMENT=	Classes and setuptools plugin for Mercurial repositories
LICENSE=	gnu-gpl-v1
@


1.1
log
@Initial import of py-hgtools, version 2.0.2, into the NetBSD Packages
Collection.

hgtools builds on the setuptools_hg plugin for setuptools. hgtools provides
classes for inspecting and working with repositories in the Mercurial version
control system.

hgtools provides a plugin for setuptools that enables setuptools to find files
under the Mercurial version control system.

The classes provided by hgtools are designed to work natively with the
Mercurial Python libraries (in process) or fall back to using the command-line
program hg(1) if available. The command-line support is especially useful
inside virtualenvs that don't have access to a system-wide installed Mercurial
lib (i.e. when the virtualenv was created with --no-site-packages).
@
text
@d1 1
a1 1
# $NetBSD$
a15 2
PKG_DESTDIR_SUPPORT=	user-destdir

@

