summaryrefslogtreecommitdiff
path: root/dev-python/vcsgraph/vcsgraph-0.3.3.ebuild
diff options
context:
space:
mode:
authorCrucible <crucible@localhost>2026-10-22 03:06:05 -0500
committerCrucible <crucible@localhost>2026-10-22 03:06:05 -0500
commit8745052a18eff33c0cf88b44cb2873be00384fd2 (patch)
tree077c2ec585f0fed99440175984def046ea1ba287 /dev-python/vcsgraph/vcsgraph-0.3.3.ebuild
parentbd550809cdcc8002624ac8e88cfca8703c81d32e (diff)
downloadsrcux-8745052a18eff33c0cf88b44cb2873be00384fd2.tar.gz
srcux-8745052a18eff33c0cf88b44cb2873be00384fd2.tar.xz
srcux-8745052a18eff33c0cf88b44cb2873be00384fd2.zip
Publish srcux candidate 0000000788-20261022-030227HEADdevelop
Diffstat (limited to 'dev-python/vcsgraph/vcsgraph-0.3.3.ebuild')
-rw-r--r--dev-python/vcsgraph/vcsgraph-0.3.3.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/vcsgraph/vcsgraph-0.3.3.ebuild b/dev-python/vcsgraph/vcsgraph-0.3.3.ebuild
new file mode 100644
index 000000000000..2a45f28a9d42
--- /dev/null
+++ b/dev-python/vcsgraph/vcsgraph-0.3.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYPI_VERIFY_REPO=https://github.com/breezy-team/vcsgraph
+PYTHON_COMPAT=( python3_{13..14} )
+
+RUST_MIN_VER="1.83"
+CRATES=""
+
+inherit cargo distutils-r1 pypi
+
+DESCRIPTION="Graph algorithms for version control systems"
+HOMEPAGE="
+ https://pypi.org/project/vcsgraph/
+ https://github.com/breezy-team/vcsgraph/
+"
+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
+
+QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/vcsgraph/_graph_rs.*.so"
+
+src_unpack() {
+ pypi_src_unpack
+ cargo_gen_config
+}
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+ eunittest
+}