forked from pool/python-magicalimport
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:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f438049d94046cbeeae6b0d68a6ae7e29acdeb8aba77304ba5c041dc079ee6da
|
|
||||||
size 7891
|
|
||||||
3
magicalimport-0.9.2.tar.gz
Normal file
3
magicalimport-0.9.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c19344ff5a85eef1255ffdcc066ccd96c98c26642ad71ae9a0be500b90a8ae09
|
||||||
|
size 8636
|
||||||
@@ -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>
|
Mon Jun 2 08:07:49 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -15,15 +15,16 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-magicalimport
|
Name: python-magicalimport
|
||||||
Version: 0.9.1
|
Version: 0.9.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Importing Python modules by physical file path
|
Summary: Importing Python modules by physical file path
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/podhmo/magicalimport
|
URL: https://github.com/podhmo/magicalimport
|
||||||
Source: https://github.com/podhmo/magicalimport/archive/%{version}.tar.gz#/magicalimport-%{version}.tar.gz
|
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 pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@@ -46,15 +47,13 @@ export LANG=en_US.UTF-8
|
|||||||
%install
|
%install
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%{python_expand rm -r %{buildroot}%{$python_sitelib}/examples
|
|
||||||
%fdupes %{buildroot}%{$python_sitelib}
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst examples/
|
%doc README.md examples/
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/magicalimport*
|
%{python_sitelib}/magicalimport*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user