summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-02-13 12:12:57 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-02-13 15:46:12 +0100
commit1105791f4d6a1eff781a881ff6d25c32ed78e45a (patch)
treeefb9eb0f55ecfc1d1724d88e8d9b8d67dcfa8411
parentsys-kernel/linux-firmware: stabilize 20230210 (diff)
downloadgentoo-1105791f4d6a1eff781a881ff6d25c32ed78e45a.tar.gz
gentoo-1105791f4d6a1eff781a881ff6d25c32ed78e45a.tar.bz2
gentoo-1105791f4d6a1eff781a881ff6d25c32ed78e45a.zip
app-arch/dtrx: remove platform specifier
Closes: https://bugs.gentoo.org/894148 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--app-arch/dtrx/dtrx-8.5.0.ebuild6
-rw-r--r--app-arch/dtrx/dtrx-9999.ebuild6
2 files changed, 12 insertions, 0 deletions
diff --git a/app-arch/dtrx/dtrx-8.5.0.ebuild b/app-arch/dtrx/dtrx-8.5.0.ebuild
index 03c4b8340d0c..120994564bbc 100644
--- a/app-arch/dtrx/dtrx-8.5.0.ebuild
+++ b/app-arch/dtrx/dtrx-8.5.0.ebuild
@@ -25,6 +25,12 @@ SLOT="0"
DOCS=( README.md )
+src_prepare() {
+ sed -i '/ *platform==/s|.*||' setup.cfg || die # bug #894148
+
+ distutils-r1_src_prepare
+}
+
pkg_postinst() {
local supported_format
local -a supported_formats=(
diff --git a/app-arch/dtrx/dtrx-9999.ebuild b/app-arch/dtrx/dtrx-9999.ebuild
index 03c4b8340d0c..120994564bbc 100644
--- a/app-arch/dtrx/dtrx-9999.ebuild
+++ b/app-arch/dtrx/dtrx-9999.ebuild
@@ -25,6 +25,12 @@ SLOT="0"
DOCS=( README.md )
+src_prepare() {
+ sed -i '/ *platform==/s|.*||' setup.cfg || die # bug #894148
+
+ distutils-r1_src_prepare
+}
+
pkg_postinst() {
local supported_format
local -a supported_formats=(