From 5087f37a4d9063896fce9cf625aa2479bc540b94 Mon Sep 17 00:00:00 2001 From: Crucible Date: Thu, 15 Oct 2026 17:23:01 -0500 Subject: Publish srcux candidate 0000000660-20261015-172104 --- dev-python/lsdetect/lsdetect-0.4.0.ebuild | 69 +++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 dev-python/lsdetect/lsdetect-0.4.0.ebuild (limited to 'dev-python/lsdetect/lsdetect-0.4.0.ebuild') diff --git a/dev-python/lsdetect/lsdetect-0.4.0.ebuild b/dev-python/lsdetect/lsdetect-0.4.0.ebuild new file mode 100644 index 000000000000..873ce92b9352 --- /dev/null +++ b/dev-python/lsdetect/lsdetect-0.4.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + autocfg@1.5.1 + crossbeam-deque@0.8.8 + crossbeam-epoch@0.9.21 + crossbeam-utils@0.8.23 + either@1.18.0 + heck@0.5.0 + libc@0.2.189 + matrixmultiply@0.3.11 + ndarray@0.17.2 + num-complex@0.4.6 + num-integer@0.1.47 + num-traits@0.2.19 + numpy@0.29.0 + once_cell@1.21.4 + portable-atomic@1.15.0 + portable-atomic-util@0.2.8 + proc-macro2@1.0.107 + pyo3@0.29.3 + pyo3-build-config@0.29.3 + pyo3-ffi@0.29.3 + pyo3-macros@0.29.3 + pyo3-macros-backend@0.29.3 + quote@1.0.47 + rawpointer@0.2.1 + rayon@1.12.0 + rayon-core@1.13.0 + rustc-hash@2.1.3 + syn@2.0.119 + target-lexicon@0.13.5 + unicode-ident@1.0.26 +" +RUST_MIN_VER="1.88.0" + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{13..14} ) + +inherit cargo distutils-r1 + +DESCRIPTION="Line segment detector (LSD) in pure Rust, with Python bindings" +HOMEPAGE=" + https://github.com/p5k369/lsdetect + https://pypi.org/project/lsdetect/ +" +SRC_URI=" + https://github.com/p5k369/lsdetect/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT Unicode-3.0 +" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" + +QA_FLAGS_IGNORED="usr/lib/python.*/site-packages/lsdetect/.*\.so" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest -- cgit v1.3