summaryrefslogtreecommitdiff
path: root/dev-python/xcffib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/xcffib
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/xcffib')
-rw-r--r--dev-python/xcffib/Manifest8
-rw-r--r--dev-python/xcffib/files/xcffib-0.4.2-test-imports.patch35
-rw-r--r--dev-python/xcffib/metadata.xml12
-rw-r--r--dev-python/xcffib/xcffib-0.4.0.ebuild33
-rw-r--r--dev-python/xcffib/xcffib-0.5.1.ebuild37
-rw-r--r--dev-python/xcffib/xcffib-0.6.0.ebuild37
6 files changed, 162 insertions, 0 deletions
diff --git a/dev-python/xcffib/Manifest b/dev-python/xcffib/Manifest
new file mode 100644
index 000000000000..e9d867bb53a9
--- /dev/null
+++ b/dev-python/xcffib/Manifest
@@ -0,0 +1,8 @@
+AUX xcffib-0.4.2-test-imports.patch 902 BLAKE2B 386d1a45dff2454925655b09f8dabf8159ab3be6dd0750723d0f70f85b15f75b48d7989d37ab808a090bb4723ae7cbbfcc271eca390b1653a10dc2244ce0564e SHA512 f08590fb2d5979f464d56f9c7e45b83f20954005980f98d2ee3d2c6ce5c44554431059fc911040943ecdcd4ca786c345bab6bae733a46379ad58fa487d516697
+DIST xcffib-0.4.0.tar.gz 74715 BLAKE2B e0e7d84cdb39a022225623fdefab7a5f8e6de2490b31b28b3a37dd8cff73286c5d418a6abde704a306d7a43ae1b4bebc8bf63aa27b0a055b21ed52bab8f6767e SHA512 ac144ffdfb559ae2ee8d4a23c937989ca4e28f913b2d27f1240725c8398ede1a7a010a0d861998151923d235d5e04799d8df8496c9ec8005a2286825dcd59bd7
+DIST xcffib-0.5.1.tar.gz 81274 BLAKE2B 17e19d16a5d1b5699a10bc93c80327ba2d4c38d18c704b99f7e81a083ab8879f19dbb67b11cd0eebc47b8286c3f4413be089759bc49455674847593465dcc97e SHA512 ed13a43e301c6713c3831261bd94444d3961f805c39cc72dbe05f986eafb24e4f53f653045b84b57b4046a3ac763b20bd661298af5e6cc57978c57d68d2a0a39
+DIST xcffib-0.6.0.tar.gz 84360 BLAKE2B 0947e1a20e9ad73f77e6cb000ed9fc8d70e45080edb74c5d25642c2d5ae388cc97461633e8cee1d7676557735b57b9cc1a3de459e54f96888cf7d19451d24c21 SHA512 de78b738f2a75e6569a0529d1fe2844b2cafe48623f25c20a9572ce881cb97325c3823dfe883a2e14bc93d01342f20c4ab561928312f65d0a67364fecb5c8ba5
+EBUILD xcffib-0.4.0.ebuild 795 BLAKE2B f404ad4770a067f35492b8b24a20e54bfd9ac0f0874cd956ac419ed0a757b558721549378a4ead650dc763193f383fcd857cc722b468ec1d929e2391599a0641 SHA512 33e449cfbda001cf2337845a2cc9c83b81b2189b6f5f43050c30fcc2ea451b8ecb0a93191cf329a3dd82d000c5a9510b822642bd0957c28b54bb3d9d34283442
+EBUILD xcffib-0.5.1.ebuild 893 BLAKE2B 7a26acc9fed613a557df9d8015f3cb468b23a78e5e64afedbf1edb200dfa89ab813de29499adfe4b0eded196f16025b720c8887490f36ed9cfcd872ef778dcd2 SHA512 4ca68a0a636d3baf81c9991ee4ed2e483df42cc11b86e4b9b90d8fcb1ad46c77258685bc7f3499490848f1ed04b618274e119d5d32ca27eb4e217d30d4471f88
+EBUILD xcffib-0.6.0.ebuild 896 BLAKE2B 96a26165a31698ad6150e6d9a7837254ef013490c3fbf102d16123099018ce66023acb1312513529b76e49c2a60c3775d895909c8641994a15f96dc07f2ec497 SHA512 ee078a19572b3a7ecc83d28ad7462bd2098675535fce8c442c4b3c8c6b6e28530dec42641e565e9e253fcc55708682515d6a5a166f74f4b9436eafd7530a5e96
+MISC metadata.xml 373 BLAKE2B e21d3d9113705facf550e641e786485f657d976a1cbc19f5f1513d534e9a6bde20f68b104a95914dbe95347e0144c0cb0bdc8f87df31906f5f70be71324495dd SHA512 2c7291bce1de8d82151379bcdcc039344659570feec49b82ce9e7274b5e0abecf8499fe7c595b06f71c37ab7bfcb3f2ce8771f216282a50b6c1aba5dffc1008c
diff --git a/dev-python/xcffib/files/xcffib-0.4.2-test-imports.patch b/dev-python/xcffib/files/xcffib-0.4.2-test-imports.patch
new file mode 100644
index 000000000000..da33bf3934cb
--- /dev/null
+++ b/dev-python/xcffib/files/xcffib-0.4.2-test-imports.patch
@@ -0,0 +1,35 @@
+Relative imports don't work because the test dir isn't a proper python module.
+
+--- xcffib-0.4.2/test/test_connection.py
++++ xcffib-0.4.2/test/test_connection.py
+@@ -20,7 +20,7 @@
+
+ from xcffib import ffi
+ from xcffib.testing import XvfbTest
+-from .testing import XcffibTest
++from testing import XcffibTest
+
+ from nose.tools import raises
+ from nose import SkipTest
+--- xcffib-0.4.2/test/test_fakeinput.py
++++ xcffib-0.4.2/test/test_fakeinput.py
+@@ -2,7 +2,7 @@
+ import xcffib.xproto
+ import xcffib.xtest
+
+-from .testing import XcffibTest
++from testing import XcffibTest
+
+ class TestConnection(XcffibTest):
+ def test_fakeinput(self):
+--- xcffib-0.4.2/test/test_python_code.py
++++ xcffib-0.4.2/test/test_python_code.py
+@@ -18,7 +18,7 @@
+ import struct
+ from xcffib.xproto import EventMask
+
+-from .testing import XcffibTest
++from testing import XcffibTest
+
+ class TestPythonCode(XcffibTest):
+
diff --git a/dev-python/xcffib/metadata.xml b/dev-python/xcffib/metadata.xml
new file mode 100644
index 000000000000..bf990924271b
--- /dev/null
+++ b/dev-python/xcffib/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">xcffib</remote-id>
+ <remote-id type="github">tych0/xcffib</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/xcffib/xcffib-0.4.0.ebuild b/dev-python/xcffib/xcffib-0.4.0.ebuild
new file mode 100644
index 000000000000..3d3c3be49a79
--- /dev/null
+++ b/dev-python/xcffib/xcffib-0.4.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="A drop in replacement for xpyb, an XCB python binding"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="https://github.com/tych0/xcffib"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="test"
+
+COMMON_DEPEND="x11-libs/libxcb"
+
+RDEPEND="
+ $(python_gen_cond_dep '>=dev-python/cffi-1.1:=[${PYTHON_USEDEP}]' 'python*')
+ $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )
+ dev-python/six[${PYTHON_USEDEP}]
+ ${COMMON_DEPEND}"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ ${COMMON_DEPEND}
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+python_test() {
+ nosetests -d -v || die
+}
diff --git a/dev-python/xcffib/xcffib-0.5.1.ebuild b/dev-python/xcffib/xcffib-0.5.1.ebuild
new file mode 100644
index 000000000000..c5c4077789b6
--- /dev/null
+++ b/dev-python/xcffib/xcffib-0.5.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="A drop in replacement for xpyb, an XCB python binding"
+HOMEPAGE="https://github.com/tych0/xcffib"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86"
+IUSE="test"
+
+COMMON_DEPEND="x11-libs/libxcb"
+RDEPEND="
+ $(python_gen_cond_dep '>=dev-python/cffi-1.1:=[${PYTHON_USEDEP}]' 'python*')
+ $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )
+ dev-python/six[${PYTHON_USEDEP}]
+ ${COMMON_DEPEND}"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ ${COMMON_DEPEND}
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ x11-apps/xeyes
+ )"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.4.2-test-imports.patch )
+
+python_test() {
+ nosetests -d -v || die
+}
diff --git a/dev-python/xcffib/xcffib-0.6.0.ebuild b/dev-python/xcffib/xcffib-0.6.0.ebuild
new file mode 100644
index 000000000000..575cd9b7bf24
--- /dev/null
+++ b/dev-python/xcffib/xcffib-0.6.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="A drop in replacement for xpyb, an XCB python binding"
+HOMEPAGE="https://github.com/tych0/xcffib"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="test"
+
+COMMON_DEPEND="x11-libs/libxcb"
+RDEPEND="
+ $(python_gen_cond_dep '>=dev-python/cffi-1.1:=[${PYTHON_USEDEP}]' 'python*')
+ $(python_gen_cond_dep '>=virtual/pypy-2.6.0' pypy )
+ dev-python/six[${PYTHON_USEDEP}]
+ ${COMMON_DEPEND}"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ ${COMMON_DEPEND}
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ x11-apps/xeyes
+ )"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.4.2-test-imports.patch )
+
+python_test() {
+ nosetests -d -v || die
+}