Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2024 17:21:44 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1085cb600502 - main - devel/py-tenacity8: Add py-tenacity8 8.5.0 (copied from py-tenacity)
Message-ID:  <202408041721.474HLiqV058961@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1085cb600502071abd35ead7ac74439f30ad1b5d

commit 1085cb600502071abd35ead7ac74439f30ad1b5d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 16:44:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 17:13:51 +0000

    devel/py-tenacity8: Add py-tenacity8 8.5.0 (copied from py-tenacity)
    
    - Add PORTSCOUT
---
 devel/Makefile               |  1 +
 devel/py-tenacity8/Makefile  | 27 +++++++++++++++++++++++++++
 devel/py-tenacity8/distinfo  |  3 +++
 devel/py-tenacity8/pkg-descr |  5 +++++
 4 files changed, 36 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 4d513891aa89..531922000688 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5852,6 +5852,7 @@
     SUBDIR += py-telepath
     SUBDIR += py-tempora
     SUBDIR += py-tenacity
+    SUBDIR += py-tenacity8
     SUBDIR += py-tendo
     SUBDIR += py-termcolor
     SUBDIR += py-termcolor-whl
diff --git a/devel/py-tenacity8/Makefile b/devel/py-tenacity8/Makefile
new file mode 100644
index 000000000000..929a97d69bc0
--- /dev/null
+++ b/devel/py-tenacity8/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	tenacity
+PORTVERSION=	8.5.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	8
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Retry code until it succeeds
+WWW=		https://tenacity.readthedocs.io/en/latest/ \
+		https://github.com/jd/tenacity
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=21.0.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^8\.
+
+.include <bsd.port.mk>
diff --git a/devel/py-tenacity8/distinfo b/devel/py-tenacity8/distinfo
new file mode 100644
index 000000000000..c0c5feaabda4
--- /dev/null
+++ b/devel/py-tenacity8/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1720447710
+SHA256 (tenacity-8.5.0.tar.gz) = 8bc6c0c8a09b31e6cad13c47afbed1a567518250a9a171418582ed8d9c20ca78
+SIZE (tenacity-8.5.0.tar.gz) = 47309
diff --git a/devel/py-tenacity8/pkg-descr b/devel/py-tenacity8/pkg-descr
new file mode 100644
index 000000000000..17c240ec7a96
--- /dev/null
+++ b/devel/py-tenacity8/pkg-descr
@@ -0,0 +1,5 @@
+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.



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