commit: ce657e8afc6609d8fda3b29f1d9f2ff9181607c0 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Sun Apr 3 20:49:13 2022 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Mon Apr 4 15:47:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce657e8a
dev-python/itunespy: new package; add version 1.6 Bug: https://github.com/deepjyoti30/ytmdl/issues/222 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-python/itunespy/Manifest | 1 + .../itunespy-1.6-setup.cfg-description_file.patch | 9 ++++++++ dev-python/itunespy/itunespy-1.6.ebuild | 27 ++++++++++++++++++++++ dev-python/itunespy/metadata.xml | 13 +++++++++++ 4 files changed, 50 insertions(+) diff --git a/dev-python/itunespy/Manifest b/dev-python/itunespy/Manifest new file mode 100644 index 000000000000..eaf9e6ec9e6c --- /dev/null +++ b/dev-python/itunespy/Manifest @@ -0,0 +1 @@ +DIST itunespy-1.6.tar.gz 9724 BLAKE2B c46ccfd00a3dec1772499d3299dae7c20355628176db4e660aca0b2b819b81423ac78ce55319c822c15e1c4bf0641c2fc3c4d9ba94dafad1ffdeb503be4f76f9 SHA512 d91428e23a71bdbc62e6b8126b379aa48f06a365056147cf30eb4fa6132243d35c8a8d6dc536174a53f206bf7bcb4dcebb5a3697fac0fd88cbcb38205202ad81 diff --git a/dev-python/itunespy/files/itunespy-1.6-setup.cfg-description_file.patch b/dev-python/itunespy/files/itunespy-1.6-setup.cfg-description_file.patch new file mode 100644 index 000000000000..5c65eeb354b7 --- /dev/null +++ b/dev-python/itunespy/files/itunespy-1.6-setup.cfg-description_file.patch @@ -0,0 +1,9 @@ +index 224a779..0f94f37 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -1,2 +1,2 @@ + [metadata] +-description-file = README.md +\ No newline at end of file ++description_file = README.md +\ No newline at end of file diff --git a/dev-python/itunespy/itunespy-1.6.ebuild b/dev-python/itunespy/itunespy-1.6.ebuild new file mode 100644 index 000000000000..922c1e48abf7 --- /dev/null +++ b/dev-python/itunespy/itunespy-1.6.ebuild @@ -0,0 +1,27 @@ +# 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 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" +else + SRC_URI="https://github.com/sleepyfran/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}"/${P}-setup.cfg-description_file.patch ) diff --git a/dev-python/itunespy/metadata.xml b/dev-python/itunespy/metadata.xml new file mode 100644 index 000000000000..f449f0046a80 --- /dev/null +++ b/dev-python/itunespy/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>x...@gentoo.org</email> + <name>Maciej Barć</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/sleepyfran/itunespy/issues/</bugs-to> + <remote-id type="github">sleepyfran/itunespy</remote-id> + </upstream> +</pkgmetadata>