summaryrefslogtreecommitdiff
path: root/gui-apps/hyprshade/hyprshade-5.0.0.ebuild
blob: b2446085c35d7d5afbe9f7dc100b3d5ba8fd617c (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
25
26
27
28
29
30
31
32
33
34
35
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{13..14} )
DISTUTILS_USE_PEP517=hatchling
EPYTEST_PLUGINS=( pytest-mock )
PYPI_NO_NORMALIZE=1

inherit distutils-r1

DESCRIPTION="Hyprland shader configuration tool"
HOMEPAGE="https://github.com/loqusion/hyprshade"

if [[ "${PV}" == "9999" ]]; then
	EGIT_REPO_URI="https://github.com/loqusion/${PN}.git"
	inherit git-r3
else
	SRC_URI="https://github.com/loqusion/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
	KEYWORDS="~amd64"
fi

LICENSE="MIT"
SLOT="0/$(ver_cut 1-2)"

RDEPEND="
	${PYTHON_DEPS}
	dev-python/chevron
	dev-python/click
	dev-python/more-itertools
	gui-wm/hyprland
"

distutils_enable_tests pytest