From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1550635-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 571AC15800A
	for <garchives@archives.gentoo.org>; Wed, 30 Aug 2023 05:36:22 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 791752BC03C;
	Wed, 30 Aug 2023 05:36:21 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5C61D2BC03C
	for <gentoo-commits@lists.gentoo.org>; Wed, 30 Aug 2023 05:36:21 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5D14B335D77
	for <gentoo-commits@lists.gentoo.org>; Wed, 30 Aug 2023 05:36:20 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D1E9910E6
	for <gentoo-commits@lists.gentoo.org>; Wed, 30 Aug 2023 05:36:18 +0000 (UTC)
From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" <ceamac@gentoo.org>
Message-ID: <1693319728.b6d69cb7b14825c44a3e00b5ff4505656e520f55.ceamac@gentoo>
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/yewtube/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: media-sound/yewtube/Manifest media-sound/yewtube/metadata.xml media-sound/yewtube/yewtube-2.10.4.ebuild media-sound/yewtube/yewtube-9999.ebuild
X-VCS-Directories: media-sound/yewtube/
X-VCS-Committer: ceamac
X-VCS-Committer-Name: Viorel Munteanu
X-VCS-Revision: b6d69cb7b14825c44a3e00b5ff4505656e520f55
X-VCS-Branch: master
Date: Wed, 30 Aug 2023 05:36:18 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 778db350-3e02-424e-bbaa-803bfa8b9c61
X-Archives-Hash: f67b4d2c7fb172071ecab090ba76a553

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