Package: python-aiopyarr / 23.4.0-2

fix-python-package-version.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Fix python package version
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2024-08-14

Index: python-aiopyarr/setup.py
===================================================================
--- python-aiopyarr.orig/setup.py
+++ python-aiopyarr/setup.py
@@ -1,4 +1,5 @@
 """The setup script."""
+import os
 from setuptools import find_packages, setup
 
 with open("README.md") as readme_file:
@@ -6,7 +7,7 @@ with open("README.md") as readme_file:
 
 setup(
     name="aiopyarr",
-    version="master",
+    version=os.environ.get('OSLO_PACKAGE_VERSION'),
     author="Robert Hillis",
     author_email="tkdrob4390@yahoo.com",
     description="An Asynchronous Lidarr, Radarr, Readarr, Sonarr APIs for Python.",