pentoo-overlay/app-misc/gplaycli/gplaycli-3.21.ebuild
2018-03-20 15:58:31 +08:00

28 lines
811 B
Bash

# Copyright 1999-2018 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-0.4.2[${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
}