src_prepare-overlay/dev-python/itunespy/itunespy-9999.ebuild
XGQT d4dec1930f
dev-python/itunespy: add version 1.5.3 and 9999
Package-Manager: Portage-2.3.89, Repoman-2.3.20
2020-03-21 23:36:55 +01:00

30 lines
624 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="A simple library to fetch data from the iTunes Store API"
HOMEPAGE="https://github.com/sleepyfran/itunespy"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/sleepyfran/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/sleepyfran/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
"