summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2020-10-28 16:25:48 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-10-28 16:36:01 -0700
commit9e85dc42f965dbbdd20348a18e94dc404db080ec (patch)
treeebe50d839b13830e552e4ea0916e59012205318c /dev-libs/libpy/files
parentdev-libs/simdjson: revbump, add ~ppc64 keyword, bump subslot (diff)
downloadgentoo-9e85dc42f965dbbdd20348a18e94dc404db080ec.tar.gz
gentoo-9e85dc42f965dbbdd20348a18e94dc404db080ec.tar.bz2
gentoo-9e85dc42f965dbbdd20348a18e94dc404db080ec.zip
dev-libs/libpy: New package
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-libs/libpy/files')
-rw-r--r--dev-libs/libpy/files/libpy-0.2.5-no-werror.patch13
-rw-r--r--dev-libs/libpy/files/libpy-0.2.5-permissions.patch13
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/libpy/files/libpy-0.2.5-no-werror.patch b/dev-libs/libpy/files/libpy-0.2.5-no-werror.patch
new file mode 100644
index 000000000000..214d1764b182
--- /dev/null
+++ b/dev-libs/libpy/files/libpy-0.2.5-no-werror.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 09e6e39..bed335b 100644
+--- a/Makefile
++++ b/Makefile
+@@ -31,7 +31,7 @@ endif
+ OPTLEVEL ?= 3
+ MAX_ERRORS ?= 5
+ BASE_WARNINGS := \
+- -Werror -Wall -Wextra \
++ -Wall -Wextra \
+ -Wno-register \
+ -Wno-missing-field-initializers \
+ -Wsign-compare \
diff --git a/dev-libs/libpy/files/libpy-0.2.5-permissions.patch b/dev-libs/libpy/files/libpy-0.2.5-permissions.patch
new file mode 100644
index 000000000000..8e5fc2762a9f
--- /dev/null
+++ b/dev-libs/libpy/files/libpy-0.2.5-permissions.patch
@@ -0,0 +1,13 @@
+diff --git a/setup.py b/setup.py
+index 61bc3da..a00b565 100644
+--- a/setup.py
++++ b/setup.py
+@@ -43,7 +43,7 @@ class build_py(_build_py):
+ )
+
+ p = pathlib.Path(self.build_lib) / 'libpy/_build-and-run'
+- p.chmod(p.stat().st_mode | stat.S_IEXEC)
++ p.chmod(p.stat().st_mode | stat.S_IEXEC | stat.S_IXGRP | stat.S_IXOTH)
+
+
+ setup(