[gentoo-commits] repo/gentoo:master commit in: net-misc/ytmdl/files/

2023-04-04 Thread Maciej Barć
commit: fe6896138ad0a2f578c7918dc23394b24d51527f
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Apr  4 16:19:07 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Tue Apr  4 16:27:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe689613

net-misc/ytmdl: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/30474
Signed-off-by: Maciej Barć  gentoo.org>

 .../files/ytmdl-2022.3.16-setup.py-beautifulsoup4.patch  | 12 
 1 file changed, 12 deletions(-)

diff --git a/net-misc/ytmdl/files/ytmdl-2022.3.16-setup.py-beautifulsoup4.patch 
b/net-misc/ytmdl/files/ytmdl-2022.3.16-setup.py-beautifulsoup4.patch
deleted file mode 100644
index c87655a7cdca..
--- a/net-misc/ytmdl/files/ytmdl-2022.3.16-setup.py-beautifulsoup4.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-index 4a50f0f..6decdd4 100755
 a/setup.py
-+++ b/setup.py
-@@ -16,7 +16,7 @@ req_pkgs = [
- 'itunespy',
- 'requests',
- 'colorama',
--'bs4',
-+'beautifulsoup4',
- 'downloader-cli',
- 'pyxdg',
- 'ffmpeg-python',



[gentoo-commits] repo/gentoo:master commit in: net-misc/ytmdl/files/, net-misc/ytmdl/

2022-04-05 Thread Maciej Barć
commit: 06c15415081276f34ed569c4735e021222b4f698
Author: Maciej Barć  gentoo  org>
AuthorDate: Sun Apr  3 22:41:21 2022 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Tue Apr  5 14:01:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c15415

net-misc/ytmdl: new package; add version 2022.3.16

Bug: https://github.com/deepjyoti30/ytmdl/issues/222
Signed-off-by: Maciej Barć  gentoo.org>

 net-misc/ytmdl/Manifest|  1 +
 .../ytmdl-2022.3.16-setup.py-beautifulsoup4.patch  | 12 ++
 net-misc/ytmdl/metadata.xml| 13 ++
 net-misc/ytmdl/ytmdl-2022.3.16.ebuild  | 47 ++
 4 files changed, 73 insertions(+)

diff --git a/net-misc/ytmdl/Manifest b/net-misc/ytmdl/Manifest
new file mode 100644
index ..727877db8126
--- /dev/null
+++ b/net-misc/ytmdl/Manifest
@@ -0,0 +1 @@
+DIST ytmdl-2022.3.16.tar.gz 51115 BLAKE2B 
504d0d0de299c8989bb289769cd43645199a7f47b683885efc6eafde5643ed070cc66eeaf7b1c8f42d547b25f830c3bd8feb9abc0124b28d4d1900e5cf785c9d
 SHA512 
5ad67fb981d5f3ea42d2f097cecf982f0971e824c5971aa8fbc664303f436c623ab03a9f0e31dba060b27eb7eb57b88452ba1ede9eb3385dc6acead9fa43e0d0

diff --git a/net-misc/ytmdl/files/ytmdl-2022.3.16-setup.py-beautifulsoup4.patch 
b/net-misc/ytmdl/files/ytmdl-2022.3.16-setup.py-beautifulsoup4.patch
new file mode 100644
index ..c87655a7cdca
--- /dev/null
+++ b/net-misc/ytmdl/files/ytmdl-2022.3.16-setup.py-beautifulsoup4.patch
@@ -0,0 +1,12 @@
+index 4a50f0f..6decdd4 100755
+--- a/setup.py
 b/setup.py
+@@ -16,7 +16,7 @@ req_pkgs = [
+ 'itunespy',
+ 'requests',
+ 'colorama',
+-'bs4',
++'beautifulsoup4',
+ 'downloader-cli',
+ 'pyxdg',
+ 'ffmpeg-python',

diff --git a/net-misc/ytmdl/metadata.xml b/net-misc/ytmdl/metadata.xml
new file mode 100644
index ..d985beeda195
--- /dev/null
+++ b/net-misc/ytmdl/metadata.xml
@@ -0,0 +1,13 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+
+  
+x...@gentoo.org
+Maciej Barć
+  
+  
+https://github.com/deepjyoti30/ytmdl/issues/
+deepjyoti30/ytmdl
+  
+

diff --git a/net-misc/ytmdl/ytmdl-2022.3.16.ebuild 
b/net-misc/ytmdl/ytmdl-2022.3.16.ebuild
new file mode 100644
index ..6874dc8933da
--- /dev/null
+++ b/net-misc/ytmdl/ytmdl-2022.3.16.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit bash-completion-r1 distutils-r1
+
+DESCRIPTION="Simple app to get songs from youtube in mp3 format"
+HOMEPAGE="https://ytmdl.deepjyoti30.dev/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   >=net-misc/yt-dlp-2022.3.8.2[${PYTHON_USEDEP}]
+   dev-python/PySocks[${PYTHON_USEDEP}]
+   dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+   dev-python/colorama[${PYTHON_USEDEP}]
+   dev-python/ffmpeg-python[${PYTHON_USEDEP}]
+   dev-python/itunespy[${PYTHON_USEDEP}]
+   dev-python/pyDes[${PYTHON_USEDEP}]
+   dev-python/python-musicbrainzngs[${PYTHON_USEDEP}]
+   dev-python/pyxdg[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/rich[${PYTHON_USEDEP}]
+   dev-python/simber[${PYTHON_USEDEP}]
+   dev-python/spotipy[${PYTHON_USEDEP}]
+   dev-python/unidecode[${PYTHON_USEDEP}]
+   dev-python/urllib3[${PYTHON_USEDEP}]
+   dev-python/youtube-search-python[${PYTHON_USEDEP}]
+   dev-python/ytmusicapi[${PYTHON_USEDEP}]
+   media-libs/mutagen[${PYTHON_USEDEP}]
+   net-misc/downloader-cli[${PYTHON_USEDEP}]
+"
+
+PATCHES=( "${FILESDIR}"/${P}-setup.py-beautifulsoup4.patch )
+
+src_install() {
+   distutils-r1_src_install
+
+   newbashcomp ${PN}.bash ${PN}
+}