summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-02-17 15:02:14 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-02-17 15:03:32 +0200
commit4246c3d00085df3d65dc10f693041ccf281150e1 (patch)
treeda3fcec884c1481b4e274f440ce02f3287fa435b /dev-python/casttube
parentx11-misc/py3status: add 3.49, drop 3.48 (diff)
downloadgentoo-4246c3d00085df3d65dc10f693041ccf281150e1.tar.gz
gentoo-4246c3d00085df3d65dc10f693041ccf281150e1.tar.bz2
gentoo-4246c3d00085df3d65dc10f693041ccf281150e1.zip
dev-python/casttube: EAPI=8, PEP517
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/casttube')
-rw-r--r--dev-python/casttube/casttube-0.2.1-r1.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/casttube/casttube-0.2.1-r1.ebuild b/dev-python/casttube/casttube-0.2.1-r1.ebuild
new file mode 100644
index 000000000000..6eb730533b4f
--- /dev/null
+++ b/dev-python/casttube/casttube-0.2.1-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="casttube provides a way to interact with the Youtube Chromecast api"
+HOMEPAGE="https://github.com/ur1katz/casttube"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
+
+src_prepare() {
+ sed -e '/data_files/d' -i setup.py || die
+ distutils-r1_src_prepare
+}