diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-05-15 22:55:41 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-05-15 23:18:10 +0200 |
commit | deabb4d42a2ea7602e8be566a0aacc48a7df6295 (patch) | |
tree | 377d0a50830ada8b08637ec56377b5ccb5f8d859 /dev-python/python-xlib | |
parent | dev-perl/Date-Calc: Remove old (diff) | |
download | gentoo-deabb4d42a2ea7602e8be566a0aacc48a7df6295.tar.gz gentoo-deabb4d42a2ea7602e8be566a0aacc48a7df6295.tar.bz2 gentoo-deabb4d42a2ea7602e8be566a0aacc48a7df6295.zip |
dev-python/python-xlib: Bump to 0.30
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.30.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/python-xlib/Manifest b/dev-python/python-xlib/Manifest index d3192658fcb9..e72da292788f 100644 --- a/dev-python/python-xlib/Manifest +++ b/dev-python/python-xlib/Manifest @@ -1 +1,2 @@ DIST python-xlib-0.29.tar.bz2 209322 BLAKE2B 4d94d99c8094947ce1acb84f3adc28ab4b6e9d6aaf61317b625e50578ece3800f6462551f8656b194d5635e3e35a5d6fec86d4eb553d7b65684a7f74fdf0dc14 SHA512 6275deb2c1e2068d560c45803e651fef9910b5cb921e043ed8204878a1f885b92122b6af3d4ac33f220231c1933d3150524169d0078f64b74df29a8f617d953a +DIST python-xlib-0.30.tar.bz2 211256 BLAKE2B 979a004f6ff6ac933baa41623b346c8d1fa9944bc771308e3dd527de7ae6aebb8df0c5d269f21e7aca590ad7d3981d0deeb592981b0672c54b30ce286e650236 SHA512 52ee01cce73f024d6fdc995cff38ba9ff2838888aced12186a754c1760228f89209c1d6fc9d4fe0e371a4a43743f8fdfdef6ea32ea3feda5a85055897aaf887d diff --git a/dev-python/python-xlib/python-xlib-0.30.ebuild b/dev-python/python-xlib/python-xlib-0.30.ebuild new file mode 100644 index 000000000000..d5a5b6ae79a3 --- /dev/null +++ b/dev-python/python-xlib/python-xlib-0.30.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} ) + +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}]" +BDEPEND="${RDEPEND} + dev-python/setuptools_scm[${PYTHON_USEDEP}] + doc? ( sys-apps/texinfo ) + test? ( dev-python/mock[${PYTHON_USEDEP}] ) +" + +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 +} |