12
0

Compare commits

7 Commits

Author SHA256 Message Date
51ee84b03e Accepting request 1298367 from devel:languages:python
Forwarded request #1298162 from glaubitz

- Update to 2.1.0
    * support python 3.12
    * feat(compat): remove old python2 compatibility code
  - Adjust upstream source name in spec file
  - Use Python 3.11 on SLE-15 by default

OBS-URL: https://build.opensuse.org/request/show/1298367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-logilab-common?expand=0&rev=15
2025-08-08 13:13:49 +00:00
4511ec0898 Accepting request 1298162 from home:glaubitz:branches:devel:languages:python
- Update to 2.1.0
  * support python 3.12
  * feat(compat): remove old python2 compatibility code
- Adjust upstream source name in spec file
- Use Python 3.11 on SLE-15 by default

OBS-URL: https://build.opensuse.org/request/show/1298162
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-logilab-common?expand=0&rev=72
2025-08-08 10:50:41 +00:00
80d548a2f6 Accepting request 1291592 from devel:languages:python
- Switch to pyproject macros.
- Sprinkle in fdupes.
- No more greedy globs in %files.
- Add Requires that are needed.
- Fix changelog issues.

OBS-URL: https://build.opensuse.org/request/show/1291592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-logilab-common?expand=0&rev=14
2025-07-10 20:12:05 +00:00
620c5fd279 Fix Requires harder
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-logilab-common?expand=0&rev=70
2025-07-10 05:39:34 +00:00
17ce149ef6 - Switch to pyproject macros.
- Sprinkle in fdupes.
- No more greedy globs in %files.
- Add Requires that are needed.
- Fix changelog issues.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-logilab-common?expand=0&rev=69
2025-07-10 02:08:00 +00:00
40d03674f2 Accepting request 1226928 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1226928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-logilab-common?expand=0&rev=13
2024-11-27 21:15:36 +00:00
b2a87232fe - update to 2.0.0:
* drop python 2.x support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-logilab-common?expand=0&rev=67
2024-11-20 15:03:28 +00:00
4 changed files with 45 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:95697aeb9e276ce04279cdb8889ec618a11c632fe06039fdc0c8a5dcf3ea5a49
size 206834

View File

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

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Thu Aug 7 14:22:57 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.1.0
* support python 3.12
* feat(compat): remove old python2 compatibility code
- Adjust upstream source name in spec file
- Use Python 3.11 on SLE-15 by default
-------------------------------------------------------------------
Thu Jul 10 05:39:07 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- Sprinkle in fdupes.
- No more greedy globs in %files.
- Add Requires that are needed.
- Fix changelog issues.
-------------------------------------------------------------------
Wed Nov 20 15:02:10 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.0.0:
* drop python 2.x support
-------------------------------------------------------------------
Sat Jan 20 19:35:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
@@ -808,4 +832,3 @@ Sun Jul 17 15:16:36 CEST 2005 - garloff@suse.de
- Initial creation of package python-logilab-common 0.10.0.
-------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-logilab-common
#
# Copyright (c) 2024 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
@@ -15,18 +15,22 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-logilab-common
Version: 1.11.0
Version: 2.1.0
Release: 0
Summary: Python lowlevel functionality shared by logilab projects
License: LGPL-2.1-or-later
Group: Development/Languages/Python
URL: https://logilab-common.readthedocs.io/
Source: https://files.pythonhosted.org/packages/source/l/logilab-common/logilab-common-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/l/logilab_common/logilab_common-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-mypy_extensions
Requires: python-setuptools
Requires: python-typing_extensions
BuildArch: noarch
%python_subpackages
@@ -42,18 +46,22 @@ instance, logilab.common.db will require a db-api 2.0 compliant
database driver.
%prep
%setup -q -n logilab-common-%{version}
%setup -q -n logilab_common-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
rm -f %{buildroot}%{_bindir}/logilab-pytest
%files %{python_files}
%license COPYING COPYING.LESSER
%doc ChangeLog README.rst
%{python_sitelib}/*
%dir %{python_sitelib}/logilab
%{python_sitelib}/logilab/common
%{python_sitelib}/logilab_common-%{version}-*-nspkg.pth
%{python_sitelib}/logilab_common-%{version}.dist-info
%changelog