diff options
| author | Sebastian Pipping <sping@gentoo.org> | 2020-03-08 17:53:36 +0100 |
|---|---|---|
| committer | Sebastian Pipping <sping@gentoo.org> | 2020-03-08 17:56:35 +0100 |
| commit | 5a74e98c257f5cd78200122036195ec0b5996b41 (patch) | |
| tree | 48f1a7e1289df0d766a708f2b4a7c58d3b48ad59 /dev-python/python-xlib/python-xlib-0.26.ebuild | |
| parent | 04dd41b6d639cc51d2eb9659afa8f33a4a1ae926 (diff) | |
| download | gentoo-5a74e98c257f5cd78200122036195ec0b5996b41.tar.gz gentoo-5a74e98c257f5cd78200122036195ec0b5996b41.tar.bz2 gentoo-5a74e98c257f5cd78200122036195ec0b5996b41.zip | |
dev-python/python-xlib: 0.26 + EAPI 7 + py38
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-2.3.92, Repoman-2.3.20
Diffstat (limited to 'dev-python/python-xlib/python-xlib-0.26.ebuild')
| -rw-r--r-- | dev-python/python-xlib/python-xlib-0.26.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/python-xlib/python-xlib-0.26.ebuild b/dev-python/python-xlib/python-xlib-0.26.ebuild new file mode 100644 index 000000000000..8b9838d1974b --- /dev/null +++ b/dev-python/python-xlib/python-xlib-0.26.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=( python2_7 python3_{6,7,8} ) + +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 +} |
