mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
c02ff86a83
When testing a port for a non-default python py.test may fail to find dependencies for default version because they weren't built e.g., $ make test PYTHON_VERSION=python3.5 -C devel/py-apscheduler [...] During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.5/site-packages/_pytest/config.py", line 319, in _importconftest mod = conftestpath.pyimport() File "/usr/local/lib/python3.5/site-packages/py/_path/local.py", line 650, in pyimport __import__(modname) File "/usr/ports/devel/py-apscheduler/work/APScheduler-3.2.0/tests/conftest.py", line 8, in <module> from apscheduler.job import Job File "/usr/ports/devel/py-apscheduler/work/APScheduler-3.2.0/apscheduler/job.py", line 4, in <module> import six ImportError: No module named 'six' ERROR: could not load /usr/ports/devel/py-apscheduler/work/APScheduler-3.2.0/tests/conftest.py Approved by: portmgr blanket
28 lines
580 B
Makefile
28 lines
580 B
Makefile
# Created by: Fukang Chen <loader@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= honcho
|
|
PORTVERSION= 0.6.6
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= sysutils python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= loader@FreeBSD.org
|
|
COMMENT= Managing Procfile-based applications tool
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:devel/py-Jinja2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= nickstenning
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
regression-test:
|
|
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
|
|
|
|
.include <bsd.port.mk>
|