diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-09-20 08:21:37 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-09-20 08:28:48 +0200 |
commit | 9529ad8c8b33ed19b620cbde51bc9318fccf2c17 (patch) | |
tree | 025aaf3c113c8ed8a6a37d73af84b18f72c9a426 /dev-python/python-xlib | |
parent | dev-python/hyper-h2: Bump to 4.0.0 (diff) | |
download | gentoo-9529ad8c8b33ed19b620cbde51bc9318fccf2c17.tar.gz gentoo-9529ad8c8b33ed19b620cbde51bc9318fccf2c17.tar.bz2 gentoo-9529ad8c8b33ed19b620cbde51bc9318fccf2c17.zip |
dev-python/python-xlib: Bump to 0.28
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-xlib')
-rw-r--r-- | dev-python/python-xlib/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-xlib/python-xlib-0.28.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/python-xlib/Manifest b/dev-python/python-xlib/Manifest index ae6769da08aa..33e981c603bf 100644 --- a/dev-python/python-xlib/Manifest +++ b/dev-python/python-xlib/Manifest @@ -1 +1,2 @@ DIST python-xlib-0.27.tar.bz2 207119 BLAKE2B f34f5df34a64557d66f216bd03fb79b22364faab86e82761f43bf7c7cc0af744f6fa9a10b7a39fa42072c8ee0f25cebe3a8324471ecbb41dc3f33ed339875942 SHA512 6a25e796a2c522185e4df027bce8f423432dcbb5c4f74b96eb56e3d0e6e3a5be7570a872e479bbd556ef07b437043f7d97cdb2c21a0bb408e1cded44d2d9fa8f +DIST python-xlib-0.28.tar.bz2 203306 BLAKE2B f8916fd0c62c8b4546f1c381fc9f13b1e86c4ae6da06434b666f4952ae6a28f06389b006d48dc3139f9018cc3c126ab8316b968e64da7b2f4d22bcc2a2c83bb9 SHA512 69c17486ffc465c2f5ca740761f52191b4ba86b1e11b047f146f949d8431a0ad7fb1007b7fe29fd659dc2e7be6facc9ea1d7b1e87cd534ae425555f0d512c4c2 diff --git a/dev-python/python-xlib/python-xlib-0.28.ebuild b/dev-python/python-xlib/python-xlib-0.28.ebuild new file mode 100644 index 000000000000..ee6169d9ffd3 --- /dev/null +++ b/dev-python/python-xlib/python-xlib-0.28.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="A fully functional X client library for Python, written in Python" +HOMEPAGE="https://github.com/python-xlib/python-xlib" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="doc" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools_scm[${PYTHON_USEDEP}] + doc? ( sys-apps/texinfo )" + +# DISTUTILS_IN_SOURCE_BUILD=1 + +distutils_enable_tests unittest + +python_compile_all() { + use doc && emake -C doc/info +} + +src_test() { + virtx distutils-r1_src_test +} + +python_install_all() { + use doc && doinfo doc/info/*.info + distutils-r1_python_install_all +} |