dev-python/pysequoia: new package, add 0.1.34

Bug: https://bugs.gentoo.org/980607
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1194
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2026-06-19 18:19:45 +03:00
committed by Sam James
parent f841c65767
commit 4cabdff148
4 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST pysequoia-0.1.34-crates.tar.xz 14222232 BLAKE2B 8d9a60d72fce3386aa63524f4f955da78d6251ecdb2ca4ca230393af6fa50bcf31d4adcf76e7b7e2a57bf220770fdd956d9734cbb6e4b8e9a593d27e592b49f7 SHA512 4302b069d416cbd10449b096dca6b3d1961904e764bb6c022d320c9cb5980743b2a59b821553b896eb75ee7ea1d204c10da292200935bf9a9ed95a3a45cf6692
DIST pysequoia-0.1.34.tar.gz 291227 BLAKE2B 1171cd0a63476025362ff153a1d4da032186e470c200bdcec4a7197e057331d2a0411a636cfe7908aa7b0853fd6bbd49113b41521ee78504fa4e22ba0f7e74fa SHA512 9b73660266f2929b53ade8a45f14f726ca20fa11a107c7c633356c706b10f44a972350f7846d7b4124338566d23668d394d1b3308540888c4bc9dc6957a1fd48

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="github">wiktor-k/pysequoia</remote-id>
<remote-id type="pypi">pysequoia</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,45 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
"
RUST_MIN_VER="1.87.0"
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=maturin
PYTHON_COMPAT=( python3_{12..15} )
inherit cargo distutils-r1 pypi
DESCRIPTION="Provides OpenPGP facilities using Sequoia-PGP library"
HOMEPAGE="
https://github.com/wiktor-k/pysequoia
https://pypi.org/project/pysequoia/
"
if [[ ${PKGBUMPING} != ${PVR} ]]; then
SRC_URI+="
https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz
${CARGO_CRATE_URIS}
"
fi
LICENSE="Apache-2.0"
# Dependent crate licenses
LICENSE+="
Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 LGPL-2+ MIT
Unicode-3.0 ZLIB
"
SLOT="0"
KEYWORDS="~amd64"
QA_FLAGS_IGNORED="usr/lib/python.*/site-packages/pysequoia/.*.so"
distutils_enable_tests import-check
src_test() {
cargo_src_test
distutils-r1_src_test
}

View File

@@ -442,6 +442,7 @@ dev-python/pydantic-settings
dev-python/pyfuse3
>=dev-python/pyopenssl-22
dev-python/pymdown-extensions
dev-python/pysequoia
dev-python/pyspelling
dev-python/pyspnego
dev-python/pyproject-fmt