1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

[NEW] devel/py-semantic_version: Python library provides

a few tools to handle SemVer in Python

This small python library provides a few tools to handle
SemVer in Python. It follows strictly the 2.0.0 version
of the SemVer scheme.

WWW: https://github.com/rbarrois/python-semanticversion

Approved by: koobs
Differential Revision: https://reviews.freebsd.org/D3021
This commit is contained in:
Fukang Chen 2015-07-08 15:33:56 +00:00
parent d6d200cb1b
commit ef3f027da5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391568
4 changed files with 41 additions and 0 deletions

View File

@ -4148,6 +4148,7 @@
SUBDIR += py-sanetime
SUBDIR += py-scripttest
SUBDIR += py-sdl2
SUBDIR += py-semantic_version
SUBDIR += py-serpent
SUBDIR += py-setproctitle
SUBDIR += py-setuptools

View File

@ -0,0 +1,33 @@
# Created by: loader <loader@FreeBSD.org>
# $FreeBSD$
PORTNAME= semantic_version
PORTVERSION= 2.4.2
DISTVERSIONPREFIX= v
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= loader@FreeBSD.org
COMMENT= Python library provides a few tools to handle SemVer in Python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>0:${PORTSDIR}/www/py-django
OPTIONS_DEFINE= TESTS
TESTS_DESC= Install test suite requirements
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
USE_GITHUB= yes
GH_ACCOUNT= rbarrois
GH_PROJECT= python-semanticversion
USES= python
USE_PYTHON= autoplist distutils
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (rbarrois-python-semanticversion-v2.4.2_GH0.tar.gz) = 81c03a9fffe5366950b2f6a6db231dd0a475b3c105a27544d8a480f271f60a0d
SIZE (rbarrois-python-semanticversion-v2.4.2_GH0.tar.gz) = 28781

View File

@ -0,0 +1,5 @@
This small python library provides a few tools to handle
SemVer in Python. It follows strictly the 2.0.0 version
of the SemVer scheme.
WWW: https://github.com/rbarrois/python-semanticversion