summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-06-19 16:51:59 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-06-19 22:44:14 -0400
commite91534a2cbe275805c1d7b25e384caa48af1c4de (patch)
tree6f41a56158d271543f6397ccab984097f791b7bb
parentapp-text/mdbook: modernize cargo.eclass usage (diff)
downloadgentoo-e91534a2cbe275805c1d7b25e384caa48af1c4de.tar.gz
gentoo-e91534a2cbe275805c1d7b25e384caa48af1c4de.tar.bz2
gentoo-e91534a2cbe275805c1d7b25e384caa48af1c4de.zip
dev-python/adblock: adjust style
To match other ebuilds I maintain. Meant to update it like other packages for cargo.eclass but someone else already did. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--dev-python/adblock/adblock-0.6.0.ebuild15
1 files changed, 5 insertions, 10 deletions
diff --git a/dev-python/adblock/adblock-0.6.0.ebuild b/dev-python/adblock/adblock-0.6.0.ebuild
index 5d279ff79974..b25860323125 100644
--- a/dev-python/adblock/adblock-0.6.0.ebuild
+++ b/dev-python/adblock/adblock-0.6.0.ebuild
@@ -67,29 +67,24 @@ CRATES="
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
-"
-
+ 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}
-"
+ https://github.com/ArniDagur/python-adblock/archive/refs/tags/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+ ${CARGO_CRATE_URIS}"
S="${WORKDIR}/python-${P}"
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
-"
+ Unicode-DFS-2016" # crates
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"