pentoo-overlay/dev-python/pyinstaller/pyinstaller-3.6.ebuild
Yury Martynov 1689b49f50
dev-python/pyinstaller: bump 3.6
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Yury Martynov <email@linxon.ru>
2020-03-25 11:34:35 +03:00

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 )"