Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 May 2026 20:16:11 +0000
From:      Yusuf Yaman <nxjoseph@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Simeon Simeonov <sgs@pichove.org>
Subject:   git: 0a6481d31740 - main - security/py-pyotp2289: Update 1.2.1 => 2.0.0
Message-ID:  <69f7ad0b.42ea9.5c9290f3@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by nxjoseph:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0a6481d31740bf262e4bdd705121d8d8bcbc59b9

commit 0a6481d31740bf262e4bdd705121d8d8bcbc59b9
Author:     Simeon Simeonov <sgs@pichove.org>
AuthorDate: 2026-05-03 18:45:07 +0000
Commit:     Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-05-03 20:08:49 +0000

    security/py-pyotp2289: Update 1.2.1 => 2.0.0
    
    Changelog:
    https://codeberg.org/sgs/pyotp2289/src/tag/v2.0.0/CHANGELOG.md
    
    Commit log:
    https://codeberg.org/sgs/pyotp2289/compare/v1.2.1...v2.0.0
    
    Port changes:
    * Update WWW: github => codeberg.
    * Switch to pep517 from deprecated distutils.
    
    PR:             294983
    Reported by:    Simeon Simeonov <sgs@pichove.org> (maintainer)
    Approved by:    vvd (co-mentor)
---
 security/py-pyotp2289/Makefile                   | 10 ++++++----
 security/py-pyotp2289/distinfo                   |  4 ++--
 security/py-pyotp2289/files/patch-pyproject.toml | 21 +++++++++++++++++++++
 3 files changed, 29 insertions(+), 6 deletions(-)

diff --git a/security/py-pyotp2289/Makefile b/security/py-pyotp2289/Makefile
index c45e02e2728c..3e9a477659a2 100644
--- a/security/py-pyotp2289/Makefile
+++ b/security/py-pyotp2289/Makefile
@@ -1,19 +1,21 @@
 PORTNAME=	pyotp2289
-PORTVERSION=	1.2.1
-PORTREVISION=	1
+PORTVERSION=	2.0.0
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sgs@pichove.org
 COMMENT=	Pure Python implementation of RFC-2289 - "A One-Time Password System"
-WWW=		https://github.com/blackm0re/pyotp2289
+WWW=		https://codeberg.org/sgs/pyotp2289
 
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils pytest
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
diff --git a/security/py-pyotp2289/distinfo b/security/py-pyotp2289/distinfo
index ee3ba248fcdf..d6c069298533 100644
--- a/security/py-pyotp2289/distinfo
+++ b/security/py-pyotp2289/distinfo
@@ -1,3 +1,3 @@
 TIMESTAMP = 1648922236
-SHA256 (pyotp2289-1.2.1.tar.gz) = e281f485db71bf741c7ac902235e843da9f42d41a42c5f8cfc09da8cfdffda26
-SIZE (pyotp2289-1.2.1.tar.gz) = 30629
+SHA256 (pyotp2289-2.0.0.tar.gz) = 985950ae0d26c1dedd0ddd534fbe71eba31f34a7c1bdb913f8a69edb0b482ea9
+SIZE (pyotp2289-2.0.0.tar.gz) = 32070
diff --git a/security/py-pyotp2289/files/patch-pyproject.toml b/security/py-pyotp2289/files/patch-pyproject.toml
new file mode 100644
index 000000000000..f41454d56b66
--- /dev/null
+++ b/security/py-pyotp2289/files/patch-pyproject.toml
@@ -0,0 +1,21 @@
+--- pyproject.toml.orig	2026-04-28 08:51:52 UTC
++++ pyproject.toml
+@@ -1,8 +1,5 @@
+ [build-system]
+-requires = [
+-    "setuptools >= 77.0.3",
+-    "wheel"
+-]
++requires = ["setuptools >=61"]
+ 
+ build-backend = "setuptools.build_meta"
+ 
+@@ -11,7 +8,7 @@ dynamic = ["version"]
+ name = "pyotp2289"
+ description = "A pure Python implementation of 'A One-Time Password System'"
+ dynamic = ["version"]
+-license = "BSD-2-Clause"
++license = { text = "BSD-2-Clause" }
+ authors = [{name = "Simeon Simeonov"}]
+ readme = "README.md"
+ requires-python = ">= 3.10"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f7ad0b.42ea9.5c9290f3>