summaryrefslogtreecommitdiff
path: root/dev-python/vcsgraph/vcsgraph-0.3.2.ebuild
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-27 03:04:42 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-27 03:04:42 -0500
commitc6e6588bafac78d585ece24e4dabdf99f3af211d (patch)
treee68bccff68681d3201cf21c1a5682ad5abbfd4f3 /dev-python/vcsgraph/vcsgraph-0.3.2.ebuild
parent8a7e9bb6193b9b54ffb149bdf92c9689a3798e00 (diff)
downloadsrcux-c6e6588bafac78d585ece24e4dabdf99f3af211d.tar.gz
srcux-c6e6588bafac78d585ece24e4dabdf99f3af211d.tar.xz
srcux-c6e6588bafac78d585ece24e4dabdf99f3af211d.zip
Adding metadata
Diffstat (limited to 'dev-python/vcsgraph/vcsgraph-0.3.2.ebuild')
-rw-r--r--dev-python/vcsgraph/vcsgraph-0.3.2.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/vcsgraph/vcsgraph-0.3.2.ebuild b/dev-python/vcsgraph/vcsgraph-0.3.2.ebuild
new file mode 100644
index 000000000000..95d184667fca
--- /dev/null
+++ b/dev-python/vcsgraph/vcsgraph-0.3.2.ebuild
@@ -0,0 +1,40 @@
+# 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"
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+ eunittest
+}