MFH: r523241
textproc/py-tablib: Fix RUN_DEPENDS of devel/py-backports.csv * The Python version restriction of devel/py-backports.csv was relaxed in r519566. Thus update the RUN_DEPENDS accordingly and remove the workaround for setup.py which is no longer needed. * Bump PORTREVISION for package change. PR: 243339 Submitted by: sunpoet Approved by: ports-secteam dependency fix blanket
This commit is contained in:
parent
29f95d4c5c
commit
9aab489596
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=523243
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= tablib
|
||||
DISTVERSION= 0.13.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -12,14 +13,13 @@ COMMENT= Format agnostic tabular data library (XLS, JSON, YAML, CSV)
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}odfpy>0:devel/py-odfpy@${PY_FLAVOR} \
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backports.csv>0:devel/py-backports.csv@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}odfpy>0:devel/py-odfpy@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}openpyxl>=2.4.0:textproc/py-openpyxl@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}xlrd>0:textproc/py-xlrd@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}xlwt>0:textproc/py-xlwt@${PY_FLAVOR}
|
||||
|
||||
py27_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backports.csv>0:devel/py-backports.csv@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
@ -27,8 +27,4 @@ NO_ARCH= yes
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= PYTHON_PKGNAMEPREFIX=${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -Ee 's|(backports\.csv)|\1;python_version<"3.0"|' \
|
||||
${WRKSRC}/setup.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user