pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: bsiegert
Date: Tue Oct 11 12:24:33 UTC 2016
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/py-vcversioner: DESCR Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.2324 -r1.2325 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-vcversioner/DESCR \
pkgsrc/devel/py-vcversioner/Makefile pkgsrc/devel/py-vcversioner/PLIST \
pkgsrc/devel/py-vcversioner/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.2324 pkgsrc/devel/Makefile:1.2325
--- pkgsrc/devel/Makefile:1.2324 Mon Oct 10 23:16:29 2016
+++ pkgsrc/devel/Makefile Tue Oct 11 12:24:32 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2324 2016/10/10 23:16:29 taca Exp $
+# $NetBSD: Makefile,v 1.2325 2016/10/11 12:24:32 bsiegert Exp $
#
COMMENT= Development utilities
@@ -1944,6 +1944,7 @@ SUBDIR+= py-unittest2py3k
SUBDIR+= py-urwid
SUBDIR+= py-usb
SUBDIR+= py-uuid
+SUBDIR+= py-vcversioner
SUBDIR+= py-virtualenv
SUBDIR+= py-wcwidth
SUBDIR+= py-wheel
Added files:
Index: pkgsrc/devel/py-vcversioner/DESCR
diff -u /dev/null pkgsrc/devel/py-vcversioner/DESCR:1.1
--- /dev/null Tue Oct 11 12:24:33 2016
+++ pkgsrc/devel/py-vcversioner/DESCR Tue Oct 11 12:24:33 2016
@@ -0,0 +1,9 @@
+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.
Index: pkgsrc/devel/py-vcversioner/Makefile
diff -u /dev/null pkgsrc/devel/py-vcversioner/Makefile:1.1
--- /dev/null Tue Oct 11 12:24:33 2016
+++ pkgsrc/devel/py-vcversioner/Makefile Tue Oct 11 12:24:33 2016
@@ -0,0 +1,14 @@
+# $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@localhost
+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"
Index: pkgsrc/devel/py-vcversioner/PLIST
diff -u /dev/null pkgsrc/devel/py-vcversioner/PLIST:1.1
--- /dev/null Tue Oct 11 12:24:33 2016
+++ pkgsrc/devel/py-vcversioner/PLIST Tue Oct 11 12:24:33 2016
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/11 12:24:33 bsiegert Exp $
+${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}/vcversioner.py
+${PYSITELIB}/vcversioner.pyc
+${PYSITELIB}/vcversioner.pyo
Index: pkgsrc/devel/py-vcversioner/distinfo
diff -u /dev/null pkgsrc/devel/py-vcversioner/distinfo:1.1
--- /dev/null Tue Oct 11 12:24:33 2016
+++ pkgsrc/devel/py-vcversioner/distinfo Tue Oct 11 12:24:33 2016
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/10/11 12:24:33 bsiegert Exp $
+
+SHA1 (vcversioner-2.16.0.0.tar.gz) = ce076b62e8f0772bf79f29762bfc3cf09f6781b5
+RMD160 (vcversioner-2.16.0.0.tar.gz) = b7f3e58ffedb53a6a2824ffbe60c3ec8f01049ee
+SHA512 (vcversioner-2.16.0.0.tar.gz) = e4e34693aa813e57991eca01d20102bd2e939b536461e2e9e063ac0e3558580e57d7e8d5e08d010690b3c901c97e53f187f20b48520b333eb492ec33e85757d8
+Size (vcversioner-2.16.0.0.tar.gz) = 9024 bytes
Home |
Main Index |
Thread Index |
Old Index