devel/py-semantic_version: Update to 2.6.0

- Add NO_ARCH
- Allow concurrent installation (USE_PYTHON=concurrent)
- Remove OPTION TESTS
- Rename regression-test: target to do-test:

Reviewed by:	koobs
Approved by:	koobs (ports)
Differential Revision:	https://reviews.freebsd.org/D10768
This commit is contained in:
Fukang Chen 2017-06-21 17:44:20 +00:00
parent 2adeb1f9b2
commit 0703fbba55
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444044
2 changed files with 11 additions and 13 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= semantic_version
PORTVERSION= 2.4.2
PORTREVISION= 1
PORTVERSION= 2.6.0
DISTVERSIONPREFIX= v
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -16,19 +15,17 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>0:www/py-django18
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
NO_ARCH= yes
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
# Actually 2.7,3.4+
USES= python:2.7+
USE_PYTHON= autoplist concurrent distutils
do-test:
@(cd ${TEST_WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
.include <bsd.port.mk>

View file

@ -1,2 +1,3 @@
SHA256 (rbarrois-python-semanticversion-v2.4.2_GH0.tar.gz) = 81c03a9fffe5366950b2f6a6db231dd0a475b3c105a27544d8a480f271f60a0d
SIZE (rbarrois-python-semanticversion-v2.4.2_GH0.tar.gz) = 28781
TIMESTAMP = 1494696732
SHA256 (rbarrois-python-semanticversion-v2.6.0_GH0.tar.gz) = 110d9c75dc9670a188ab820503c6b40ea4ab3f1450a0aee5a90a24fd60aef358
SIZE (rbarrois-python-semanticversion-v2.6.0_GH0.tar.gz) = 31678