summaryrefslogtreecommitdiff
path: root/dev-python/xpybutil/xpybutil-0.0.6.ebuild
blob: afac88e4b8ad430f091065ba50fc6c12cb2018dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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_{9,10,11,12,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"

RDEPEND=">=dev-python/xcffib-1.5.0[${PYTHON_USEDEP}]"

python_prepare_all() {
	sed -i -e "s:share/doc/xpybutil:share/doc/xpybutil-${PV}:" setup.py || die
	distutils-r1_python_prepare_all
}