Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2020 14:50:35 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r522401 - head/devel/py-tenacity
Message-ID:  <202001081450.008EoZcV074551@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Jan  8 14:50:35 2020
New Revision: 522401
URL: https://svnweb.freebsd.org/changeset/ports/522401

Log:
  Update to 6.0.0
  
  - Add LICENSE_FILE
  - Update pkg-descr
  - Update WWW
  - Take maintainership
  
  Changes:	https://github.com/jd/tenacity/releases
  		https://github.com/jd/tenacity/commits/master

Modified:
  head/devel/py-tenacity/Makefile
  head/devel/py-tenacity/distinfo   (contents, props changed)
  head/devel/py-tenacity/pkg-descr   (contents, props changed)

Modified: head/devel/py-tenacity/Makefile
==============================================================================
--- head/devel/py-tenacity/Makefile	Wed Jan  8 14:50:29 2020	(r522400)
+++ head/devel/py-tenacity/Makefile	Wed Jan  8 14:50:35 2020	(r522401)
@@ -2,22 +2,30 @@
 # $FreeBSD$
 
 PORTNAME=	tenacity
-PORTVERSION=	3.4.0
+PORTVERSION=	6.0.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Task retrying for python library
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Retry code until it succeeds
 
 LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}pbr>=1.6:devel/py-pbr@${PY_FLAVOR}
-RUN_DEPENDS:=	${BUILD_DEPENDS}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PY_FUTURES} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
 
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
 NO_ARCH=	yes
 
-USES=		python
-USE_PYTHON=	autoplist distutils
+.include <bsd.port.pre.mk>
 
-.include <bsd.port.mk>
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}monotonic>=0.6:devel/py-monotonic@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>

Modified: head/devel/py-tenacity/distinfo
==============================================================================
--- head/devel/py-tenacity/distinfo	Wed Jan  8 14:50:29 2020	(r522400)
+++ head/devel/py-tenacity/distinfo	Wed Jan  8 14:50:35 2020	(r522401)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1481138391
-SHA256 (tenacity-3.4.0.tar.gz) = 72918085efeaaebcfd241ea04256151935826e428b81d1e18f3e924cb7a1f4c4
-SIZE (tenacity-3.4.0.tar.gz) = 21074
+TIMESTAMP = 1578401164
+SHA256 (tenacity-6.0.0.tar.gz) = 72f397c2bb1887e048726603f3f629ea16f88cb3e61e4ed3c57e98582b8e3571
+SIZE (tenacity-6.0.0.tar.gz) = 33589

Modified: head/devel/py-tenacity/pkg-descr
==============================================================================
--- head/devel/py-tenacity/pkg-descr	Wed Jan  8 14:50:29 2020	(r522400)
+++ head/devel/py-tenacity/pkg-descr	Wed Jan  8 14:50:35 2020	(r522401)
@@ -1,5 +1,7 @@
-Tenacity is an Apache 2.0 licensed general-purpose retrying library, written
-in Python, to simplify the task of adding retry behavior to just about
-anything. It originates from a fork of Retrying.
+Tenacity is an Apache 2.0 licensed general-purpose retrying library, written in
+Python, to simplify the task of adding retry behavior to just about anything. It
+originates from a fork of retrying which is sadly no longer maintained. Tenacity
+isn't api compatible with retrying but adds significant new functionality and
+fixes a number of longstanding bugs.
 
-WWW: https://pypi.org/project/tenacity/
+WWW: https://github.com/jd/tenacity



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