Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2017 11:28:15 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r447458 - head/security/py-certbot
Message-ID:  <201708061128.v76BSFFA074674@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708061128.v76BSFFA074674>