14
0

Accepting request 1297934 from home:glaubitz:branches:devel:languages:python

- Update to 0.9.2
  * Refactor: Consolidate packaging configuration to pyproject.toml (#21)
  * Drop support for Python < 3.10 (#22)
  * The command for running tests has been updated in both the
    CI workflow and the Makefile. (#24)
  * Fix: Ensure all tests pass in Makefile (#25)
  * docs: Update README to Markdown and expand content (#26)
  *  migrated the project to use hatch and hatchling. (#28)
  * chore: adjust Makefile
  * chore: bump version
- Drop command line to remove examples folder
- Rename README.rst to README.md in %doc section
- Update BuildRequries from pyproject.toml
- Use Python 3.11 on SLE-15 by default

OBS-URL: https://build.opensuse.org/request/show/1297934
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-magicalimport?expand=0&rev=6
This commit is contained in:
2025-08-07 16:08:01 +00:00
committed by Git OBS Bridge
parent cb8297d6ea
commit e95c4fe9b5
4 changed files with 26 additions and 9 deletions

View File

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

View File

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

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Aug 6 11:00:32 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.9.2
* Refactor: Consolidate packaging configuration to pyproject.toml (#21)
* Drop support for Python < 3.10 (#22)
* The command for running tests has been updated in both the
CI workflow and the Makefile. (#24)
* Fix: Ensure all tests pass in Makefile (#25)
* docs: Update README to Markdown and expand content (#26)
* migrated the project to use hatch and hatchling. (#28)
* chore: adjust Makefile
* chore: bump version
- Drop command line to remove examples folder
- Rename README.rst to README.md in %doc section
- Update BuildRequries from pyproject.toml
- Use Python 3.11 on SLE-15 by default
-------------------------------------------------------------------
Mon Jun 2 08:07:49 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -15,15 +15,16 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-magicalimport
Version: 0.9.1
Version: 0.9.2
Release: 0
Summary: Importing Python modules by physical file path
License: MIT
Group: Development/Languages/Python
URL: https://github.com/podhmo/magicalimport
Source: https://github.com/podhmo/magicalimport/archive/%{version}.tar.gz#/magicalimport-%{version}.tar.gz
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -46,15 +47,13 @@ export LANG=en_US.UTF-8
%install
export LANG=en_US.UTF-8
%pyproject_install
%{python_expand rm -r %{buildroot}%{$python_sitelib}/examples
%fdupes %{buildroot}%{$python_sitelib}
}
%check
%pytest
%files %{python_files}
%doc README.rst examples/
%doc README.md examples/
%license LICENSE
%{python_sitelib}/magicalimport*