aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2015-11-12 21:26:58 +0800
committerwg <wg@FreeBSD.org>2015-11-12 21:26:58 +0800
commit88d15fa1c525faf9248c383767639409eaceb45e (patch)
treea2e9e8d7091bf189b5677328b67b8fbbb138a799 /devel
parent863aadc153683771e1584e1e1711e56e9f1bd90c (diff)
downloadfreebsd-ports-gnome-88d15fa1c525faf9248c383767639409eaceb45e.tar.gz
freebsd-ports-gnome-88d15fa1c525faf9248c383767639409eaceb45e.tar.zst
freebsd-ports-gnome-88d15fa1c525faf9248c383767639409eaceb45e.zip
devel/py-vcversioner: Use version control tags to discover version numbers
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. WWW: https://github.com/habnabit/vcversioner
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-vcversioner/Makefile17
-rw-r--r--devel/py-vcversioner/distinfo2
-rw-r--r--devel/py-vcversioner/pkg-descr5
4 files changed, 25 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 0a23d89737fe..3e6144330c32 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4357,6 +4357,7 @@
SUBDIR += py-user_agents
SUBDIR += py-utils
SUBDIR += py-validictory
+ SUBDIR += py-vcversioner
SUBDIR += py-venusian
SUBDIR += py-versiontools
SUBDIR += py-virtualenv
diff --git a/devel/py-vcversioner/Makefile b/devel/py-vcversioner/Makefile
new file mode 100644
index 000000000000..15850dd6f8de
--- /dev/null
+++ b/devel/py-vcversioner/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PORTNAME= vcversioner
+PORTVERSION= 2.14.0.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= wg@FreeBSD.org
+COMMENT= Use version control tags to discover version numbers
+
+LICENSE= ISCL
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+.include <bsd.port.mk>
diff --git a/devel/py-vcversioner/distinfo b/devel/py-vcversioner/distinfo
new file mode 100644
index 000000000000..8e6a03c0e95e
--- /dev/null
+++ b/devel/py-vcversioner/distinfo
@@ -0,0 +1,2 @@
+SHA256 (vcversioner-2.14.0.0.tar.gz) = acd43686e92e6c8bbeb4f2eef54408567a7adea9692fa72d591eec5357c03b86
+SIZE (vcversioner-2.14.0.0.tar.gz) = 9015
diff --git a/devel/py-vcversioner/pkg-descr b/devel/py-vcversioner/pkg-descr
new file mode 100644
index 000000000000..4f31888f753f
--- /dev/null
+++ b/devel/py-vcversioner/pkg-descr
@@ -0,0 +1,5 @@
+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.
+
+WWW: https://github.com/habnabit/vcversioner