From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/yewtube/
Date: Wed, 30 Aug 2023 05:36:18 +0000 (UTC) [thread overview]
Message-ID: <1693319728.b6d69cb7b14825c44a3e00b5ff4505656e520f55.ceamac@gentoo> (raw)
commit: b6d69cb7b14825c44a3e00b5ff4505656e520f55
Author: Gonçalo Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue Aug 29 14:29:58 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 14:35:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b6d69cb7
media-sound/yewtube: new package, add 2.10.4, 9999
Signed-off-by: Gonçalo Duarte <gonegrier.duarte <AT> gmail.com>
media-sound/yewtube/Manifest | 1 +
media-sound/yewtube/metadata.xml | 12 ++++++++++
media-sound/yewtube/yewtube-2.10.4.ebuild | 38 +++++++++++++++++++++++++++++++
media-sound/yewtube/yewtube-9999.ebuild | 38 +++++++++++++++++++++++++++++++
4 files changed, 89 insertions(+)
diff --git a/media-sound/yewtube/Manifest b/media-sound/yewtube/Manifest
new file mode 100644
index 0000000000..f28fea4267
--- /dev/null
+++ b/media-sound/yewtube/Manifest
@@ -0,0 +1 @@
+DIST v2.10.4.tar.gz 120377 BLAKE2B 5689de2d5e386aa13689c68c7be2a86fc61561070e432638e0f5076f31163b5d0ce746489a4d1be3d50c72de370a462e25abb8914b565e5c8d749d817cde4163 SHA512 9d6a40a63c4c4502280544832507d6ca4fd70acd901b6e0b42e619c154f26f6c5aca4279890572fe41a02d5ba7255278ad6574f987f0743412236c4a3ec28b1f
diff --git a/media-sound/yewtube/metadata.xml b/media-sound/yewtube/metadata.xml
new file mode 100644
index 0000000000..700b8188da
--- /dev/null
+++ b/media-sound/yewtube/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gonegrier.duarte@gmail.com</email>
+ <name>Gonçalo Negrier Duarte</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">mps-youtube</remote-id>
+ <remote-id type="github">mps-youtube/mps-youtube</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-sound/yewtube/yewtube-2.10.4.ebuild b/media-sound/yewtube/yewtube-2.10.4.ebuild
new file mode 100644
index 0000000000..e32f91cbd6
--- /dev/null
+++ b/media-sound/yewtube/yewtube-2.10.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..12} )
+inherit distutils-r1
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/mps-youtube/yewtube.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/mps-youtube/${PN}/archive/refs/tags/v${PV}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Terminal-based YouTube player and downloader"
+HOMEPAGE="https://github.com/mps-youtube/yewtube https://pypi.org/project/yewtube/"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ media-video/ffmpeg
+ dev-python/requests
+ dev-python/pyperclip
+ =net-misc/yt-dlp-2023.07.06
+ =dev-python/youtube-search-python-1.6.6
+ dev-python/pylast
+ || ( media-video/mplayer media-video/mpv )"
+
+src_compile() {
+ distutils-r1_src_compile --build-dir "${WORKDIR}/${P}"
+}
+
+src_install() {
+ distutils-r1_src_install --build-dir "${WORKDIR}/${P}"
+}
diff --git a/media-sound/yewtube/yewtube-9999.ebuild b/media-sound/yewtube/yewtube-9999.ebuild
new file mode 100644
index 0000000000..e47d14389d
--- /dev/null
+++ b/media-sound/yewtube/yewtube-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..12} )
+inherit distutils-r1
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/mps-youtube/yewtube.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/mps-youtube/${PN}/archive/refs/tags/v${PV}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Terminal-based YouTube player and downloader"
+HOMEPAGE="https://github.com/mps-youtube/yewtube https://pypi.org/project/yewtube/"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ media-video/ffmpeg
+ dev-python/requests
+ dev-python/pyperclip
+ net-misc/yt-dlp
+ dev-python/youtube-search-python
+ dev-python/pylast
+ || ( media-video/mplayer media-video/mpv )"
+
+src_compile() {
+ distutils-r1_src_compile --build-dir "${WORKDIR}/${P}"
+}
+
+src_install() {
+ distutils-r1_src_install --build-dir "${WORKDIR}/${P}"
+}
\ No newline at end of file
next reply other threads:[~2023-08-30 5:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-30 5:36 Viorel Munteanu [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-18 23:46 [gentoo-commits] repo/proj/guru:master commit in: media-sound/yewtube/ Haelwenn Monnier
2024-09-18 23:46 Haelwenn Monnier
2024-09-15 8:04 Haelwenn Monnier
2024-09-06 8:52 David Roman
2023-11-10 20:18 David Roman
2023-11-09 3:11 Haelwenn Monnier
2023-10-07 10:18 David Roman
2023-08-30 5:36 Viorel Munteanu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1693319728.b6d69cb7b14825c44a3e00b5ff4505656e520f55.ceamac@gentoo \
--to=ceamac@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox