summaryrefslogtreecommitdiff
path: root/x11-libs/xpyb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-09 16:53:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-09 16:53:27 +0000
commit80208fb578cf92cc308906660ca6d7860c6b2a1f (patch)
tree6f06818031b553c506fc10dfe9908a835df288aa /x11-libs/xpyb
parent06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (diff)
gentoo resync : 09.03.2018
Diffstat (limited to 'x11-libs/xpyb')
-rw-r--r--x11-libs/xpyb/Manifest2
-rw-r--r--x11-libs/xpyb/files/xpyb-1.3.1-xcbproto-1.13.patch13
-rw-r--r--x11-libs/xpyb/xpyb-1.3.1-r4.ebuild50
3 files changed, 65 insertions, 0 deletions
diff --git a/x11-libs/xpyb/Manifest b/x11-libs/xpyb/Manifest
index b967e2389259..29a25a71afb4 100644
--- a/x11-libs/xpyb/Manifest
+++ b/x11-libs/xpyb/Manifest
@@ -1,5 +1,7 @@
+AUX xpyb-1.3.1-xcbproto-1.13.patch 482 BLAKE2B 94643f0eb2ee39219ace29c0c436984b9b8bb364deee017b659b3bed26111e542b115cf4a03691db1900fbf09d501951512b6d8cb1416edc3bcda1245729e34f SHA512 d8551d7e04e805b33d53792700fb91b2220c7551f3623bbf2b96ed99e8106d028fd378ae28085faab80524775d17ffc2e7f3297443ba38fef40d1c05012f53a3
AUX xpyb-1.3.1-xcbproto-1.9.patch 533 BLAKE2B 1166382041c9813eae21b4d0b8f264dc558348102ff5a55627c5cba11f2dbf3c091d2be3e743fa1c41f65d3687b5024ad43f5de019e1311997a2fde0f59cb424 SHA512 62fcb656d0990b22e1d375e18b3fca7f8d7a09dec5a1a7d116c4c225ff3fab65e16cd00caba6e179b2b3dbc2d53574af36466d4ac87f7f3516f8660615a00bc4
AUX xpyb-python.patch 551 BLAKE2B 6c413d578f4a9e2b63bcd5ecb46473478adee1e6d0a007da96770c1f06876177b42481ed4842f023d2a38eaca21ef109d12e878ba2645e23f23f49d2530be28a SHA512 1aa769145dac51fe70fcdd043f06e5dfebc9108c71bf6a34f3e3161e88d82883b7a53406e153dd6253d9de516745bb2297fbb8dbf1f8f0a1b3a7d6e1aa873cb7
DIST xpyb-1.3.1.tar.bz2 273962 BLAKE2B 931502b14a6fcd41a5a72124895c5e1c2215c74a4baa20778e39611f51ad38e78d7c37859a45c5e7a7e4754aa612bcd01d7362d96bf3c77751c6025f41f4ec6d SHA512 f3020f9b9d27ae522408d22cbdb14c9eb3d4acbc911e6f8fac425323c3f99233f773c3c4e027aa3812dec11b832cf0df8a38f71d21b0c3a1918eea6efe36c090
EBUILD xpyb-1.3.1-r3.ebuild 1124 BLAKE2B 1e4404db61b091420dabc07ca591c8683617e221fb4d0f8cb1b86fecd35d9048c93c12ae137c844f298a8ff55994ae63c534708da999c8374eaba34ec9885086 SHA512 d8034aa2de2092ce561c7f16c1ce72370c54ee0a3962777768046a8a773eade0c2349e03efb8972edaa8559b18ab3cf905c393440fa2bde4798cb30782f17297
+EBUILD xpyb-1.3.1-r4.ebuild 1180 BLAKE2B 69f58ce6cd5df91360332fa17d20e812e3a40bb9e9ab49d9a8163d4744f5a486468bba5c89f3b9df3bef89df6b847d735d1b95af829e0fff1d9a03b1a2edb6cf SHA512 844203bc639e0346476cf6a7f338f95967b7bfdaf451e5e2e7bd0a189e55e32f28885bccaa4b988efc090a4ce16016db0142a6e84165e017394a5d86b484177c
MISC metadata.xml 230 BLAKE2B 70bf59e64305ef14908197f2aa7ffbc1769ade265097da68e001245451658af5921760c91cb74aae717543ea0017e2471fd94bfc5c4c447d2d60e2c23aa3b007 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057
diff --git a/x11-libs/xpyb/files/xpyb-1.3.1-xcbproto-1.13.patch b/x11-libs/xpyb/files/xpyb-1.3.1-xcbproto-1.13.patch
new file mode 100644
index 000000000000..9cb901c9727a
--- /dev/null
+++ b/x11-libs/xpyb/files/xpyb-1.3.1-xcbproto-1.13.patch
@@ -0,0 +1,13 @@
+diff -ur xpyb-1.3.1/src/py_client.py xpyb-1.3.1/src/py_client.py
+--- xpyb-1.3.1/src/py_client.py 2012-03-24 01:24:40.000000000 +0400
++++ xpyb-1.3.1/src/py_client.py 2018-03-08 10:13:48.342758718 +0300
+@@ -585,7 +585,8 @@
+ 'union' : py_union,
+ 'request' : py_request,
+ 'event' : py_event,
+- 'error' : py_error
++ 'error' : py_error,
++ 'eventstruct' : lambda *a, **k: None
+ }
+
+ # Boilerplate below this point
diff --git a/x11-libs/xpyb/xpyb-1.3.1-r4.ebuild b/x11-libs/xpyb/xpyb-1.3.1-r4.ebuild
new file mode 100644
index 000000000000..1e7d210bc6ae
--- /dev/null
+++ b/x11-libs/xpyb/xpyb-1.3.1-r4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+AUTOTOOLS_AUTORECONF=1
+
+inherit flag-o-matic xorg-2 python-r1
+
+#EGIT_REPO_URI="https://anongit.freedesktop.org/git/xcb/xpyb.git"
+SRC_URI="https://xcb.freedesktop.org/dist/${P}.tar.bz2"
+DESCRIPTION="XCB-based Python bindings for the X Window System"
+HOMEPAGE="https://xcb.freedesktop.org/"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="selinux"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND=">=x11-libs/libxcb-1.7
+ >=x11-proto/xcb-proto-1.7.1[${PYTHON_USEDEP}]
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-python.patch
+ "${FILESDIR}"/${PN}-1.3.1-xcbproto-1.9.patch
+ "${FILESDIR}"/${PN}-1.3.1-xcbproto-1.13.patch
+)
+DOCS=( NEWS README )
+
+pkg_setup() {
+ xorg-2_pkg_setup
+ XORG_CONFIGURE_OPTIONS=(
+ $(use_enable selinux)
+ )
+}
+
+src_configure() {
+ append-cflags -fno-strict-aliasing
+ python_foreach_impl xorg-2_src_configure
+}
+
+src_compile() {
+ python_foreach_impl xorg-2_src_compile
+}
+
+src_install() {
+ python_foreach_impl xorg-2_src_install
+}