From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EEECA15813A for ; Wed, 01 Jan 2025 06:11:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1EF4E077A; Wed, 01 Jan 2025 06:11:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 969D1E077A for ; Wed, 01 Jan 2025 06:11:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5D9B33BF60 for ; Wed, 01 Jan 2025 06:11:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D3A93190F for ; Wed, 01 Jan 2025 06:11:24 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1735711878.514a1592db865d017f053de396d8d8368a72347f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rfc3161-client/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/rfc3161-client/Manifest dev-python/rfc3161-client/rfc3161-client-1.0.0.ebuild X-VCS-Directories: dev-python/rfc3161-client/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 514a1592db865d017f053de396d8d8368a72347f X-VCS-Branch: master Date: Wed, 01 Jan 2025 06:11:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 548b9be8-6052-4950-8c40-ab8a7dda1ea2 X-Archives-Hash: a4efc47c1567e841dd0ea5354b1d8f40 commit: 514a1592db865d017f053de396d8d8368a72347f Author: Michał Górny gentoo org> AuthorDate: Wed Jan 1 05:53:54 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jan 1 06:11:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=514a1592 dev-python/rfc3161-client: Bump to 1.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/rfc3161-client/Manifest | 1 + .../rfc3161-client/rfc3161-client-1.0.0.ebuild | 107 +++++++++++++++++++++ 2 files changed, 108 insertions(+) diff --git a/dev-python/rfc3161-client/Manifest b/dev-python/rfc3161-client/Manifest index 4df79d26fb48..673dfdfd8e7e 100644 --- a/dev-python/rfc3161-client/Manifest +++ b/dev-python/rfc3161-client/Manifest @@ -58,6 +58,7 @@ DIST rand_chacha-0.3.1.crate 15251 BLAKE2B 645771b2c3e274f085e0837a20306b1d59f6e DIST rand_core-0.6.4.crate 22666 BLAKE2B 8b6b66d50aade877f2779c006f8038db450f808c66d73d79efa66c4178dc03db06f12201bf0e7930181c4b0f4030c49b20cce6eb7839763cf2217cad9710789a SHA512 36c67eb845aa2ccca49d6d680f28d418229bbc5a050729e487fe6b9f9f384fdd7b8d67fc6508b90b79ffb3c26688e72feceb3ecae57d3d7f59338aeb62296f79 DIST rfc3161-client-0.0.4.gh.tar.gz 41498 BLAKE2B ad9b60e47d4afcaa5cf636de26de63fcac12ffa8233df2ac00332fc864722b87f10ac3273f4eca27d583f671a1db232db1efbfb43984ac604b3ec0286b25a884 SHA512 6dadb73171f8741350ba0a8197ba42a7e6a7bd4960bf9e955ef0ab37ec74c02e64765ba0217d4e36a39a07bed4494f3e0ed94c93aeee68ec9f5bb28b6d85e43f DIST rfc3161-client-0.1.2.gh.tar.gz 41256 BLAKE2B e72b646ee3b9389dad21747f3380e8fefd418804ffd6a2460bd04df6d546ca20e20a6172d1c4837b9aa357bf09fec81945edfd9ae1a1b9b59708fb6ab20148e7 SHA512 282cbb9c5074a018fac4bd5b4fd8b4d8bd5e4da124e3461ee2cb57baa370a52c5cc76398b41a7d3de71db0a6ec1b95c11969daee1c252f6c306e2eb7a72d5821 +DIST rfc3161-client-1.0.0.gh.tar.gz 42848 BLAKE2B f6a1f29e0665485ca3a2f47569e7e0e7573d0994883bd3373de129a2e7d2542c754d5903d1b948d24d729bbddc7880f10ac7bf91570b023ed2ec068fd453b870 SHA512 e94630afa0f0bd527bee3f59839cc70edd1dbf2d23d5bfc48f25014afc695eef95b7bd5538f89bfcf32dd9b3c120ffca974965a8dc6ffae3a989f42fdf551544 DIST self_cell-1.0.4.crate 15220 BLAKE2B 9a617058652ab2a2e92434b6eef58a813ce0be5afed9525c4d4c819c25c7cd87aaa12d129c8c4ca9d74c3ea33d81e9dd295f121887070364185b9ab33021544c SHA512 042467e5f3ac0305e2a634df0b9a9379e92b54813e05c3a7652d5327a4a9a784f49e897c968c5c7a87017284d42a889b5420ad18e97ea84183e0283a46dc907a DIST self_cell-1.1.0.crate 16636 BLAKE2B e13390f77e929084c0cf5f3a4e4af55989f8028128c4f42f318e83890d24b8234075088750f406992d6b0e06e63cecac51f7ac73e74c121502eecfb68a40398f SHA512 06bb4a3c09c76b0814b60641be8f0bc22bdbf1b715a84e740720aad69f4ade1ba27e130e45699a379692b543b0b2f2d0d04c587a48b90e42aabc0d27acfe9465 DIST sha2-0.10.8.crate 26357 BLAKE2B 1d01b381223a931dc631ad3a1191f5378b1d2f3f9f20474c5f020e366624c73b08330ce8dc4bdd3e63b15f647276f533de655b545b77f70fbedc1a1846f44f0a SHA512 3be73133a6b7690e14acaead47914dc92395dca4191fb657a2ea186fefd0ccd94d12a1121d63a26027d9a9c62b775c53202473edc461587b9dcd75472af77785 diff --git a/dev-python/rfc3161-client/rfc3161-client-1.0.0.ebuild b/dev-python/rfc3161-client/rfc3161-client-1.0.0.ebuild new file mode 100644 index 000000000000..85f056da0290 --- /dev/null +++ b/dev-python/rfc3161-client/rfc3161-client-1.0.0.ebuild @@ -0,0 +1,107 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{10..13} ) + +CRATES=" + asn1@0.20.0 + asn1_derive@0.20.0 + autocfg@1.4.0 + bitflags@2.6.0 + block-buffer@0.10.4 + byteorder@1.5.0 + cc@1.2.2 + cfg-if@1.0.0 + cpufeatures@0.2.16 + crypto-common@0.1.6 + digest@0.10.7 + foreign-types-shared@0.1.1 + foreign-types@0.3.2 + generic-array@0.14.7 + getrandom@0.2.15 + heck@0.5.0 + hex@0.4.3 + indoc@2.0.5 + itoa@1.0.14 + libc@0.2.167 + memoffset@0.9.1 + once_cell@1.20.2 + openssl-macros@0.1.1 + openssl-src@300.4.1+3.4.0 + openssl-sys@0.9.104 + openssl@0.10.68 + pkg-config@0.3.31 + portable-atomic@1.10.0 + ppv-lite86@0.2.20 + proc-macro2@1.0.92 + pyo3-build-config@0.23.3 + pyo3-ffi@0.23.3 + pyo3-macros-backend@0.23.3 + pyo3-macros@0.23.3 + pyo3@0.23.3 + quote@1.0.37 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + self_cell@1.1.0 + sha2@0.10.8 + shlex@1.3.0 + syn@2.0.90 + target-lexicon@0.12.16 + typenum@1.17.0 + unicode-ident@1.0.14 + unindent@0.2.3 + vcpkg@0.2.15 + version_check@0.9.5 + wasi@0.11.0+wasi-snapshot-preview1 + zerocopy-derive@0.7.35 + zerocopy@0.7.35 +" + +declare -A GIT_CRATES=( + [cryptography-x509]='https://github.com/pyca/cryptography;f299a48153650f2dd87716343f2daa7cd39a1f59;cryptography-%commit%/src/rust/cryptography-x509' +) + +inherit cargo distutils-r1 + +DESCRIPTION="An Opinionated Python RFC3161 Client" +HOMEPAGE=" + https://github.com/trailofbits/rfc3161-client/ + https://pypi.org/project/rfc3161-client/ +" +# no tests in sdist, as of 0.0.4 +SRC_URI=" + https://github.com/trailofbits/rfc3161-client/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-3.0 +" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + =dev-python/cryptography-44*[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest + + cargo_src_test +}