diff --git a/python-xapp-2.4.2.tar.gz b/python-xapp-2.4.2.tar.gz new file mode 100644 index 0000000..564fcc9 --- /dev/null +++ b/python-xapp-2.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:39e4c3f06732e9d197b9aed31444653da2976c1d66dded870b52cc9782f2237d +size 21482 diff --git a/python-xapp.changes b/python-xapp.changes index f74cc4a..0ff7106 100644 --- a/python-xapp.changes +++ b/python-xapp.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Aug 12 09:31:36 UTC 2024 - Richard Rahl + +- update to 2.4.2: + * Make python installation configurable for distro packaging (meson) + * Revert "os.py: Add function to read the VERSION_CODENAME in /etc/os-release + * Revert "os.py: rename get_os_release_codename() + * os.py: rename get_os_release_codename() to get_os_release_info() + * os.py: Add function to read the VERSION_CODENAME in /etc/os-release +- update to 2.4.1: + * fix lintian error and build failure +- update to 2.4.0: + * Use access() to test readability of /proc/cmdline + * Use meson to build +- update to 2.2.2: + * scale widget: Add the units to the value instead of appending it to +- update spec file to newer standards, add the older setup.py, so we + can build it for multiple python versions + ------------------------------------------------------------------- Thu May 16 15:07:15 UTC 2024 - Dominique Leuenberger diff --git a/python-xapp.spec b/python-xapp.spec index f21c1c8..05dd4e6 100644 --- a/python-xapp.spec +++ b/python-xapp.spec @@ -16,17 +16,16 @@ # -%define skip_python2 1 -%define _name python3-xapp -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +%define _name python3-xapp Name: python-xapp -Version: 2.2.1 +Version: 2.4.2 Release: 0 Summary: Python XApp library License: GPL-2.0-or-later -Group: Development/Languages/Python URL: https://github.com/linuxmint/python3-xapp -Source: https://github.com/linuxmint/python3-xapp/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz +Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: setup.py # PATCH-FEATURE-OPENSUSE python-xapp-xdgsu.patch -- Escalate privileges using xdg-su. Patch0: python-xapp-xdgsu.patch BuildRequires: %{python_module devel} @@ -45,6 +44,9 @@ desktop environments and required to implement cross-DE solutions. %prep %autosetup -p1 -n %{_name}-%{version} +cp %{SOURCE1} . +# let's change the version in setup.py +sed -i 's|version = "0.0.0",|version = "%{version}",|g' setup.py %build %python_build diff --git a/python3-xapp-2.2.1.tar.gz b/python3-xapp-2.2.1.tar.gz deleted file mode 100644 index 6af9bf2..0000000 --- a/python3-xapp-2.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6dcba34e3de89bb3dfb1237a571f72a99b19fa73728205c38e38e9c6c945613d -size 20739 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..a5f5ad5 --- /dev/null +++ b/setup.py @@ -0,0 +1,17 @@ +#!/usr/bin/python + +from setuptools import setup + +setup( name = "python-xapp", + version = "0.0.0", + description = "Python Xapp Library", + maintainer = "Linux Mint", + maintainer_email = "root@linuxmint.com", + url = "http://github.com/linuxmint/python-xapp", + packages = ['xapp'], + classifiers = [ + "License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)", + "Programming Language :: Python :: 3", + "Topic :: Desktop Environment", + ], + )