dev-python/anytree: add 2.12.2, new package

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
Paul Zander
2024-06-13 19:44:33 +02:00
parent 53dc61c89d
commit 26884e7a0f
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST anytree-2.12.0.tar.gz 192330 BLAKE2B 117f80689b6610f622a41b2abb85cf54f2ba639659f80e6b8d163043d2552586ef11ed86532b19c7b69beec5e66ab3acad2f72ed0f1e9aa5d3832e4e8ec76457 SHA512 822a72cf84227a7b78cb3808eea585d783821d9c476f1b1e50d77cf982b4bf3c08011be9564ff5205a3efd0d982b03daabeb0067aea523a14002179c94451ff4

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1
# inherit pypi
DESCRIPTION="Powerful and Lightweight Python Tree Data Structure with various plugins"
HOMEPAGE="https://anytree.readthedocs.io/"
SRC_URI="https://github.com/c0fec0de/anytree/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
distutils_enable_sphinx docs
distutils_enable_tests pytest
src_prepare(){
default
mkdir "${S}/tests/dotexport" || die
}
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
cd "${S}/tests" || die
distutils-r1_python_test
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>negril.nx+gentoo@gmail.com</email>
</maintainer>
<upstream>
<remote-id type="github">c0fec0de/anytree</remote-id>
<remote-id type="pypi">Anytree</remote-id>
</upstream>
</pkgmetadata>