From be94ae04eee564451203d45977c2ef7c7ace1580 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Nov 2024 03:03:09 +0000 Subject: gentoo auto-resync : 10:11:2024 - 03:03:09 --- dev-python/bcrypt/Manifest | 2 +- dev-python/bcrypt/bcrypt-4.2.0-r2.ebuild | 97 -------------------------------- dev-python/bcrypt/bcrypt-4.2.0-r3.ebuild | 97 ++++++++++++++++++++++++++++++++ 3 files changed, 98 insertions(+), 98 deletions(-) delete mode 100644 dev-python/bcrypt/bcrypt-4.2.0-r2.ebuild create mode 100644 dev-python/bcrypt/bcrypt-4.2.0-r3.ebuild (limited to 'dev-python/bcrypt') diff --git a/dev-python/bcrypt/Manifest b/dev-python/bcrypt/Manifest index a9d6c69061f2..c3c954671289 100644 --- a/dev-python/bcrypt/Manifest +++ b/dev-python/bcrypt/Manifest @@ -39,5 +39,5 @@ DIST unindent-0.2.3.crate 7306 BLAKE2B a57407b117e99c230750c7d4a2a0899586c8271e4 DIST version_check-0.9.4.crate 14895 BLAKE2B fa1fa4008af165bfc1fdbe560488afd9d232cfafee94104fbcc4cbc52f234849bff9ddfa88109a1ac682f6d9c1d86b0459893d223f64e65adc08966aaf93dc89 SHA512 b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8 DIST wasi-0.11.0+wasi-snapshot-preview1.crate 28131 BLAKE2B fe501889f25d65e2d032f885cc50c4f8bf7dd70fd5cbc438de349838370d8699e9627b0a4fc76030ea9fe6d508f41d0c9928a875fdbc47e73bfb17241cf7b155 SHA512 043500ab28cd9cb779475255da5d109ebab7fccca72b64873dc28d77bc5a157ba8d96b9e8f05223b5b36c7089bb7b4ba87657fc69bac16b78972f897294a865f DIST zeroize-1.8.1.crate 20029 BLAKE2B 092eba034cd35ec47290020e0c2b213177ff5dbe14ab9e7f0b4ef3cb1ecbc42fbec2b951414e26ab00bc65aaddc2c93eddd5a1963b27c6cd613ac71c65d5cc24 SHA512 dd40ebe98b98fd742608d4066b5ab66caba94b2e679428fcaff9fe547d8cd6ff2360dc85d671ee9183e32fb79cb554d00d6aef9eb8f3d8ad0ec92d0435aa4ebe -EBUILD bcrypt-4.2.0-r2.ebuild 1999 BLAKE2B 873c412166712cdc8ec2d6330cd59a68c5e705660260b898a62e9fd43bd1c6a1f715f86f516032c917aef6dc31a225e2ba6f562f0626d287a60bd56f12f3fd2f SHA512 b68531f7896bd19a817154ff26f4c3282d8bfe9ca02a14758cc1ce76b1589fbc42c69294c7ad7962b4bb0ba95a75ce3d83e19e7d34c256845b6171416211dcbe +EBUILD bcrypt-4.2.0-r3.ebuild 1999 BLAKE2B 873c412166712cdc8ec2d6330cd59a68c5e705660260b898a62e9fd43bd1c6a1f715f86f516032c917aef6dc31a225e2ba6f562f0626d287a60bd56f12f3fd2f SHA512 b68531f7896bd19a817154ff26f4c3282d8bfe9ca02a14758cc1ce76b1589fbc42c69294c7ad7962b4bb0ba95a75ce3d83e19e7d34c256845b6171416211dcbe MISC metadata.xml 486 BLAKE2B 874ef427438f2a2adc0529010628dd40505fd2597e267b8e51641d95b4c3bd8dab28d0fcd86c23f24c3abc866bd049d5e44438b282a5a13b023320491303a5b5 SHA512 de2e0a2a60b83a660a7c51315816a2762d9ebdb031656b8968da641d4e3897e4f5eb7a3432f828182f733ee4ffd17f11e8fb97d9a72f1a7eec56bb2f46978293 diff --git a/dev-python/bcrypt/bcrypt-4.2.0-r2.ebuild b/dev-python/bcrypt/bcrypt-4.2.0-r2.ebuild deleted file mode 100644 index 01fd00db34ee..000000000000 --- a/dev-python/bcrypt/bcrypt-4.2.0-r2.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} pypy3 ) - -CRATES=" - autocfg@1.3.0 - base64@0.22.1 - bcrypt-pbkdf@0.10.0 - bcrypt@0.15.1 - block-buffer@0.10.4 - blowfish@0.9.1 - byteorder@1.5.0 - cfg-if@1.0.0 - cipher@0.4.4 - cpufeatures@0.2.12 - crypto-common@0.1.6 - digest@0.10.7 - generic-array@0.14.7 - getrandom@0.2.15 - heck@0.5.0 - indoc@2.0.5 - inout@0.1.3 - libc@0.2.155 - memoffset@0.9.1 - once_cell@1.19.0 - pbkdf2@0.12.2 - portable-atomic@1.7.0 - proc-macro2@1.0.86 - pyo3-build-config@0.22.2 - pyo3-ffi@0.22.2 - pyo3-macros-backend@0.22.2 - pyo3-macros@0.22.2 - pyo3@0.22.2 - quote@1.0.36 - sha2@0.10.8 - subtle@2.6.1 - syn@2.0.72 - target-lexicon@0.12.15 - typenum@1.17.0 - unicode-ident@1.0.12 - unindent@0.2.3 - version_check@0.9.4 - wasi@0.11.0+wasi-snapshot-preview1 - zeroize@1.8.1 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Modern password hashing for software and servers" -HOMEPAGE=" - https://github.com/pyca/bcrypt/ - https://pypi.org/project/bcrypt/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - >=dev-python/setuptools-rust-1.7.0[${PYTHON_USEDEP}] -" - -# Rust -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/bcrypt/_bcrypt.*.so" - -distutils_enable_tests pytest - -export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 - -src_prepare() { - distutils-r1_src_prepare - - cd "${ECARGO_VENDOR}"/pyo3-0*/ || die - eapply "${FILESDIR}/bcrypt-4.2.0-patch-pyo3-subinterp.patch" -} - -python_configure_all() { - # Workaround for sys-cluster/ceph (bug #920906) - # https://github.com/pyca/bcrypt/issues/694 - # https://github.com/PyO3/pyo3/issues/3451 - export RUSTFLAGS="${RUSTFLAGS} --cfg pyo3_unsafe_allow_subinterpreters" -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests -} diff --git a/dev-python/bcrypt/bcrypt-4.2.0-r3.ebuild b/dev-python/bcrypt/bcrypt-4.2.0-r3.ebuild new file mode 100644 index 000000000000..01fd00db34ee --- /dev/null +++ b/dev-python/bcrypt/bcrypt-4.2.0-r3.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +CRATES=" + autocfg@1.3.0 + base64@0.22.1 + bcrypt-pbkdf@0.10.0 + bcrypt@0.15.1 + block-buffer@0.10.4 + blowfish@0.9.1 + byteorder@1.5.0 + cfg-if@1.0.0 + cipher@0.4.4 + cpufeatures@0.2.12 + crypto-common@0.1.6 + digest@0.10.7 + generic-array@0.14.7 + getrandom@0.2.15 + heck@0.5.0 + indoc@2.0.5 + inout@0.1.3 + libc@0.2.155 + memoffset@0.9.1 + once_cell@1.19.0 + pbkdf2@0.12.2 + portable-atomic@1.7.0 + proc-macro2@1.0.86 + pyo3-build-config@0.22.2 + pyo3-ffi@0.22.2 + pyo3-macros-backend@0.22.2 + pyo3-macros@0.22.2 + pyo3@0.22.2 + quote@1.0.36 + sha2@0.10.8 + subtle@2.6.1 + syn@2.0.72 + target-lexicon@0.12.15 + typenum@1.17.0 + unicode-ident@1.0.12 + unindent@0.2.3 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + zeroize@1.8.1 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Modern password hashing for software and servers" +HOMEPAGE=" + https://github.com/pyca/bcrypt/ + https://pypi.org/project/bcrypt/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +BDEPEND=" + >=dev-python/setuptools-rust-1.7.0[${PYTHON_USEDEP}] +" + +# Rust +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/bcrypt/_bcrypt.*.so" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + +src_prepare() { + distutils-r1_src_prepare + + cd "${ECARGO_VENDOR}"/pyo3-0*/ || die + eapply "${FILESDIR}/bcrypt-4.2.0-patch-pyo3-subinterp.patch" +} + +python_configure_all() { + # Workaround for sys-cluster/ceph (bug #920906) + # https://github.com/pyca/bcrypt/issues/694 + # https://github.com/PyO3/pyo3/issues/3451 + export RUSTFLAGS="${RUSTFLAGS} --cfg pyo3_unsafe_allow_subinterpreters" +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests +} -- cgit v1.2.3