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/nh3/Manifest | 2 +- dev-python/nh3/nh3-0.2.18-r1.ebuild | 113 ++++++++++++++++++++++++++++++++++++ dev-python/nh3/nh3-0.2.18.ebuild | 113 ------------------------------------ 3 files changed, 114 insertions(+), 114 deletions(-) create mode 100644 dev-python/nh3/nh3-0.2.18-r1.ebuild delete mode 100644 dev-python/nh3/nh3-0.2.18.ebuild (limited to 'dev-python/nh3') diff --git a/dev-python/nh3/Manifest b/dev-python/nh3/Manifest index 14872f16938c..1945bd2415d3 100644 --- a/dev-python/nh3/Manifest +++ b/dev-python/nh3/Manifest @@ -70,5 +70,5 @@ DIST windows_i686_msvc-0.52.6.crate 901163 BLAKE2B 99ed34e052db5ba77bab240ed5d38 DIST windows_x86_64_gnu-0.52.6.crate 836363 BLAKE2B e2335829155cdbd4a55cc9f9babc237e14e32aab97f6f91afabcdf80d2aee37d6fb4b8669aaf433ff532c85dba59b3d366c7d41b61a2f29b96f960169c900687 SHA512 c4086bb0280042f2bef9b556283b67f8a5cacddd209e1c5fabec63decec6d4fd2d6a7071407973981b98ae0c0cf7034fc612f9e70dc6d3eed9acdec771ae31cb DIST windows_x86_64_gnullvm-0.52.6.crate 435707 BLAKE2B ab77dccd06328cdb00175f41cdbc120594050a9678b7f9820444391fb50aada3911a91ea00f3a6db2b4fa1820fd23bc9a007dfbe65ad41417c26ee1137ef9b96 SHA512 67681f5859e249c56b0183181811f6212cc7008d6471dad78aecc7ebe3d027686b19210b8aa9014c554410f69f913d21ce2aca928eea905eab779bea26464cbd DIST windows_x86_64_msvc-0.52.6.crate 832564 BLAKE2B 8e9a3044654c6de99a9153e7cacd575474e7a8a3d883c67b02132af5d3fc99d03cd5f7a4dd666a3947451d11218e6acc6eb5e2526f012481106cc13453839719 SHA512 21944cd8e3a481b514509e73ae3f62722fe7ed380d37ea0c25f8fbdeba79174dd52ff65d898838da5df4197894b74e00f45d47489418e978753b4e55c7e623e7 -EBUILD nh3-0.2.18.ebuild 2336 BLAKE2B 2125ccc00664647e1bff680c2925866fae0a8866484a99e65eb48ce280294da1df2910ac60e77ec12f409beed0b67d0a5ca5f410f354c2251963477aa232556e SHA512 9caa262e31387fdedb195201493a971b469f126ff005683cc5e1557f19403edaf4ccc8015a63075a3c95a7b75094ea10fc12d5050e4244db1a138a2e76bcb02f +EBUILD nh3-0.2.18-r1.ebuild 2336 BLAKE2B 2125ccc00664647e1bff680c2925866fae0a8866484a99e65eb48ce280294da1df2910ac60e77ec12f409beed0b67d0a5ca5f410f354c2251963477aa232556e SHA512 9caa262e31387fdedb195201493a971b469f126ff005683cc5e1557f19403edaf4ccc8015a63075a3c95a7b75094ea10fc12d5050e4244db1a138a2e76bcb02f MISC metadata.xml 337 BLAKE2B d51bb8c0e03241a1f0db1d6491ee4d689a29fb53824e9536954fc7b0160ac9b481c8502b93f58aa56cb550ff4eb88ce0beb0b6ec7a4bfbb7bfd43e5e8fe071e4 SHA512 2aad73707aaa365a44321d6064536c2dff0528bac777fa0761ecc72845afd9eeb4e02cbad45607dcc17075077e5a29907381bd72c9c4b04aaf4eba387ea25811 diff --git a/dev-python/nh3/nh3-0.2.18-r1.ebuild b/dev-python/nh3/nh3-0.2.18-r1.ebuild new file mode 100644 index 000000000000..14e9c185d518 --- /dev/null +++ b/dev-python/nh3/nh3-0.2.18-r1.ebuild @@ -0,0 +1,113 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + ammonia@4.0.0 + autocfg@1.3.0 + bitflags@2.6.0 + cfg-if@1.0.0 + form_urlencoded@1.2.1 + futf@0.1.5 + getrandom@0.2.15 + heck@0.5.0 + html5ever@0.27.0 + idna@0.5.0 + indoc@2.0.5 + libc@0.2.155 + lock_api@0.4.12 + log@0.4.22 + mac@0.1.1 + maplit@1.0.2 + markup5ever@0.12.1 + memoffset@0.9.1 + new_debug_unreachable@1.0.6 + once_cell@1.19.0 + parking_lot@0.12.3 + parking_lot_core@0.9.10 + percent-encoding@2.3.1 + phf@0.11.2 + phf_codegen@0.11.2 + phf_generator@0.10.0 + phf_generator@0.11.2 + phf_shared@0.10.0 + phf_shared@0.11.2 + portable-atomic@1.6.0 + ppv-lite86@0.2.17 + precomputed-hash@0.1.1 + proc-macro2@1.0.86 + pyo3-build-config@0.22.0 + pyo3-ffi@0.22.0 + pyo3-macros-backend@0.22.0 + pyo3-macros@0.22.0 + pyo3@0.22.0 + quote@1.0.36 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + redox_syscall@0.5.2 + scopeguard@1.2.0 + serde@1.0.204 + serde_derive@1.0.204 + siphasher@0.3.11 + smallvec@1.13.2 + string_cache@0.8.7 + string_cache_codegen@0.5.2 + syn@2.0.69 + target-lexicon@0.12.14 + tendril@0.4.3 + tinyvec@1.7.0 + tinyvec_macros@0.1.1 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-normalization@0.1.23 + unindent@0.2.3 + url@2.5.2 + utf-8@0.7.6 + wasi@0.11.0+wasi-snapshot-preview1 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.52.6 +" + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Ammonia HTML sanitizer Python binding" +HOMEPAGE=" + https://github.com/messense/nh3/ + https://pypi.org/project/nh3/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" + +distutils_enable_tests pytest + +# Rust +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/nh3/nh3.*.so" + +src_prepare() { + distutils-r1_src_prepare + + # force unstable ABI to workaround stable ABI crash in py3.13 + # https://github.com/PyO3/pyo3/issues/4311 + sed -i -e 's:"abi3-py37",::' Cargo.toml || die + export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 +} diff --git a/dev-python/nh3/nh3-0.2.18.ebuild b/dev-python/nh3/nh3-0.2.18.ebuild deleted file mode 100644 index 14e9c185d518..000000000000 --- a/dev-python/nh3/nh3-0.2.18.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - ammonia@4.0.0 - autocfg@1.3.0 - bitflags@2.6.0 - cfg-if@1.0.0 - form_urlencoded@1.2.1 - futf@0.1.5 - getrandom@0.2.15 - heck@0.5.0 - html5ever@0.27.0 - idna@0.5.0 - indoc@2.0.5 - libc@0.2.155 - lock_api@0.4.12 - log@0.4.22 - mac@0.1.1 - maplit@1.0.2 - markup5ever@0.12.1 - memoffset@0.9.1 - new_debug_unreachable@1.0.6 - once_cell@1.19.0 - parking_lot@0.12.3 - parking_lot_core@0.9.10 - percent-encoding@2.3.1 - phf@0.11.2 - phf_codegen@0.11.2 - phf_generator@0.10.0 - phf_generator@0.11.2 - phf_shared@0.10.0 - phf_shared@0.11.2 - portable-atomic@1.6.0 - ppv-lite86@0.2.17 - precomputed-hash@0.1.1 - proc-macro2@1.0.86 - pyo3-build-config@0.22.0 - pyo3-ffi@0.22.0 - pyo3-macros-backend@0.22.0 - pyo3-macros@0.22.0 - pyo3@0.22.0 - quote@1.0.36 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - redox_syscall@0.5.2 - scopeguard@1.2.0 - serde@1.0.204 - serde_derive@1.0.204 - siphasher@0.3.11 - smallvec@1.13.2 - string_cache@0.8.7 - string_cache_codegen@0.5.2 - syn@2.0.69 - target-lexicon@0.12.14 - tendril@0.4.3 - tinyvec@1.7.0 - tinyvec_macros@0.1.1 - unicode-bidi@0.3.15 - unicode-ident@1.0.12 - unicode-normalization@0.1.23 - unindent@0.2.3 - url@2.5.2 - utf-8@0.7.6 - wasi@0.11.0+wasi-snapshot-preview1 - windows-targets@0.52.6 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.52.6 - windows_i686_gnu@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_msvc@0.52.6 - windows_x86_64_gnu@0.52.6 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_msvc@0.52.6 -" - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( pypy3 python3_{10..13} ) - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Ammonia HTML sanitizer Python binding" -HOMEPAGE=" - https://github.com/messense/nh3/ - https://pypi.org/project/nh3/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -distutils_enable_tests pytest - -# Rust -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/nh3/nh3.*.so" - -src_prepare() { - distutils-r1_src_prepare - - # force unstable ABI to workaround stable ABI crash in py3.13 - # https://github.com/PyO3/pyo3/issues/4311 - sed -i -e 's:"abi3-py37",::' Cargo.toml || die - export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 -} -- cgit v1.2.3