mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 11:56:28 -04:00
- Add LICENSE_FILE
- Remove nonsense TESTS option - Remove unneeded dependency on the python2 symlink - Use the framework for regression tests With hat: portmgr
This commit is contained in:
parent
3de0b2e328
commit
e00b59e343
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=448583
1 changed files with 6 additions and 12 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= sanetime
|
||||
PORTVERSION= 4.2.3
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel python astro
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -12,21 +12,15 @@ MAINTAINER= koobs@FreeBSD.org
|
|||
COMMENT= Sane date/time Python interface, with Django support
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=1.5:devel/py-dateutil \
|
||||
${PYTHON_PKGNAMEPREFIX}pytz>=2010:devel/py-pytz
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>=0:devel/py-unittest2
|
||||
|
||||
OPTIONS_DEFINE= TESTS
|
||||
TESTS_DESC= Include tools for unit tests
|
||||
|
||||
USES= python:2
|
||||
USES= python:2.7
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
regression-test: build
|
||||
cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
||||
DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP}
|
||||
TEST_TARGET= test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue