From 9f19e9634bee002b47a87f006ea175f2268f990c Mon Sep 17 00:00:00 2001 From: psykose Date: Sun, 23 Jun 2024 00:14:35 +0200 Subject: [PATCH] contrib/python-ytmusicapi: new package (1.7.3) --- contrib/python-ytmusicapi/template.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 contrib/python-ytmusicapi/template.py diff --git a/contrib/python-ytmusicapi/template.py b/contrib/python-ytmusicapi/template.py new file mode 100644 index 0000000000..60416c1bc2 --- /dev/null +++ b/contrib/python-ytmusicapi/template.py @@ -0,0 +1,23 @@ +pkgname = "python-ytmusicapi" +pkgver = "1.7.3" +pkgrel = 0 +build_style = "python_pep517" +hostmakedepends = [ + "python-build", + "python-installer", + "python-setuptools_scm", +] +depends = ["python-requests"] +checkdepends = ["python-pytest"] + depends +pkgdesc = "Python library for the Youtube Music API" +maintainer = "psykose " +license = "MIT" +url = "https://github.com/sigma67/ytmusicapi" +source = f"$(PYPI_SITE)/y/ytmusicapi/ytmusicapi-{pkgver}.tar.gz" +sha256 = "63de01e6b8729cc3ee1a09650c9ec6e4932857b577dd90724ae2e770fbd88d50" +# like all tests need net +options = ["!check"] + + +def post_install(self): + self.install_license("LICENSE")