dev-python/xpybutil: new package, add 0.0.6

Signed-off-by: Devrin Talen <devrin@fastmail.com>
This commit is contained in:
Devrin Talen
2024-08-22 16:45:12 -04:00
parent ca09dce756
commit d5200d5a9f
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..13} )
inherit distutils-r1
DESCRIPTION="Abstraction layer for xpyb"
HOMEPAGE="https://github.com/BurntSushi/xpybutil"
SRC_URI="https://github.com/BurntSushi/xpybutil/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz"
LICENSE="WTFPL"
SLOT="0"
KEYWORDS="~amd64"
python_prepare_all() {
sed -i -e "s:share/doc/xpybutil:share/doc/xpybutil-${PV}:" setup.py || die
distutils-r1_python_prepare_all
}