forked from Lainports/freebsd-ports
botocore 1.12.209 banned docutils 0.15 (docutils != 0.15) for wrong python 2
wheel which is already fixed [1][2]. And it does not affect FreeBSD ports users.
Later, botocore changed docutils from != 0.15 to < 0.15 [3].
Recent py-botocore update to 1.12.213 in r509585 fixes this problem since
upstream changed the docutils version from docutils>=0.10,<0.15 to
docutils>=0.10,<0.16.
While I'm here, mark the upper bound of RUN_DEPENDS of py-botocore to avoid
potential breakage in the future.
[1] https://github.com/aws/aws-cli/issues/4332
[2] https://sourceforge.net/p/docutils/bugs/365/
[3] add5c8b6b4
PR: 239664
Submitted by: sunpoet (myself)
37 lines
1.3 KiB
Makefile
37 lines
1.3 KiB
Makefile
# Created by: Alexey V. Degtyarev <alexey@renatasystems.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= botocore
|
|
PORTVERSION= 1.12.217
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bhughes@FreeBSD.org
|
|
COMMENT= Low-level, core functionality of boto 3
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=2.1<3.0.0:devel/py-dateutil@${PY_FLAVOR}
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}jmespath>=0.7.1<1.0.0:devel/py-jmespath@${PY_FLAVOR}
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}urllib3>=1.20,1<1.26,1:net/py-urllib3@${PY_FLAVOR}
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}docutils>=0.10<0.16:textproc/py-docutils@${PY_FLAVOR}
|
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
# setup.py test runs integration tests which fail
|
|
# https://github.com/boto/s3transfer/issues/41
|
|
# Note: this is an AWS python package wide issue
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v tests/unit tests/functional
|
|
|
|
.include <bsd.port.mk>
|