[neon/neon-packaging/ytmusicapi/Neon/stable] debian: Neon/unstable

Carlos De Maine null at kde.org
Wed Jan 25 03:17:16 GMT 2023


Git commit 08406f7aa7cf4fa0a2dbfe686882e5f48b845e2f by Carlos De Maine.
Committed on 25/01/2023 at 03:17.
Pushed by carlosdem into branch 'Neon/stable'.

Neon/unstable

M  +6    -0    debian/changelog
M  +4    -1    debian/control
A  +31   -0    debian/patches/01-add-setup.cfg-for-outdated-setuptools
A  +1    -0    debian/patches/series
A  +4    -0    debian/watch

https://invent.kde.org/neon/neon-packaging/ytmusicapi/commit/08406f7aa7cf4fa0a2dbfe686882e5f48b845e2f

diff --git a/debian/changelog b/debian/changelog
index 4f25531..f569f5a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ytmusicapi (0.24.1-0neon) UNRELEASED; urgency=medium
+
+  * New release as required by audiotube
+
+ -- Carlos De Maine <carlosdemaine at gmail.com>  Tue, 20 Dec 2022 00:02:31 +0100
+
 ytmusicapi (0.22.0-0neon) UNRELEASED; urgency=medium
 
   * Initial package
diff --git a/debian/control b/debian/control
index 247e3b3..43e1168 100644
--- a/debian/control
+++ b/debian/control
@@ -6,9 +6,12 @@ Build-Depends:
  debhelper-compat (= 13),
  dh-python (>= 5.20211213~),
  pandoc,
+ pybuild-plugin-pyproject,
  python3-pkg-resources,
+ python3-all,
  python3-pytest <!nocheck>,
- python3-setuptools,
+ python3-requests,
+ python3-setuptools-scm,
  zip
 Build-Depends-Indep:
  python3
diff --git a/debian/patches/01-add-setup.cfg-for-outdated-setuptools b/debian/patches/01-add-setup.cfg-for-outdated-setuptools
new file mode 100644
index 0000000..c5ab403
--- /dev/null
+++ b/debian/patches/01-add-setup.cfg-for-outdated-setuptools
@@ -0,0 +1,31 @@
+--- /dev/null
++++ b/setup.cfg
+@@ -0,0 +1,28 @@
++# https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html
++[metadata]
++name = ytmusicapi
++version = 24.1
++description = [Unofficial API for YouTube Music]
++long_description = file: README.rst
++long_description_content_type = text/x-rst
++author = [sigma67]
++author_email = [ytmusicapi at gmail.com]
++license = [..]
++license_file = LICENSE
++url = [https://github.com/sigma67/ytmusicapi]
++download_url = [..]
++project_urls =
++    Documentation = [https://ytmusicapi.readthedocs.io]
++    Issue Tracker = [..]
++    Source Code = [https://github.com/sigma67/ytmusicapi]
++keywords = [..]
++classifiers = ["Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License"]
++platforms = any
++
++[options]
++python_requires = >=3.8
++install_requires = requests >= 2.22
++packages = find_namespace:
++#package_dir = [ytmusicapi]
++include_package_data = True
++zip_safe = False
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8f7477b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-add-setup.cfg-for-outdated-setuptools
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..aeae002
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%ytmusicapi-$1.tar.gz%" \
+   https://github.com/sigma67/ytmusicapi/tags \
+   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate


More information about the Neon-commits mailing list