Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
53fa83d940 | |||
dd8fbc240b | |||
3cbda5a2aa | |||
8de47a3c60 | |||
d295c4a4d1 | |||
f0009e76d0 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:85797f8c99ca240c43130dbd3b51b85d7772735164d4299f9b453b98bf84559a
|
|
||||||
size 51744
|
|
3
abimap-0.4.0.tar.gz
Normal file
3
abimap-0.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:883caf8e42ad1daecae058a294b769df48b3234df81084b6f7cc80b4bcef5c3b
|
||||||
|
size 59733
|
@@ -1,3 +1,35 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 14 08:23:49 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.4.0
|
||||||
|
* Fixed Makefile clean targets to properly handle both files and directories
|
||||||
|
* Updated build system to use modern ``python -m build`` instead of
|
||||||
|
deprecated ``python setup.py`` commands
|
||||||
|
* Fixed linting target to use ``python -m flake8`` for better reliability
|
||||||
|
* Added flake8 to development dependencies and requirements-test.txt
|
||||||
|
* Fixed documentation build by adding Sphinx dependencies and using
|
||||||
|
``python -m sphinx``
|
||||||
|
* Made Makefile portable by using dynamic make command detection with
|
||||||
|
``$(shell command -v make)``
|
||||||
|
* Updated development dependencies to include build tools (build, sphinx,
|
||||||
|
sphinx-rtd-theme, watchdog)
|
||||||
|
* Made documentation linkcheck non-fatal to handle broken external
|
||||||
|
links gracefully
|
||||||
|
* Improved development workflow with proper dependency management
|
||||||
|
- Use Python 3.11 on SLE-15 by default
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 16 12:09:03 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 22 00:59:09 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
- Explicitly BuildRequire sphinx_rtd_theme.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 9 12:46:25 UTC 2021 - pgajdos@suse.com
|
Thu Dec 9 12:46:25 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-abimap
|
# spec file for package python-abimap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,23 +15,24 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%bcond_without libalternatives
|
||||||
Name: python-abimap
|
Name: python-abimap
|
||||||
Version: 0.3.2
|
Version: 0.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A helper for library maintainers to use symbol versioning
|
Summary: A helper for library maintainers to use symbol versioning
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/ansasaki/abimap
|
URL: https://github.com/ansasaki/abimap
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/abimap/abimap-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/abimap/abimap-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Sphinx}
|
BuildRequires: %{python_module Sphinx}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module sphinx_rtd_theme}
|
||||||
|
BuildRequires: alts
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: alts
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun):update-alternatives
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module PyYAML}
|
BuildRequires: %{python_module PyYAML}
|
||||||
@@ -49,7 +50,6 @@ exported symbols and update the symbol version linker script accordingly.
|
|||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Symbol versioning helper (Documentation)
|
Summary: Symbol versioning helper (Documentation)
|
||||||
Group: Documentation/HTML
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Documentation for the symbol versioning helper %{name}
|
Documentation for the symbol versioning helper %{name}
|
||||||
@@ -60,13 +60,13 @@ Documentation for the symbol versioning helper %{name}
|
|||||||
sed -i 's:pytest-runner::' setup.py
|
sed -i 's:pytest-runner::' setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
PYTHONPATH=${PWD}/src:${PWD}/tests sphinx-build docs html
|
PYTHONPATH=${PWD}/src:${PWD}/tests sphinx-build docs html
|
||||||
PYTHONPATH=${PWD}/src:${PWD}/tests sphinx-build -E -b man docs man
|
PYTHONPATH=${PWD}/src:${PWD}/tests sphinx-build -E -b man docs man
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
|
|
||||||
rm -rf html/.{doctrees,buildinfo}
|
rm -rf html/.{doctrees,buildinfo}
|
||||||
|
|
||||||
@@ -82,18 +82,16 @@ install -m 0644 man/abimap.1 %{buildroot}%{_mandir}/man1/
|
|||||||
%make_build -j1 -C tests ABIMAP_NAME_VERSION="abimap-%{version}" ABIMAP_VERSION="%{version}"
|
%make_build -j1 -C tests ABIMAP_NAME_VERSION="abimap-%{version}" ABIMAP_VERSION="%{version}"
|
||||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:${PWD}/tests py.test-%{$python_version} -vv tests -k 'not test_main'
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:${PWD}/tests py.test-%{$python_version} -vv tests -k 'not test_main'
|
||||||
|
|
||||||
%post
|
%pre
|
||||||
%python_install_alternative abimap abimap.1
|
%python_libalternatives_reset_alternative abimap
|
||||||
|
|
||||||
%postun
|
|
||||||
%python_uninstall_alternative abimap
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%python_alternative %{_bindir}/abimap
|
%python_alternative %{_bindir}/abimap
|
||||||
%python_alternative %{_mandir}/man1/abimap.1%{?ext_man}
|
%python_alternative %{_mandir}/man1/abimap.1%{?ext_man}
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/abimap
|
||||||
|
%{python_sitelib}/abimap-%{version}.dist-info
|
||||||
|
|
||||||
%files %{python_files doc}
|
%files %{python_files doc}
|
||||||
%doc html
|
%doc html
|
||||||
|
Reference in New Issue
Block a user