mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Update RUN_DEPENDS for py-pycups 2.0.1 update
- Bump PORTREVISION for dependency change
This commit is contained in:
parent
766cbd5476
commit
def36eb9cf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=536874
1 changed files with 10 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= cups-cloud-print
|
||||
PORTVERSION= 20160502
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= print
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
@ -13,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||
BUILD_DEPENDS= cups-config:print/cups
|
||||
RUN_DEPENDS= cancel:print/cups \
|
||||
bash:shells/bash \
|
||||
${PYTHON_PKGNAMEPREFIX}pycups>0:print/py-pycups@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}httplib2>0:www/py-httplib2@${PY_FLAVOR}
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
@ -32,6 +32,14 @@ DOCSDIR= ${PREFIX}/share/doc/cloudprint-cups
|
|||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 3500
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pycups1>=0:print/py-pycups1@${PY_FLAVOR}
|
||||
.else
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pycups>=0:print/py-pycups@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/README.md/s|^|#| ; \
|
||||
|
@ -41,4 +49,4 @@ post-install-DOCS-on:
|
|||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue