summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-06-21 11:20:43 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-06-21 11:20:53 +0100
commit487f1cbdeb8edf94ae549f25b2182203e799385d (patch)
tree4504cb1d0a8f473f9a06c6de2b1ff11222c1e002 /dev-libs/distorm3
parentdev-python/gast: Add missing test-dep on astunparse (diff)
downloadgentoo-487f1cbdeb8edf94ae549f25b2182203e799385d.tar.gz
gentoo-487f1cbdeb8edf94ae549f25b2182203e799385d.tar.bz2
gentoo-487f1cbdeb8edf94ae549f25b2182203e799385d.zip
dev-libs/distorm3: avoid dashes in setup.cfg
Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/797283 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-libs/distorm3')
-rw-r--r--dev-libs/distorm3/distorm3-3.5.2.ebuild2
-rw-r--r--dev-libs/distorm3/files/distorm3-3.5.2-under.patch12
2 files changed, 14 insertions, 0 deletions
diff --git a/dev-libs/distorm3/distorm3-3.5.2.ebuild b/dev-libs/distorm3/distorm3-3.5.2.ebuild
index 2567f7c5821..6c9bc4aa2c0 100644
--- a/dev-libs/distorm3/distorm3-3.5.2.ebuild
+++ b/dev-libs/distorm3/distorm3-3.5.2.ebuild
@@ -24,6 +24,8 @@ BDEPEND="test? ( dev-lang/yasm )"
distutils_enable_tests pytest
+PATCHES=("${FILESDIR}"/${P}-under.patch)
+
python_install() {
distutils-r1_python_install
diff --git a/dev-libs/distorm3/files/distorm3-3.5.2-under.patch b/dev-libs/distorm3/files/distorm3-3.5.2-under.patch
new file mode 100644
index 00000000000..3a7971d55be
--- /dev/null
+++ b/dev-libs/distorm3/files/distorm3-3.5.2-under.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/797283
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -4,7 +4,7 @@ compile = 1
+ optimize = 1
+
+ [bdist_wininst]
+-user-access-control = auto
++user_access_control = auto
+
+ [egg_info]
+ tag_build =