17
0

6 Commits

Author SHA256 Message Date
6dfd930359 Accepting request 1303006 from science
OBS-URL: https://build.opensuse.org/request/show/1303006
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybind11-stubgen?expand=0&rev=5
2025-09-08 07:57:21 +00:00
77680ff303 - Update to version 2.5.5
* Fix the type annotation for __all__
  * Handle boolean numpy arrays
  * Fix qualname prefix in pybind11 3.0.0
- Update to version 2.5.4
  * Add argv to main() to simplify use as a library
  * Improve package detection
- Update to version 2.5.3
  * Ignore technical dunder Python 3.13 fields
    (__static_attributes__ and __firstlineno__)
  For details, see
  https://github.com/sizmailov/pybind11-stubgen/releases
- Update to version 2.5.1
  For details, see
  https://github.com/sizmailov/pybind11-stubgen/releases

OBS-URL: https://build.opensuse.org/package/show/science/python-pybind11-stubgen?expand=0&rev=9
2025-09-06 12:16:22 +00:00
0a3eeca88f Accepting request 1291677 from science
OBS-URL: https://build.opensuse.org/request/show/1291677
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybind11-stubgen?expand=0&rev=4
2025-07-10 20:13:50 +00:00
2fcdf47c24 - Add %{?sle15_python_module_pythons}
OBS-URL: https://build.opensuse.org/package/show/science/python-pybind11-stubgen?expand=0&rev=7
2025-07-10 11:59:05 +00:00
cba7ffdeeb Accepting request 1286673 from science
OBS-URL: https://build.opensuse.org/request/show/1286673
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybind11-stubgen?expand=0&rev=3
2025-06-18 15:58:42 +00:00
0ae8c99664 - Use pyproject macros to build and install.
OBS-URL: https://build.opensuse.org/package/show/science/python-pybind11-stubgen?expand=0&rev=5
2025-06-18 12:03:02 +00:00
4 changed files with 48 additions and 12 deletions

View File

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

View File

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

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Fri Aug 29 16:15:17 UTC 2025 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 2.5.5
* Fix the type annotation for __all__
* Handle boolean numpy arrays
* Fix qualname prefix in pybind11 3.0.0
- Update to version 2.5.4
* Add argv to main() to simplify use as a library
* Improve package detection
- Update to version 2.5.3
* Ignore technical dunder Python 3.13 fields
(__static_attributes__ and __firstlineno__)
For details, see
https://github.com/sizmailov/pybind11-stubgen/releases
-------------------------------------------------------------------
Fri Aug 29 16:02:17 UTC 2025 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 2.5.1
For details, see
https://github.com/sizmailov/pybind11-stubgen/releases
-------------------------------------------------------------------
Fri Jun 20 13:03:32 UTC 2025 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Wed Jun 18 04:41:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Use pyproject macros to build and install.
-------------------------------------------------------------------
Fri Jan 27 06:56:26 UTC 2023 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pybind11-stubgen
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,19 +18,21 @@
%define pypiname pybind11-stubgen
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-%{pypiname}
Version: 0.12.0
Version: 2.5.5
Release: 0
Summary: PEP 561 type stubs generator for pybind11 modules
License: BSD-3-Clause
URL: https://github.com/sizmailov/pybind11-stubgen
Source: https://pypi.io/packages/source/p/%{pypiname}/%{pypiname}-%{version}.tar.gz
Source: https://github.com/sizmailov/pybind11-stubgen/archive/refs/tags/v%{version}.tar.gz#/%{pypiname}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -43,10 +45,10 @@ specifically modules compiled using pybind11
%setup -q -n %{pypiname}-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/pybind11-stubgen
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -61,9 +63,10 @@ specifically modules compiled using pybind11
# pytest does not produce anything useful
%files %{python_files}
%doc README.rst
%doc README.md
%license LICENSE
%python_alternative %{_bindir}/pybind11-stubgen
%{python_sitelib}/pybind11_stubgen*
%{python_sitelib}/pybind11_stubgen
%{python_sitelib}/pybind11_stubgen-%{version}.dist-info
%changelog