From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1530160-garchives=archives.gentoo.org@lists.gentoo.org> 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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 73FA9158009 for <garchives@archives.gentoo.org>; Sun, 18 Jun 2023 18:47:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46D35E088D; Sun, 18 Jun 2023 18:47:38 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A9F7E088D for <gentoo-commits@lists.gentoo.org>; Sun, 18 Jun 2023 18:47:38 +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 1828D341034 for <gentoo-commits@lists.gentoo.org>; Sun, 18 Jun 2023 18:47:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 36765A98 for <gentoo-commits@lists.gentoo.org>; Sun, 18 Jun 2023 18:47:35 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> 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" <mgorny@gentoo.org> Message-ID: <1687112973.e87832fd8f2880df1a93a30b6da40e10994953b1.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/adblock/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/adblock/adblock-0.6.0.ebuild X-VCS-Directories: dev-python/adblock/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e87832fd8f2880df1a93a30b6da40e10994953b1 X-VCS-Branch: master Date: Sun, 18 Jun 2023 18:47:35 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c911798b-9dad-49d1-91b2-0754c233f866 X-Archives-Hash: b89727eedd7730ad509a5a8afaec7565 commit: e87832fd8f2880df1a93a30b6da40e10994953b1 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Jun 18 18:29:33 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Jun 18 18:29:33 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e87832fd dev-python/adblock: Modernize cargo.eclass usage Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/adblock/adblock-0.6.0.ebuild | 141 +++++++++++++++++--------------- 1 file changed, 75 insertions(+), 66 deletions(-) diff --git a/dev-python/adblock/adblock-0.6.0.ebuild b/dev-python/adblock/adblock-0.6.0.ebuild index f47476143c35..5d279ff79974 100644 --- a/dev-python/adblock/adblock-0.6.0.ebuild +++ b/dev-python/adblock/adblock-0.6.0.ebuild @@ -4,83 +4,92 @@ EAPI=8 CRATES=" - adblock-0.5.6 - addr-0.14.0 - adler-1.0.2 - aho-corasick-0.7.18 - autocfg-1.1.0 - base64-0.13.0 - bitflags-1.3.2 - byteorder-1.4.3 - cfg-if-1.0.0 - crc32fast-1.3.2 - either-1.7.0 - flate2-1.0.24 - form_urlencoded-1.0.1 - idna-0.2.3 - indoc-1.0.6 - itertools-0.10.3 - libc-0.2.126 - lock_api-0.4.7 - matches-0.1.9 - memchr-2.5.0 - miniz_oxide-0.5.3 - num-traits-0.2.15 - once_cell-1.13.0 - parking_lot-0.12.1 - parking_lot_core-0.9.3 - paste-1.0.7 - percent-encoding-2.1.0 - proc-macro2-1.0.40 - psl-2.0.90 - psl-types-2.0.10 - pyo3-0.16.5 - pyo3-build-config-0.16.5 - pyo3-ffi-0.16.5 - pyo3-macros-0.16.5 - pyo3-macros-backend-0.16.5 - quote-1.0.20 - redox_syscall-0.2.13 - regex-1.6.0 - regex-syntax-0.6.27 - rmp-0.8.11 - rmp-serde-0.13.7 - rmp-serde-0.15.5 - scopeguard-1.1.0 - seahash-3.0.7 - serde-1.0.139 - serde_derive-1.0.139 - smallvec-1.9.0 - syn-1.0.98 - target-lexicon-0.12.4 - tinyvec-1.6.0 - tinyvec_macros-0.1.0 - twoway-0.2.2 - unchecked-index-0.2.2 - unicode-bidi-0.3.8 - unicode-ident-1.0.2 - unicode-normalization-0.1.21 - unindent-0.1.9 - url-2.2.2 - windows-sys-0.36.1 - windows_aarch64_msvc-0.36.1 - windows_i686_gnu-0.36.1 - windows_i686_msvc-0.36.1 - windows_x86_64_gnu-0.36.1 - windows_x86_64_msvc-0.36.1" + adblock@0.5.6 + addr@0.14.0 + adler@1.0.2 + aho-corasick@0.7.18 + autocfg@1.1.0 + base64@0.13.0 + bitflags@1.3.2 + byteorder@1.4.3 + cfg-if@1.0.0 + crc32fast@1.3.2 + either@1.7.0 + flate2@1.0.24 + form_urlencoded@1.0.1 + idna@0.2.3 + indoc@1.0.6 + itertools@0.10.3 + libc@0.2.126 + lock_api@0.4.7 + matches@0.1.9 + memchr@2.5.0 + miniz_oxide@0.5.3 + num-traits@0.2.15 + once_cell@1.13.0 + parking_lot@0.12.1 + parking_lot_core@0.9.3 + paste@1.0.7 + percent-encoding@2.1.0 + proc-macro2@1.0.40 + psl-types@2.0.10 + psl@2.0.90 + pyo3-build-config@0.16.5 + pyo3-ffi@0.16.5 + pyo3-macros-backend@0.16.5 + pyo3-macros@0.16.5 + pyo3@0.16.5 + quote@1.0.20 + redox_syscall@0.2.13 + regex-syntax@0.6.27 + regex@1.6.0 + rmp-serde@0.13.7 + rmp-serde@0.15.5 + rmp@0.8.11 + scopeguard@1.1.0 + seahash@3.0.7 + serde@1.0.139 + serde_derive@1.0.139 + smallvec@1.9.0 + syn@1.0.98 + target-lexicon@0.12.4 + tinyvec@1.6.0 + tinyvec_macros@0.1.0 + twoway@0.2.2 + unchecked-index@0.2.2 + unicode-bidi@0.3.8 + unicode-ident@1.0.2 + unicode-normalization@0.1.21 + unindent@0.1.9 + url@2.2.2 + windows-sys@0.36.1 + windows_aarch64_msvc@0.36.1 + windows_i686_gnu@0.36.1 + windows_i686_msvc@0.36.1 + windows_x86_64_gnu@0.36.1 + windows_x86_64_msvc@0.36.1 +" + DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin PYTHON_COMPAT=( python3_{10..12} ) + inherit cargo distutils-r1 DESCRIPTION="Python wrapper for Brave's adblocking library, which is written in Rust" HOMEPAGE="https://github.com/ArniDagur/python-adblock" SRC_URI=" https://github.com/ArniDagur/python-adblock/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz - $(cargo_crate_uris)" + ${CARGO_CRATE_URIS} +" S="${WORKDIR}/python-${P}" -LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT MPL-2.0" +LICENSE="|| ( MIT Apache-2.0 )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 + Unicode-DFS-2016 +" SLOT="0" KEYWORDS="amd64 ~arm64 ~x86"