From cff1f5e19797798b81dadcc16b95246e20f685df59736fcc246f07c8e83cbde7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 13 May 2025 12:56:16 +0000 Subject: [PATCH] Accepting request 1277093 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1277093 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-XStatic-jQuery?expand=0&rev=10 --- python-XStatic-jQuery.changes | 5 +++++ python-XStatic-jQuery.spec | 19 +++++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/python-XStatic-jQuery.changes b/python-XStatic-jQuery.changes index d44d77c..c63f0d0 100644 --- a/python-XStatic-jQuery.changes +++ b/python-XStatic-jQuery.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 13 09:32:45 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Sep 22 21:49:39 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-XStatic-jQuery.spec b/python-XStatic-jQuery.spec index 37c8e12..c614484 100644 --- a/python-XStatic-jQuery.spec +++ b/python-XStatic-jQuery.spec @@ -1,7 +1,7 @@ # # spec file for package python-XStatic-jQuery # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,18 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-XStatic-jQuery Version: 3.5.1.1 Release: 0 Summary: jQuery repackaged for the XStatic standard License: MIT -URL: http://jquery.com/ +URL: https://jquery.com/ Source: https://files.pythonhosted.org/packages/source/X/XStatic-jQuery/XStatic-jQuery-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros - %python_subpackages %description @@ -40,14 +40,17 @@ You can find more info about the xstatic packaging way in the package `XStatic`. %setup -q -n XStatic-jQuery-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%{python_sitelib}/* +%dir %{python_sitelib}/xstatic +%dir %{python_sitelib}/xstatic/pkg +%{python_sitelib}/xstatic/pkg/jquery +%{python_sitelib}/[Xx][Ss]tatic[-_]j[Qq]uery-%{version}*-info +%{python_sitelib}/[Xx][Ss]tatic[-_]j[Qq]uery-%{version}*nspkg.pth %changelog