summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-31 05:29:59 +0100
committerSam James <sam@gentoo.org>2024-08-31 05:35:33 +0100
commit6327165dc437c2c88eb4aaf670c2a0b93bd8c382 (patch)
tree141951844a18b1e5960fd4039f8ca3429711f5cc /dev-python/pysmi
parentnet-analyzer/snmpclitools: add 0.7.2 (diff)
downloadgentoo-6327165dc437c2c88eb4aaf670c2a0b93bd8c382.tar.gz
gentoo-6327165dc437c2c88eb4aaf670c2a0b93bd8c382.tar.bz2
gentoo-6327165dc437c2c88eb4aaf670c2a0b93bd8c382.zip
dev-python/pysmi: add 1.4.4
The new upstream managed to claim the original pypi project names, so we can drop -lextudio (which was never merged into ::gentoo). Bug: https://bugs.gentoo.org/909945 Bug: https://bugs.gentoo.org/910076 Bug: https://bugs.gentoo.org/921689 Bug: https://bugs.gentoo.org/933201 Bug: https://bugs.gentoo.org/934494 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/pysmi')
-rw-r--r--dev-python/pysmi/Manifest1
-rw-r--r--dev-python/pysmi/metadata.xml2
-rw-r--r--dev-python/pysmi/pysmi-1.4.4.ebuild33
3 files changed, 35 insertions, 1 deletions
diff --git a/dev-python/pysmi/Manifest b/dev-python/pysmi/Manifest
index 5550566f7aa1..eede5251ad05 100644
--- a/dev-python/pysmi/Manifest
+++ b/dev-python/pysmi/Manifest
@@ -1 +1,2 @@
DIST pysmi-0.3.4.tar.gz 93985 BLAKE2B 71b0ed936c196381f895b4f56e8e2e328ac274b08801a77b404b964201e00f8da2cbce2719414da358a4feb7992a3d04e732942f6e7006a0cceea4496f96b758 SHA512 720c8948a590130583d6ea388f0ade5d3bfe9e845821add7ffbf1b5495b5fe00b768ffb94f67b82465c6d86234f5306c6e1a5c2e49f4825bb9c31a0df629f7bd
+DIST pysmi-1.4.4.tar.gz 117164 BLAKE2B 2ef1c2fc58ee90ad052fec5f0aa08fc128cc041e24dc74d8942ff81912e7e45b480e5a125e412e0c52818670dafbd9bee310a863f9a5b898c8a67a18492897ae SHA512 9ce5665d1db147cb80fe7ef17981a4231a25a8b25cfafb14784acc0355fbd0296070a7da67a7f6b1e738e0f5f1249f871ee29a72da546e639ad4d2f2e8b00c43
diff --git a/dev-python/pysmi/metadata.xml b/dev-python/pysmi/metadata.xml
index ee80585a75ed..07a2a81636a7 100644
--- a/dev-python/pysmi/metadata.xml
+++ b/dev-python/pysmi/metadata.xml
@@ -8,6 +8,6 @@
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">pysmi</remote-id>
- <remote-id type="github">etingof/pysmi</remote-id>
+ <remote-id type="github">lextudio/pysmi</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/pysmi/pysmi-1.4.4.ebuild b/dev-python/pysmi/pysmi-1.4.4.ebuild
new file mode 100644
index 000000000000..5aa7902f1e9c
--- /dev/null
+++ b/dev-python/pysmi/pysmi-1.4.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2017-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..13} )
+inherit distutils-r1 pypi
+
+DESCRIPTION="A pure-Python implementation of SNMP/SMI MIB parsing and conversion library."
+HOMEPAGE="
+ https://github.com/lextudiopysmi/
+ https://pypi.org/project/pysmi/
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/jinja-3.1.3[${PYTHON_USEDEP}]
+ >=dev-python/ply-3.11[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.26.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/pysnmp-5.0.0[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+# TODO: doc
+# distutils_enable_sphinx docs/source dev-python/sphinx-copybutton dev-python/sphinx-sitemap