pkgsrc/devel/py-vcversioner/Makefile
bsiegert 7259f58f0e New package, py-vcversioner, from pkgsrc-wip.
You can write a setup.py with no version information specified, and vcversioner
will find a recent, properly-formatted VCS tag and extract a version from it.

It's much more convenient to be able to use your version control system's
tagging mechanism to derive a version number than to have to duplicate that
information all over the place. I eventually ended up copy-pasting the same
code into a couple different setup.py files just to avoid duplicating version
information. But, copy-pasting is dumb and unit testing setup.py files is hard.
This code got factored out into vcversioner.
2016-10-11 12:24:32 +00:00

14 lines
435 B
Makefile

# $NetBSD: Makefile,v 1.1 2016/10/11 12:24:33 bsiegert Exp $
DISTNAME= vcversioner-2.16.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=v/vcversioner/}
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= https://github.com/habnabit/vcversioner
COMMENT= Use version control tags to discover version numbers
LICENSE= isc
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"