Date: Thu, 22 Feb 2018 14:29:20 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462595 - in head/security: py-acme py-certbot Message-ID: <201802221429.w1METK5A030371@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Thu Feb 22 14:29:19 2018 New Revision: 462595 URL: https://svnweb.freebsd.org/changeset/ports/462595 Log: As all the acme/certbot have the same version, store it in one place. Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D14262 Added: head/security/py-acme/version.mk (contents, props changed) Modified: head/security/py-acme/Makefile (contents, props changed) head/security/py-certbot/Makefile (contents, props changed) Modified: head/security/py-acme/Makefile ============================================================================== --- head/security/py-acme/Makefile Thu Feb 22 14:27:41 2018 (r462594) +++ head/security/py-acme/Makefile Thu Feb 22 14:29:19 2018 (r462595) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= acme -PORTVERSION= 0.21.1 +PORTVERSION= ${ACME_VERSION} PORTEPOCH= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP @@ -33,4 +33,5 @@ NO_ARCH= yes do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test +.include "version.mk" .include <bsd.port.mk> Added: head/security/py-acme/version.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/py-acme/version.mk Thu Feb 22 14:29:19 2018 (r462595) @@ -0,0 +1 @@ +ACME_VERSION= 0.21.1 Modified: head/security/py-certbot/Makefile ============================================================================== --- head/security/py-certbot/Makefile Thu Feb 22 14:27:41 2018 (r462594) +++ head/security/py-certbot/Makefile Thu Feb 22 14:29:19 2018 (r462595) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= certbot -PORTVERSION= 0.21.1 +PORTVERSION= ${ACME_VERSION} PORTEPOCH= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP @@ -14,7 +14,7 @@ COMMENT= Let's Encrypt client LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${PORTVERSION}:security/py-acme@${FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION}:security/py-acme@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}configargparse>=0.9.3:devel/py-configargparse@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}configobj>0:devel/py-configobj@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cryptography>=1.2:security/py-cryptography@${FLAVOR} \ @@ -42,4 +42,5 @@ post-patch: do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test +.include "${.CURDIR}/../py-acme/version.mk" .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802221429.w1METK5A030371>