dev-python/python-xlib: Bump to 0.32

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-11-02 08:25:21 +01:00
parent f813fa69cc
commit 31dc3d9048
2 changed files with 49 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST python-xlib-0.31.tar.bz2 211425 BLAKE2B c0a15b11c264942479c86088d8d5bdc0c759ae71df8939feee200ff58ec30d3b2c0a99a119cc56e5c32279b26517e7925cf9124a367dc7d32fcaf0be4f7cd41e SHA512 f98978cd0058ae18f08f9da71b4ff31cd7811040ec1eb03ce065c187f312259d674dd76aad447752c8f508e585838948c90182eef5d5240e6c06b0a5dd1fbd33
DIST python-xlib-0.32.tar.bz2 213554 BLAKE2B cf24645529c6ca67a4825419837f312fa4ae0902bd2fb8f2eade7cc1645a3f79201b43c7ddca0cdcf8b21f623583acee1252cbe83d3700ab08979b8f0723b0a4 SHA512 9fecb77fa5d7ffba4c8031c0738147b7581dee9aed1a812254d22d78b6021cfc08743edb76829a3e5ba31f9a42648ea501b50ddcf5652ec3114a367c5e83d465

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1 virtualx
DESCRIPTION="A fully functional X client library for Python, written in Python"
HOMEPAGE="
https://github.com/python-xlib/python-xlib/
https://pypi.org/project/python-xlib/
"
SRC_URI="
https://github.com/python-xlib/python-xlib/releases/download/${PV}/${P}.tar.bz2
"
LICENSE="LGPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~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
}