blob: acda20969a2063a3621c8d378598cb93f7862c8e (
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
|
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Material You color algorithms for python!"
HOMEPAGE="https://github.com/T-Dynamos/materialyoucolor-python"
LICENSE="MIT"
SLOT="0"
RESTRICT="network-sandbox"
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
if [[ "${PV}" = *9999 ]]; then
inherit git-r3
BDEPEND="dev-vcs/git"
EGIT_REPO_URI="https://github.com/T-Dynamos/materialyoucolor-python.git"
else
SRC_URI="https://github.com/T-Dynamos/materialyoucolor-python/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-python-${PV}"
KEYWORDS="~amd64 ~arm64"
fi
distutils_enable_tests import-check
|