diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-libs/xpyb |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-libs/xpyb')
-rw-r--r-- | x11-libs/xpyb/Manifest | 7 | ||||
-rw-r--r-- | x11-libs/xpyb/files/xpyb-1.3.1-xcbproto-1.9.patch | 11 | ||||
-rw-r--r-- | x11-libs/xpyb/files/xpyb-python.patch | 12 | ||||
-rw-r--r-- | x11-libs/xpyb/metadata.xml | 8 | ||||
-rw-r--r-- | x11-libs/xpyb/xpyb-1.3.1-r3.ebuild | 49 |
5 files changed, 87 insertions, 0 deletions
diff --git a/x11-libs/xpyb/Manifest b/x11-libs/xpyb/Manifest new file mode 100644 index 000000000000..e16b06134fd0 --- /dev/null +++ b/x11-libs/xpyb/Manifest @@ -0,0 +1,7 @@ +AUX xpyb-1.3.1-xcbproto-1.9.patch 533 SHA256 b6318b1aa072952b841fea0385c7b0bf75c12356309a6c03772a1c0002fd501d SHA512 62fcb656d0990b22e1d375e18b3fca7f8d7a09dec5a1a7d116c4c225ff3fab65e16cd00caba6e179b2b3dbc2d53574af36466d4ac87f7f3516f8660615a00bc4 WHIRLPOOL 276fdcbb5574741ed06f0dd6e2a92f1a6bec3558c5f9e87836be6eeb27a18211799e886e252060e798353e46b20a2fea7a937cc51fb98927969cc44d247f9f7e +AUX xpyb-python.patch 551 SHA256 43f445e6a428dbbf3579b814f51b2bc9b9b4f522f3b21e9212ac4de89f8dc005 SHA512 1aa769145dac51fe70fcdd043f06e5dfebc9108c71bf6a34f3e3161e88d82883b7a53406e153dd6253d9de516745bb2297fbb8dbf1f8f0a1b3a7d6e1aa873cb7 WHIRLPOOL c14c4f801ca69bb88d211b3269b69b80ba4f449c5f4e493c4cfaf7920f1b0bfe2d66095ba8eb832e79b68d6ba460a6d33935a9cecf4b0deecc54a81f23f3f6c7 +DIST xpyb-1.3.1.tar.bz2 273962 SHA256 fd4c877b05b83893043734a678eca332c6cabf1867d9b6a966c28a97ac987366 SHA512 f3020f9b9d27ae522408d22cbdb14c9eb3d4acbc911e6f8fac425323c3f99233f773c3c4e027aa3812dec11b832cf0df8a38f71d21b0c3a1918eea6efe36c090 WHIRLPOOL 8cb9289125bd6860590c86eeaaddadde32452cdbc64c63f3f82c85ac627378da203f3e1b6331a213e3a17eed3d0d179d1ba5f6279bf613a7cca870a242f81fab +EBUILD xpyb-1.3.1-r3.ebuild 1124 SHA256 926b17002b5b2a28dcd3bc1bfb5180cbe49874ead57d5c5a1cab84939e8e7ba3 SHA512 d8034aa2de2092ce561c7f16c1ce72370c54ee0a3962777768046a8a773eade0c2349e03efb8972edaa8559b18ab3cf905c393440fa2bde4798cb30782f17297 WHIRLPOOL 7afa1e4cf37683a1dc81d7ea34c462471bd89d9c82e59eeec59c1a7f22208c3a1f32feaa8a7837c288fa3baa07eb1758d0e061b6e14a1bdedd99cc033c9b377b +MISC ChangeLog 3499 SHA256 d8aefe89c97f991ffa6788db242155dc441d5b3746c99a52abbcf941b683d2d9 SHA512 b3fa4004879c358362dd18622b5d7a962801f3b84c56d847a7f069a5e9c0f59b656ed91728817f40e63da934e958791ef702e0a5402e5fe0c89dc231c936e275 WHIRLPOOL 2beb929d132f2b833a06f14f4aebd030e24c435b8f2200e37c67df12e3d07f806bcdacbbdc4bc6efdd23f5cb3efe670bef5e0c155ec19c0a234a0d2889861118 +MISC ChangeLog-2015 7748 SHA256 9b8617a99ce82c67f5f8244a48e4b471b4fe9e910d45654e888fe9c1ee8b4a2e SHA512 6b669a886ab7795202014981da8093f351de80bc004f1d201fdd9cffd27158fc6978f91594f01149b10b8ce84d562bc1267c593817aff7a3e732c6590ec5d069 WHIRLPOOL 496e4d8358db4074e4d2c71bc799f2a306d545192c277e9dee2facac5190a1ae64ffaccb38e57f0eb55a3798313b509a0fb827f6d965a9928c7b763574ab0a65 +MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306 diff --git a/x11-libs/xpyb/files/xpyb-1.3.1-xcbproto-1.9.patch b/x11-libs/xpyb/files/xpyb-1.3.1-xcbproto-1.9.patch new file mode 100644 index 000000000000..1196741b3cbe --- /dev/null +++ b/x11-libs/xpyb/files/xpyb-1.3.1-xcbproto-1.9.patch @@ -0,0 +1,11 @@ +diff -ruN xpyb-1.3.1_ORIG/src/py_client.py xpyb-1.3.1/src/py_client.py +--- xpyb-1.3.1_ORIG/src/py_client.py 2013-11-17 12:57:05.157530931 +0100 ++++ xpyb-1.3.1/src/py_client.py 2013-11-17 12:57:52.221530100 +0100 +@@ -19,6 +19,7 @@ + 'INT8': 'b', 'int8_t': 'b', + 'INT16': 'h', 'int16_t': 'h', + 'INT32': 'i', 'int32_t': 'i', ++ 'INT64': 'i', 'int64_t': 'i', + 'BYTE': 'B', + 'BOOL': 'B', + 'char': 'b', diff --git a/x11-libs/xpyb/files/xpyb-python.patch b/x11-libs/xpyb/files/xpyb-python.patch new file mode 100644 index 000000000000..4d5d9ac72956 --- /dev/null +++ b/x11-libs/xpyb/files/xpyb-python.patch @@ -0,0 +1,12 @@ +--- xpyb-1.3.1/configure.ac.orig 2013-05-21 19:01:51.054962821 +0400 ++++ xpyb-1.3.1/configure.ac 2013-05-21 19:05:22.342961464 +0400 +@@ -38,7 +38,8 @@ + + # Find the xcbgen Python package + AC_MSG_CHECKING([for xcb-proto python dir]) +-XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto` ++XCBPROTO_XCBPYTHONDIR=`$PYTHON -c 'import xcbgen; from os.path import dirname, abspath, join; \ ++ print abspath(join(dirname(xcbgen.[__file__]), ".."))'` + AC_MSG_RESULT($XCBPROTO_XCBPYTHONDIR) + AC_SUBST(XCBPROTO_XCBPYTHONDIR) + diff --git a/x11-libs/xpyb/metadata.xml b/x11-libs/xpyb/metadata.xml new file mode 100644 index 000000000000..e943b72b8a48 --- /dev/null +++ b/x11-libs/xpyb/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>x11@gentoo.org</email> + <name>X11</name> +</maintainer> +</pkgmetadata> diff --git a/x11-libs/xpyb/xpyb-1.3.1-r3.ebuild b/x11-libs/xpyb/xpyb-1.3.1-r3.ebuild new file mode 100644 index 000000000000..64d7a33b7dab --- /dev/null +++ b/x11-libs/xpyb/xpyb-1.3.1-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 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 +) +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 +} |