commit: 5ea466de43727e23ed68a338cf6b794a23b2c4ba Author: Tim Harder <radhermit <AT> gentoo <DOT> org> AuthorDate: Sat Jun 22 20:56:06 2019 +0000 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> CommitDate: Sat Jun 22 20:56:06 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ea466de
dev-python/xcffib: version bump to 0.8.1 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org> dev-python/xcffib/Manifest | 1 + dev-python/xcffib/xcffib-0.8.1.ebuild | 38 +++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/xcffib/Manifest b/dev-python/xcffib/Manifest index e8a1c2cae5b..00a3a00eb49 100644 --- a/dev-python/xcffib/Manifest +++ b/dev-python/xcffib/Manifest @@ -2,3 +2,4 @@ DIST xcffib-0.4.0.tar.gz 74715 BLAKE2B e0e7d84cdb39a022225623fdefab7a5f8e6de2490 DIST xcffib-0.5.1.tar.gz 81274 BLAKE2B 17e19d16a5d1b5699a10bc93c80327ba2d4c38d18c704b99f7e81a083ab8879f19dbb67b11cd0eebc47b8286c3f4413be089759bc49455674847593465dcc97e SHA512 ed13a43e301c6713c3831261bd94444d3961f805c39cc72dbe05f986eafb24e4f53f653045b84b57b4046a3ac763b20bd661298af5e6cc57978c57d68d2a0a39 DIST xcffib-0.6.0.tar.gz 84360 BLAKE2B 0947e1a20e9ad73f77e6cb000ed9fc8d70e45080edb74c5d25642c2d5ae388cc97461633e8cee1d7676557735b57b9cc1a3de459e54f96888cf7d19451d24c21 SHA512 de78b738f2a75e6569a0529d1fe2844b2cafe48623f25c20a9572ce881cb97325c3823dfe883a2e14bc93d01342f20c4ab561928312f65d0a67364fecb5c8ba5 DIST xcffib-0.7.0.tar.gz 83895 BLAKE2B b2f8f2a4fcba20bfedc4e174d61900ea20bb8968bbdff73700ceeacd6c9fa36288bfcfd67a7d4206376b3b45e6e51481604e3ea3d6aa6d9ff68eaa49df25a414 SHA512 ad655e897eb08b898e396290c0b4b64a1e228b21fc5ed1fbcb3cc73bae466fa5255d539d864f1a9fdcb1396e73f60a981e00aab82efc343c7f83c8f62a6d31c5 +DIST xcffib-0.8.1.tar.gz 82979 BLAKE2B 7f253a1a6faf77830f2835cc51ae3e2138bdc826b30afded951e276056e2f6b4a1168d3440874e11d539cef84de47e02e16ec435dc7ec55b5bbb933e43f0eb8b SHA512 c7eed1f2c31d87c9ec9b7fa01e11ae3c65d2d9493fe3f4c7286901c65cb4c81382b1c41906ee537372c98b58f680530d708b81826d41eb66be45d62ab22624bf diff --git a/dev-python/xcffib/xcffib-0.8.1.ebuild b/dev-python/xcffib/xcffib-0.8.1.ebuild new file mode 100644 index 00000000000..528b8913b97 --- /dev/null +++ b/dev-python/xcffib/xcffib-0.8.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy ) + +inherit distutils-r1 virtualx + +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="Apache-2.0" +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-base/xorg-server[xvfb] + x11-apps/xeyes + )" + +PATCHES=( "${FILESDIR}"/${PN}-0.4.2-test-imports.patch ) + +python_test() { + virtx nosetests -d -v || die +}