Accepting request 1193969 from X11:Cinnamon:Factory

OBS-URL: https://build.opensuse.org/request/show/1193969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xapp?expand=0&rev=11
This commit is contained in:
Ana Guerrero 2024-08-19 21:45:01 +00:00 committed by Git OBS Bridge
commit 12d1335805
5 changed files with 47 additions and 9 deletions

3
python-xapp-2.4.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:39e4c3f06732e9d197b9aed31444653da2976c1d66dded870b52cc9782f2237d
size 21482

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Mon Aug 12 09:31:36 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- 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 <dimstar@opensuse.org> Thu May 16 15:07:15 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -16,17 +16,16 @@
# #
%define skip_python2 1 %define skip_python2 1
%define _name python3-xapp %define _name python3-xapp
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-xapp Name: python-xapp
Version: 2.2.1 Version: 2.4.2
Release: 0 Release: 0
Summary: Python XApp library Summary: Python XApp library
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Development/Languages/Python
URL: https://github.com/linuxmint/python3-xapp 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. # PATCH-FEATURE-OPENSUSE python-xapp-xdgsu.patch -- Escalate privileges using xdg-su.
Patch0: python-xapp-xdgsu.patch Patch0: python-xapp-xdgsu.patch
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
@ -45,6 +44,9 @@ desktop environments and required to implement cross-DE solutions.
%prep %prep
%autosetup -p1 -n %{_name}-%{version} %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 %build
%python_build %python_build

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6dcba34e3de89bb3dfb1237a571f72a99b19fa73728205c38e38e9c6c945613d
size 20739

17
setup.py Normal file
View File

@ -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",
],
)