pentoo-overlay/app-misc/gplaycli/gplaycli-3.27.ebuild

29 lines
729 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} )
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"
#https://github.com/matlink/gplaycli/issues/241
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
>=dev-python/gpapi-0.4.4[${PYTHON_USEDEP}]
dev-python/protobuf-python[${PYTHON_USEDEP}]
dev-python/pyaxmlparser[${PYTHON_USEDEP}]"
src_prepare(){
sed -i "s|os.path.expanduser('~')+'/.config|'/etc|g" setup.py
eapply_user
}