pentoo-overlay/app-misc/gplaycli/gplaycli-3.12.ebuild
2017-12-13 18:57:41 +08:00

28 lines
803 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="Google Play Downloader via Command line"
HOMEPAGE="https://github.com/matlink/gplaycli"
SRC_URI="https://github.com/matlink/gplaycli/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-python/protobuf-python[${PYTHON_USEDEP}]
dev-python/gpapi[${PYTHON_USEDEP}]
dev-python/pyaxmlparser[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
python_prepare_all() {
# disarm pycrypto dep to allow || ( pycryptodome pycrypto )
sed -i -e "s|os.path.expanduser('~')+'/.config/|'/etc/|" setup.py || die
distutils-r1_python_prepare_all
}