dev-python/ntc-templates: new package, add 5.1.0

Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/n
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-06-03 18:34:08 +02:00
parent 41a9e6a041
commit b60b8d29a0
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST ntc_templates-5.1.0.tar.gz 225295 BLAKE2B 5da9d1c86257a9b2e0a02c58503ee787211ed0e123cbfb862d75fc54cedfbf7d5485e732c2314cdba8c46f0b319b44fb83f7586dd463005f24398c3743aace5b SHA512 5429e467c26df8e4c3fe4a51e1e7f20030cd37b2d00afb9efc9319ad66f67927df2d66bc43bf869d1fc4ed6855bcc086b69d77cc87982e3adb40faece840dd76
EBUILD ntc-templates-5.1.0.ebuild 773 BLAKE2B a269817d2a389dc076bfe03219df9b8650438783a42f8b42eb5aa2131dc572f237ca79df1a981875923750d50e667b16e5f5dde8b9ab11c13a9aeac9f5180161 SHA512 e4d28bf26be937c0894f9f53c343836f659ee843b91c647b959a91300193604c0396aa3a69cbaed2edfcbaa75ea126bcee3b5a0e99d2c977a8dad2639eba3edb
MISC metadata.xml 532 BLAKE2B c48384dcbe271d2c6f088557b9824cec63a7cb6f621101171c7982f3f0583d052e319983434c217fce0b2b507518f0fbd3fa940e5d540d5cba5d7bd70bb26637 SHA512 044a2ac18c3ddb8d151594c841e1d470c8c9fcc4402681e83000dfd2635604b4bb6ccc7e5ff31bf4cd2c8d16fcbf73204f76d2e7eead61726f5f2921e608580c

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">ntc-templates</remote-id>
<remote-id type="github">networktocode/ntc-templates</remote-id>
<maintainer status="unknown">
<email>info@networktocode.com</email>
<name>Network to Code</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,29 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 pypi
DESCRIPTION="TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable."
HOMEPAGE="https://ntc-templates.readthedocs.io https://github.com/networktocode/ntc-templates/ https://pypi.org/project/ntc-templates/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/textfsm-1.1.0[${PYTHON_USEDEP}]"
src_prepare() {
sed -e '/"LICENSE",/d' -i pyproject.toml || die
sed -e '/"README.md",/d' -i pyproject.toml || die
eapply_user
}
distutils_enable_tests pytest