Skip to content

Commit

Permalink
dev-python/itunespy: new package; add version 1.6
Browse files Browse the repository at this point in the history
Bug: deepjyoti30/ytmdl#222
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
  • Loading branch information
xgqt committed Apr 4, 2022
1 parent b2af99e commit ce657e8
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-python/itunespy/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST itunespy-1.6.tar.gz 9724 BLAKE2B c46ccfd00a3dec1772499d3299dae7c20355628176db4e660aca0b2b819b81423ac78ce55319c822c15e1c4bf0641c2fc3c4d9ba94dafad1ffdeb503be4f76f9 SHA512 d91428e23a71bdbc62e6b8126b379aa48f06a365056147cf30eb4fa6132243d35c8a8d6dc536174a53f206bf7bcb4dcebb5a3697fac0fd88cbcb38205202ad81
Original file line number Diff line number Diff line change
@@ -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
27 changes: 27 additions & 0 deletions dev-python/itunespy/itunespy-1.6.ebuild
Original file line number Diff line number Diff line change
@@ -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 )
13 changes: 13 additions & 0 deletions dev-python/itunespy/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>xgqt@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>

0 comments on commit ce657e8

Please sign in to comment.