summaryrefslogtreecommitdiffstats
path: root/dev-python/pytdeextensions/pytdeextensions-14.1.2.ebuild
blob: 7451cf64694f7f4888d21c60b69aec72d2c29a27 (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
36
37
38
# Copyright 2024 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2

EAPI="8"

TRINITY_MODULE_TYPE="libraries"
PYTHON_COMPAT=( python3_{8..12} )
DISTUTILS_SINGLE_IMPL=1
inherit trinity-base-2 distutils-r1

DESCRIPTION="Python extensions for TDE"
HOMEPAGE="https://trinitydesktop.org/"
LICENSE="GPL-2"
SLOT="0"
if [[ ${PV} != *9999* ]] ; then
	KEYWORDS="~amd64 ~arm64 ~x86"
fi
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

DEPEND="${PYTHON_DEPS}
	~dev-python/pytde-${PV}
"
RDEPEND="${DEPEND}"

TQBASE="/usr/tqt3"
TDEDIR="/usr/trinity/14"

src_compile() {
	local BUILD_DIR="${S}_${EPYTHON}"
	esetup.py build_libpythonize
	unset BUILD_DIR
	distutils-r1_src_compile
}

src_install() {
	distutils-r1_src_install
}