diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-02-21 17:15:15 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-02-22 22:18:54 +0000 |
commit | 6b027d018d8e3db04d8087891369934c994e9d43 (patch) | |
tree | ccb39e8fa9c1c5a79e2ea80d3bb844f50453d4af /media-sound/marrie | |
parent | media-sound/sonata: Port to python 3.{8,9} (diff) | |
download | gentoo-6b027d018d8e3db04d8087891369934c994e9d43.tar.gz gentoo-6b027d018d8e3db04d8087891369934c994e9d43.tar.bz2 gentoo-6b027d018d8e3db04d8087891369934c994e9d43.zip |
media-sound/marrie: Port to python 3.{8,9}
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound/marrie')
-rw-r--r-- | media-sound/marrie/marrie-0.4.ebuild | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/media-sound/marrie/marrie-0.4.ebuild b/media-sound/marrie/marrie-0.4.ebuild index 5e26f9cf5c9b..a1e727f450c9 100644 --- a/media-sound/marrie/marrie-0.4.ebuild +++ b/media-sound/marrie/marrie-0.4.ebuild @@ -4,35 +4,26 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_7 ) +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 -GIT_ECLASS="" -if [[ ${PV} = *9999* ]]; then - GIT_ECLASS="git-r3" +if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/rafaelmartins/${PN}.git" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" fi -inherit distutils-r1 ${GIT_ECLASS} - DESCRIPTION="A simple podcast client that runs on the Command Line Interface" HOMEPAGE="https://github.com/rafaelmartins/marrie" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -if [[ ${PV} = *9999* ]]; then - SRC_URI="" -else - KEYWORDS="~amd64 ~x86" -fi - LICENSE="BSD" SLOT="0" -IUSE="" RDEPEND="dev-python/feedparser[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" pkg_postinst() { - distutils-r1_pkg_postinst elog elog "You'll need a media player and a file downloader." elog "Recommended packages: net-misc/wget and media-video/mpv" |