Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/adblock/
Date: Mon, 16 May 2022 18:40:30
Message-Id: 1652725117.76d9b5ac009bfd348fcbd6eb35412ef77ccf3647.ionen@gentoo
1 commit: 76d9b5ac009bfd348fcbd6eb35412ef77ccf3647
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 16 15:46:30 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Mon May 16 18:18:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76d9b5ac
7
8 dev-python/adblock: drop 0.5.2
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 dev-python/adblock/adblock-0.5.2.ebuild | 112 --------------------------------
13 1 file changed, 112 deletions(-)
14
15 diff --git a/dev-python/adblock/adblock-0.5.2.ebuild b/dev-python/adblock/adblock-0.5.2.ebuild
16 deleted file mode 100644
17 index d6c36e71b226..000000000000
18 --- a/dev-python/adblock/adblock-0.5.2.ebuild
19 +++ /dev/null
20 @@ -1,112 +0,0 @@
21 -# Copyright 2021-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=8
25 -
26 -CRATES="
27 - adblock-0.4.3
28 - addr-0.14.0
29 - adler-1.0.2
30 - aho-corasick-0.7.18
31 - autocfg-1.1.0
32 - base64-0.13.0
33 - bitflags-1.3.2
34 - byteorder-1.4.3
35 - cfg-if-1.0.0
36 - crc32fast-1.3.2
37 - either-1.6.1
38 - flate2-1.0.22
39 - form_urlencoded-1.0.1
40 - idna-0.2.3
41 - indoc-0.3.6
42 - indoc-impl-0.3.6
43 - instant-0.1.12
44 - itertools-0.10.3
45 - libc-0.2.118
46 - lock_api-0.4.6
47 - matches-0.1.9
48 - memchr-2.4.1
49 - miniz_oxide-0.4.4
50 - num-traits-0.2.14
51 - once_cell-1.9.0
52 - parking_lot-0.11.2
53 - parking_lot_core-0.8.5
54 - paste-0.1.18
55 - paste-impl-0.1.18
56 - percent-encoding-2.1.0
57 - proc-macro-hack-0.5.19
58 - proc-macro2-1.0.36
59 - psl-2.0.71
60 - psl-types-2.0.10
61 - pyo3-0.15.1
62 - pyo3-build-config-0.15.1
63 - pyo3-macros-0.15.1
64 - pyo3-macros-backend-0.15.1
65 - quote-1.0.15
66 - redox_syscall-0.2.10
67 - regex-1.5.4
68 - regex-syntax-0.6.25
69 - rmp-0.8.10
70 - rmp-serde-0.13.7
71 - rmp-serde-0.15.5
72 - scopeguard-1.1.0
73 - seahash-3.0.7
74 - serde-1.0.136
75 - serde_derive-1.0.136
76 - smallvec-1.8.0
77 - syn-1.0.86
78 - tinyvec-1.5.1
79 - tinyvec_macros-0.1.0
80 - twoway-0.2.2
81 - unchecked-index-0.2.2
82 - unicode-bidi-0.3.7
83 - unicode-normalization-0.1.19
84 - unicode-xid-0.2.2
85 - unindent-0.1.7
86 - url-2.2.2
87 - winapi-0.3.9
88 - winapi-i686-pc-windows-gnu-0.4.0
89 - winapi-x86_64-pc-windows-gnu-0.4.0"
90 -PYTHON_COMPAT=( python3_{8..10} )
91 -inherit cargo python-r1
92 -
93 -DESCRIPTION="Python wrapper for Brave's adblocking library, which is written in Rust"
94 -HOMEPAGE="https://github.com/ArniDagur/python-adblock"
95 -SRC_URI="
96 - https://github.com/ArniDagur/python-adblock/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
97 - $(cargo_crate_uris)"
98 -S="${WORKDIR}/python-${P}"
99 -
100 -LICENSE="Apache-2.0 BSD MIT MPL-2.0"
101 -SLOT="0"
102 -KEYWORDS="amd64 ~arm64 ~x86"
103 -IUSE="test"
104 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
105 -RESTRICT="!test? ( test )"
106 -
107 -RDEPEND="${PYTHON_DEPS}"
108 -BDEPEND="
109 - ${PYTHON_DEPS}
110 - dev-util/maturin
111 - test? (
112 - dev-python/pytest[${PYTHON_USEDEP}]
113 - dev-python/toml[${PYTHON_USEDEP}]
114 - )"
115 -
116 -QA_FLAGS_IGNORED=".*/site-packages/${PN}/${PN}.abi3.so"
117 -
118 -src_compile() {
119 - maturin build $(usev !debug --release) --no-sdist --skip-auditwheel || die
120 -
121 - mv target/$(usex debug{,} release)/lib${PN}.so ${PN}/${PN}.abi3.so || die
122 -}
123 -
124 -src_test() {
125 - python_foreach_impl epytest
126 -}
127 -
128 -src_install() {
129 - python_foreach_impl python_domodule ${PN}
130 -
131 - dodoc CHANGELOG.md README.md
132 -}