svn commit: r447458 - head/security/py-certbot
Kubilay Kocak
koobs at FreeBSD.org
Sun Aug 6 11:28:16 UTC 2017
Author: koobs
Date: Sun Aug 6 11:28:15 2017
New Revision: 447458
URL: https://svnweb.freebsd.org/changeset/ports/447458
Log:
security/py-certbot: Relax Python version-spec, support Python 3.x
certbot has supported Python 3 (3.3+) since the 0.14.0 release [1]. Update
the USES=python:<version-spec> to match, allowing Python 3 builds. [2]
Update acme (security/py-acme) RUN_DEPENDS entry to use PORTVERSION not
PKGVERSION (that includes PORTEPOCH/PORTREVISION) which caused the
dependency to be incorrectly reported as unsatisfied if either was
defined. Further, since *_DEPENDS version-specifiers compare against
installed package versions, only a version that includes PORTEPOCH
and/or PORTREVISION is available, so use >= not ==. [3]
While I'm here, enable 'concurrent' to automatically produce
version-suffixed files.
[1] https://github.com/certbot/certbot/issues/4507
PR: 220469 221043 [3]
Submitted by: Kamigishi Rei <spambox haruhiism net> [2]
Reported by: amdmi3 [3]
MFH: 2017Q3
Modified:
head/security/py-certbot/Makefile
Modified: head/security/py-certbot/Makefile
==============================================================================
--- head/security/py-certbot/Makefile Sun Aug 6 11:26:18 2017 (r447457)
+++ head/security/py-certbot/Makefile Sun Aug 6 11:28:15 2017 (r447458)
@@ -3,6 +3,7 @@
PORTNAME= certbot
PORTVERSION= 0.16.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
@@ -14,7 +15,7 @@ COMMENT= Let's Encrypt client
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme==${PKGVERSION}:security/py-acme \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${PORTVERSION}:security/py-acme \
${PYTHON_PKGNAMEPREFIX}configargparse>=0.9.3:devel/py-configargparse \
${PYTHON_PKGNAMEPREFIX}configobj>0:devel/py-configobj \
${PYTHON_PKGNAMEPREFIX}cryptography>=1.2:security/py-cryptography \
@@ -28,8 +29,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme==${PKGVERSION
${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
-USES= python:-2.7
-USE_PYTHON= autoplist distutils
+# Actually 2.7,3.3+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
More information about the svn-ports-all
mailing list