1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00

devel/py-dateutil: Update to 2.8.2

- Remove USE_LOCALE which is needed by Python 3.6
- Update do-test:

Changes:	https://github.com/dateutil/dateutil/releases
This commit is contained in:
Po-Chuan Hsieh 2022-04-16 11:57:13 +08:00
parent 8eb7f4ebd0
commit dad754c97d
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 14 additions and 17 deletions

View File

@ -1,7 +1,7 @@
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
PORTNAME= dateutil
PORTVERSION= 2.8.1
PORTVERSION= 2.8.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -13,22 +13,19 @@ 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}
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}freezegun>0:devel/py-freezegun@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=3.30:devel/py-hypothesis@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}freezegun>=0:devel/py-freezegun@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=3.30:devel/py-hypothesis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=3.0,1:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.0.0:devel/py-pytest-cov@${PY_FLAVOR}
USES= python:3.6+
USE_LOCALE= en_US.UTF-8
USE_PYTHON= autoplist distutils
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
# -W fixes PytestUnknownMarkWarning: Unknown pytest.mark.no_cover
do-test:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${TEST_ENV} \
${PYTHON_CMD} -m pytest -v -rs -o addopts= \
-W ignore::pytest.PytestUnknownMarkWarning
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1588386929
SHA256 (python-dateutil-2.8.1.tar.gz) = 73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c
SIZE (python-dateutil-2.8.1.tar.gz) = 331745
TIMESTAMP = 1649423764
SHA256 (python-dateutil-2.8.2.tar.gz) = 0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86
SIZE (python-dateutil-2.8.2.tar.gz) = 357324

View File

@ -1,4 +1,4 @@
The dateutil module provides powerful extensions to the standard
datetime module.
The dateutil module provides powerful extensions to the standard datetime
module, available in Python.
WWW: https://dateutil.readthedocs.io
WWW: https://github.com/dateutil/dateutil