summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/adblock/adblock-0.6.0.ebuild4
-rw-r--r--dev-python/adblock/files/adblock-0.6.0-maturin-0.14.13.patch16
2 files changed, 20 insertions, 0 deletions
diff --git a/dev-python/adblock/adblock-0.6.0.ebuild b/dev-python/adblock/adblock-0.6.0.ebuild
index f6fe5726c154..575f8877fbd1 100644
--- a/dev-python/adblock/adblock-0.6.0.ebuild
+++ b/dev-python/adblock/adblock-0.6.0.ebuild
@@ -89,6 +89,10 @@ QA_FLAGS_IGNORED=".*/adblock.*.so"
DOCS=( CHANGELOG.md README.md )
+PATCHES=(
+ "${FILESDIR}"/${P}-maturin-0.14.13.patch
+)
+
EPYTEST_IGNORE=(
# not very meaningful here (e.g. validates changelog),
# and needs the deprecated dev-python/toml
diff --git a/dev-python/adblock/files/adblock-0.6.0-maturin-0.14.13.patch b/dev-python/adblock/files/adblock-0.6.0-maturin-0.14.13.patch
new file mode 100644
index 000000000000..67df5270939c
--- /dev/null
+++ b/dev-python/adblock/files/adblock-0.6.0-maturin-0.14.13.patch
@@ -0,0 +1,16 @@
+These are unused by maturin since 0.14.0 (non-issue for us),
+and still having them is now fatal rather than a warning.
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -11,11 +11,2 @@
+
+-[package.metadata.maturin]
+-classifier = [
+- "Programming Language :: Python",
+- "Programming Language :: Rust",
+- "License :: OSI Approved :: MIT License",
+- "License :: OSI Approved :: Apache Software License",
+-]
+-requires-python = ">=3.7"
+-
+ [profile.release]