Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -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 Index: devel/py-semantic_version/Makefile =================================================================== --- /dev/null +++ devel/py-semantic_version/Makefile @@ -0,0 +1,33 @@ +# Created by: loader +# $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 Index: devel/py-semantic_version/distinfo =================================================================== --- /dev/null +++ devel/py-semantic_version/distinfo @@ -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 Index: devel/py-semantic_version/pkg-descr =================================================================== --- /dev/null +++ devel/py-semantic_version/pkg-descr @@ -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