aboutsummaryrefslogtreecommitdiff
path: root/devel/py-joblib/Makefile
blob: 45cd16fa227c6c6ee13b27c529f9851c01f4af9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
PORTNAME=	joblib
PORTVERSION=	1.1.0
CATEGORIES=	devel python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	skreuzer@FreeBSD.org
COMMENT=	Lightweight pipelining using Python functions as jobs
WWW=		https://github.com/joblib/joblib

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest4>0:devel/py-pytest4@${PY_FLAVOR}

USES=		python:3.6+
USE_PYTHON=	distutils autoplist

NO_ARCH=	yes

TEST_ENV=	PYTHON_PATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

# Skip some tests as they're known to fail. See also:
#
# https://github.com/joblib/joblib/issues/57
# https://github.com/joblib/joblib/issues/1115
# https://github.com/joblib/joblib/issues/1141
do-test:
	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= \
		-k 'not test_disk_used and not defined_in_jupyter'

.include <bsd.port.mk>