mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-10 10:23:25 +01:00
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Yury Martynov <email@linxon.ru>
39 lines
1,013 B
Bash
39 lines
1,013 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{6,7} )
|
|
PYTHON_REQ_USE='threads(+)'
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Program converting Python programs into stand-alone executables"
|
|
HOMEPAGE="http://www.pyinstaller.org"
|
|
|
|
if [[ ${PV} == 9999 ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/pyinstaller/pyinstaller"
|
|
EGIT_BRANCH="develop"
|
|
else
|
|
MY_PN="PyInstaller"
|
|
MY_P="${MY_PN}-${PV}"
|
|
SRC_URI="https://github.com/pyinstaller/pyinstaller/releases/download/v${PV}/${MY_P}.tar.gz"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
fi
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
IUSE="clang debug doc leak-detector"
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
RDEPEND="${PYTHON_DEPS}
|
|
>=dev-python/macholib-1.8[${PYTHON_USEDEP}]
|
|
dev-python/altgraph[${PYTHON_USEDEP}]
|
|
>=dev-python/pefile-2018.08.08[${PYTHON_USEDEP}]"
|
|
DEPEND="${RDEPEND}
|
|
leak-detector? ( dev-libs/boehm-gc )
|
|
clang? ( sys-devel/clang )
|
|
!clang? ( sys-devel/gcc )"
|