diff options
Diffstat (limited to 'dev-python/vcsgraph')
| -rw-r--r-- | dev-python/vcsgraph/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/vcsgraph/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-python/vcsgraph/vcsgraph-0.3.0.ebuild | 32 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/vcsgraph/Manifest b/dev-python/vcsgraph/Manifest new file mode 100644 index 000000000000..0334b1906ffc --- /dev/null +++ b/dev-python/vcsgraph/Manifest @@ -0,0 +1,2 @@ +DIST vcsgraph-0.3.0-crates.tar.xz 1958984 BLAKE2B e315d3dca011e5ad422e4944a2972ca8698c3b8993e7c7f8be6c81a9dd04e6188a2ad41432ed6364713ecc7037f484c6c4812af5f783f15779b4ddaaead9bb0c SHA512 73e3a54e2a5aae51135c73c72316f49e0d52f4ccef7dc3a1540b1040d47a334d7a19ddaca841009dc01fa7aa36daea337df417cfd976c90b9fc0e57f0bb82d00 +DIST vcsgraph-0.3.0.gh.tar.gz 101890 BLAKE2B 5508bc0d5b480decaba64f98a598d0cd1168f5869e316820cf948538b3cdcf2575d8038e5d01765ad8594cceae3b7fa255958c32ec07424e784eacf4f1477d2e SHA512 8e60badda65836a9ecc2a1d9558395c3f7e856d7fc5d2bbce7639c288d41fadb6a343f1df3f0c42592eb842ac0789e2df356ba77e81e6e784d7fe4bfa7e1566b diff --git a/dev-python/vcsgraph/metadata.xml b/dev-python/vcsgraph/metadata.xml new file mode 100644 index 000000000000..acfe7097587e --- /dev/null +++ b/dev-python/vcsgraph/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/vcsgraph/vcsgraph-0.3.0.ebuild b/dev-python/vcsgraph/vcsgraph-0.3.0.ebuild new file mode 100644 index 000000000000..b2b6b926f3f0 --- /dev/null +++ b/dev-python/vcsgraph/vcsgraph-0.3.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES="" +RUST_MIN_VER="1.83" +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit cargo distutils-r1 + +DESCRIPTION="Graph algorithms for version control systems" +HOMEPAGE="https://pypi.org/project/vcsgraph/ https://github.com/breezy-team/vcsgraph" +SRC_URI="https://github.com/breezy-team/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" +SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + eunittest +} |
