summaryrefslogtreecommitdiff
path: root/dev-python/lzallright/lzallright-0.2.6.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/lzallright/lzallright-0.2.6.ebuild')
-rw-r--r--dev-python/lzallright/lzallright-0.2.6.ebuild53
1 files changed, 17 insertions, 36 deletions
diff --git a/dev-python/lzallright/lzallright-0.2.6.ebuild b/dev-python/lzallright/lzallright-0.2.6.ebuild
index 1eb9bbc67125..d3f1f0fe82bd 100644
--- a/dev-python/lzallright/lzallright-0.2.6.ebuild
+++ b/dev-python/lzallright/lzallright-0.2.6.ebuild
@@ -1,6 +1,8 @@
-# Copyright 2026 Gentoo Authors
+# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Autogenerated by pycargoebuild 0.7
+
EAPI=8
CRATES="
@@ -98,52 +100,31 @@ CRATES="
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=maturin
+RUST_MIN_VER=1.80
PYTHON_COMPAT=( python3_{10..14} )
-RUST_MIN_VER="1.80"
-
inherit cargo distutils-r1 pypi
-DESCRIPTION="A Python 3.8+ binding for lzokay library"
+DESCRIPTION="Python bindings for lzokay library"
HOMEPAGE="
- https://pypi.org/project/lzallright/
-"
-SRC_URI+="
- ${CARGO_CRATE_URIS}
+ https://github.com/vlaci/lzallright
+ https://pypi.org/project/lzallright
"
+# sdist doesn't build (so didn't even get to check re tests)
+SRC_URI="https://github.com/vlaci/lzallright/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+SRC_URI+=" ${CARGO_CRATE_URIS}"
LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
- Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0 ZLIB
+ Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 ZLIB
"
-
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
-EPYTEST_PLUGINS=()
-distutils_enable_tests pytest
+QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/lzallright/_lzallright.*"
-src_unpack() {
- default
- cargo_src_unpack
-}
+# dev-libs/lzokay is bundled, but it has no .pc (https://github.com/AxioDL/lzokay/issues/9)
+# and the cxx crate it uses for binding generation needs sources available.
-src_configure() {
- cargo_src_configure
- distutils-r1_src_configure
-}
-
-src_compile() {
- cargo_src_compile
- distutils-r1_src_compile
-}
-
-src_install() {
- default
- distutils-r1_src_install
-}
-
-src_test() {
- cargo_src_test
- distutils-r1_src_test
-}
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest