commit: d59186f085b78686a06895d0bed87ef6f99541a8
parent 82c7313cbdfe9d76ffeb9b755e27dda511acaf09
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 9 Jun 2025 16:39:18 +0200
dev-python/pyasn: new package, add 1.6.2
Diffstat:
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/dev-python/pyasn/Manifest b/dev-python/pyasn/Manifest
@@ -0,0 +1 @@
+DIST pyasn-1.6.2.tar.gz 13437046 BLAKE2B 172fee1f5191f7bb094ae9da23e8533d537da91231faaf9126a1c80e9fd8f10621887679554b1a73aafe23da76b97d8bb78823c913b2618ce89b1786f6fb788a SHA512 a1bfc7f7d0860c2644d71bbab546591f1f172b5c9bf25a6197e14e6cbb186dc8d8cfd04b78570618fb2423bdb2d9fad43288763bdcc7ab9f9d12499789ca770a
diff --git a/dev-python/pyasn/pyasn-1.6.2.ebuild b/dev-python/pyasn/pyasn-1.6.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
+inherit distutils-r1
+
+DESCRIPTION="Python IP address to Autonomous System Number lookup module"
+HOMEPAGE="https://github.com/hadiasghari/pyasn"
+SRC_URI="https://github.com/hadiasghari/pyasn/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT ISC BSD-4"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+distutils_enable_tests pytest
+
+python_test() {
+ rm -fr pyasn || die
+ epytest
+}