summaryrefslogtreecommitdiff
path: root/dev-python/lzallright
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/lzallright')
-rw-r--r--dev-python/lzallright/Manifest2
-rw-r--r--dev-python/lzallright/lzallright-0.2.6.ebuild53
-rw-r--r--dev-python/lzallright/metadata.xml9
3 files changed, 24 insertions, 40 deletions
diff --git a/dev-python/lzallright/Manifest b/dev-python/lzallright/Manifest
index ce74904a1bd1..969c7437cd7a 100644
--- a/dev-python/lzallright/Manifest
+++ b/dev-python/lzallright/Manifest
@@ -38,7 +38,7 @@ DIST js-sys-0.3.64.crate 80313 BLAKE2B 7cf5dcb2b9e0b63cb82771c9e98518a4cda70372c
DIST libc-0.2.147.crate 686772 BLAKE2B ab2f0c65d071d46b8b88149add1c8429237ef6d9e0563d56ee1adbf23e6147dbb57fb68fbd02498f8ec75327693237a47e5e5259615ce8b0d5ed7a03bbf4fffb SHA512 bfb3c230b59d623b98726f92b7c3f897b47ba3d22fe9834c15f5b4c1b662289aba35a0ae3acfc704ad74696db8c691ee007b9cc6fa03ae65a18eb6bedc81931e
DIST link-cplusplus-1.0.9.crate 7484 BLAKE2B 4f73807068243aa0dc4b6773c5446fc988154669eb196afca19fe39ffe63627ee705c4ee3cf9cca9628d0bb8fc4cdeb7ef52b41bab810d12721a6ad53d9557ee SHA512 30697093b54ca449135d7a2a963bdd9af61a446472b0f245c87a05bd6eefa62eeebf9cc58cf17aa77ac5f2301b05ae27d13eb50d92ec58fec27303f865261170
DIST log-0.4.19.crate 38073 BLAKE2B bbc8ce51ad4a01562ecd204a531ec7d82101a342ec26405dfadd1761372f7039297dc97f4899889ebdf4eccbd56345e015d4ec6d2788851e523db56eb541aab3 SHA512 8f11ca6f5a99b61a5f3baeb7a23b7a879b3a5bed666337936bd1d8794864d14a6c4f0747d03505831783f15d8c14ebcf507267915481dfb1b32188b8ab36a038
-DIST lzallright-0.2.6.tar.gz 95478 BLAKE2B a188adb5959d9e53dcfc1615cef0fe87e7e564ed67a2f9b582970ce18dc67ccdd71ae562f0704f36218c99f4a77bc7320d379ef495d96a230e693507aad4c752 SHA512 c3361cd59315bfd49b68395ad0363a95d8f57bfaae723b272ca6ab9701a4d0aa6d4c3d633510e4f48e4316a39fe3711693e7f10ef3d02d3726275c48e7996daa
+DIST lzallright-0.2.6.gh.tar.gz 103996 BLAKE2B 9b1b07cfc787a2311ca70a088686f495de02cd90fbd76a1b3dfefd1c598b2992d73ccc9b7d3318ca83c9994d8cd0b4d10a3d9d2e34dd69ddb57ff29c5c438d89 SHA512 eb08be4187c4f9b2dc345ee688c02a4e13c0e32bfa7ab66541964b222040de66c000e17526cf59426f06a489572ce049aa9d7f88e6611e7d2659c8da883da6b2
DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa
DIST memoffset-0.9.0.crate 9033 BLAKE2B 19090c1af8b8cf54a2cf7593748aff4d3dc685ec7080aa476139c1721ef71555495e1bc513b1efaddc7e7702f83e0e1c2a8f71ff40009d266539484c9297e0ed SHA512 2f04f9b6fed31e94388c18162ad275897a835df7b9ac827f4df0f4b0ecf71064ef247f7ad11dbc27d7a6d448984a0f29d1c000e3c8d5fa6e121fa9571770ec55
DIST num-traits-0.2.16.crate 50130 BLAKE2B 1101d28cb4dce477657684a068792b94c7008a965e655edbabfeff51cbe6f008450dc6d7e4fc5dc4fe9c3ee8623ed77a7bde83ce2f68e75d618295fe6cebe0a8 SHA512 2ef65e2f6275b1000f611cc4d019b2f4846a8964b54d9b96462da10e3ac9edbf3d1de82e40094c76f7f5205740361b0eb0ced414bcddbaba5955144f728c6f94
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
diff --git a/dev-python/lzallright/metadata.xml b/dev-python/lzallright/metadata.xml
index 97d84b677ff0..52e0a48cd288 100644
--- a/dev-python/lzallright/metadata.xml
+++ b/dev-python/lzallright/metadata.xml
@@ -2,9 +2,12 @@
<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>stkw0@disroot.org</email>
- <name>David Roman</name>
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
</maintainer>
- <origin>gentoo-guru-overlay</origin>
+ <origin>gentoo-staging</origin>
</pkgmetadata> \ No newline at end of file