mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
29 lines
839 B
Bash
29 lines
839 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="Unofficial python api for google play"
|
|
HOMEPAGE="https://github.com/NoMore201/googleplay-api"
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
KEYWORDS="~amd64 ~x86"
|
|
SLOT="0"
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
|
|
dev-python/clint[${PYTHON_USEDEP}]
|
|
dev-python/protobuf-python[${PYTHON_USEDEP}]
|
|
|| ( dev-python/pycryptodome[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )"
|
|
DEPEND="${RDEPEND}
|
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
|
|
python_prepare_all() {
|
|
# disarm pycryptodome dep to allow || ( pycryptodome pycrypto )
|
|
sed -i -e "s|'pycryptodome',||" setup.py || die
|
|
distutils-r1_python_prepare_all
|
|
}
|