Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2023 23:26:31 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 718622a56caf - main - net-mgmt/py-pysmi: update to 1.1.13
Message-ID:  <202305112326.34BNQVZN048516@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=718622a56caf647e137c7896197e0d6b17dedddb

commit 718622a56caf647e137c7896197e0d6b17dedddb
Author:     John W. O'Brien <john@saltant.com>
AuthorDate: 2023-05-10 13:35:46 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-05-11 23:23:26 +0000

    net-mgmt/py-pysmi: update to 1.1.13
    
    Changelog: https://github.com/lextudio/pysmi/blob/v1.1.13/CHANGES.rst
    
    PR:             271230
---
 net-mgmt/py-pysmi/Makefile                   | 19 ++++++++++---------
 net-mgmt/py-pysmi/distinfo                   |  6 +++---
 net-mgmt/py-pysmi/files/patch-pyproject.toml |  9 +++++++++
 net-mgmt/py-pysmi/pkg-descr                  |  4 +++-
 4 files changed, 25 insertions(+), 13 deletions(-)

diff --git a/net-mgmt/py-pysmi/Makefile b/net-mgmt/py-pysmi/Makefile
index 6138df82e91b..635dc28b7c85 100644
--- a/net-mgmt/py-pysmi/Makefile
+++ b/net-mgmt/py-pysmi/Makefile
@@ -1,21 +1,22 @@
 PORTNAME=	pysmi
-PORTVERSION=	0.3.4
-PORTREVISION=	1
+DISTVERSION=	1.1.13
 CATEGORIES=	net-mgmt python
-MASTER_SITES=	PYPI \
-		SF/pysmi/pysmi/${PORTVERSION}
+MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME}_lextudio-${PORTVERSION}
 
 MAINTAINER=	john@saltant.com
 COMMENT=	SNMP/SMI MIB parsing in Python
-WWW=		https://github.com/etingof/pysmi
+WWW=		https://www.pysnmp.com/pysmi/
 
 LICENSE=	BSD2CLAUSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ply>=3.11:devel/py-ply@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.26.0:www/py-requests@${PY_FLAVOR}
 
-USES=		python:3.6+
-USE_PYTHON=	autoplist concurrent distutils
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
@@ -24,7 +25,7 @@ OPTIONS_DEFINE=	DOCS EXAMPLES
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-BASEDOCS=	CHANGES.rst README.md THANKS.txt TODO.txt
+BASEDOCS=	README.md
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/net-mgmt/py-pysmi/distinfo b/net-mgmt/py-pysmi/distinfo
index 3953b4e66b2f..f74e9e2fe42e 100644
--- a/net-mgmt/py-pysmi/distinfo
+++ b/net-mgmt/py-pysmi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1565446144
-SHA256 (pysmi-0.3.4.tar.gz) = bd15a15020aee8376cab5be264c26330824a8b8164ed0195bd402dd59e4e8f7c
-SIZE (pysmi-0.3.4.tar.gz) = 93985
+TIMESTAMP = 1683671825
+SHA256 (pysmi_lextudio-1.1.13.tar.gz) = 749fc6c7e139bcdc821ed2430eb8b113cd51266241e97be7f6aa401c319bab69
+SIZE (pysmi_lextudio-1.1.13.tar.gz) = 104885
diff --git a/net-mgmt/py-pysmi/files/patch-pyproject.toml b/net-mgmt/py-pysmi/files/patch-pyproject.toml
new file mode 100644
index 000000000000..d57b69c5b644
--- /dev/null
+++ b/net-mgmt/py-pysmi/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig	2023-05-03 15:45:12 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [tool.poetry]
+-name = "pysmi-lextudio"
++name = "pysmi"
+ version = "1.1.13"
+ description = "A pure-Python implementation of SNMP/SMI MIB parsing and conversion library."
+ authors = ["Ilya Etingof <etingof@gmail.com>", "Lex Li <support@lextudio.com>"]
diff --git a/net-mgmt/py-pysmi/pkg-descr b/net-mgmt/py-pysmi/pkg-descr
index fa462a8da5c9..e90a940ba9ec 100644
--- a/net-mgmt/py-pysmi/pkg-descr
+++ b/net-mgmt/py-pysmi/pkg-descr
@@ -1 +1,3 @@
-Pure-Python implementation of SNMP/SMI MIB parsing and conversion library
+PySMI is a pure-Python implementation of SNMP SMI MIB parser. This tool
+is designed to turn ASN.1 MIBs into various formats. As of this moment,
+JSON and pysnmp modules can be generated from ASN.1 MIBs.



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