blob: e2dc4187683f0eb022ce426ae53d24f41771eed3 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="Create standalone executables from Python scripts"
HOMEPAGE="
https://cx-freeze.readthedocs.io/
https://github.com/marcelotduarte/cx_Freeze/
https://pypi.org/project/cx-Freeze/
"
SRC_URI="
https://github.com/marcelotduarte/cx_Freeze/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="PYTHON"
SLOT="0"
KEYWORDS="amd64 x86"
RDEPEND="
dev-python/importlib-metadata[${PYTHON_USEDEP}]
dev-util/patchelf
virtual/libcrypt:=
$(python_gen_cond_dep '
dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
' 3.8)
"
BDEPEND="
test? (
dev-python/bcrypt[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/openpyxl[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
)
"
PATCHES=(
# bug #491602
"${FILESDIR}/${PN}-6.8.2-buildsystem.patch"
)
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# new setuptools?
tests/test_command_bdist_rpm.py::test_bdist_rpm
)
|