1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/devel/py-dateutil/Makefile
Kubilay Kocak 7372fdbf15 devel/py-dateutil: Update to 2.8.0
Changelog:

  https://github.com/dateutil/dateutil/blob/2.8.0/NEWS

PR:	238161
Differential Revision:	D20421
2019-05-31 12:39:12 +00:00

38 lines
1.2 KiB
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= dateutil
PORTVERSION= 2.8.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-${PORTNAME}-${PORTVERSION}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Extensions to the standard Python datetime module
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.5:devel/py-six@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.3:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.2.0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=3.30:devel/py-hypothesis@${PY_FLAVOR}
USES= python
USE_LOCALE= en_US.UTF-8
USE_PYTHON= autoplist distutils
NO_ARCH= yes
# Test failure: test_tzlocal_offset_equal[GMT-tzoff1] (dateutil 2.8.0)
# https://github.com/dateutil/dateutil/issues/918
do-test:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${TEST_ENV} \
${PYTHON_CMD} -m pytest -v -rs -o addopts= \
-k 'not test_tzlocal_offset_equal[GMT-tzoff1]'
.include <bsd.port.mk>