17
0

10 Commits

Author SHA256 Message Date
643d292676 Accepting request 1282967 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1282967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Deprecated?expand=0&rev=15
2025-06-10 06:57:10 +00:00
783533a5cf - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=28
2025-06-05 06:05:43 +00:00
8676d0cc83 Accepting request 1242827 from devel:languages:python
- update to 1.2.18:
  * Fix #78: Fix configuration for Packit 1.0.0
  * Fix #79: Fix the configuration for the intersphinx mapping in
    the Sphinx documentation. See How to link to other
    documentation projects with Intersphinx.
  * Drop support for Python older than 3.7 in GitHub Actions.
  * Resolve Python 2.7 support issue introduced in v1.2.14 in
    sphinx.py.
  * Fix #69: Add extra_stacklevel argument for interoperating
    with other wrapper functions (refer to #68 for a concrete use
    case).
  * Fix #73: Update class method deprecation warnings for Python
    3.13.
  * Fix #75: Update GitHub workflows and fix development
    dependencies for Python 3.12.
  * Fix #66: discontinue TravisCI and AppVeyor due to end of free
    support.
  * Fix #60: return a correctly dedented docstring when long
    docstring are using the D212 or D213 format.
  * Add support for Python 3.11.
  * Drop support for Python older than 3.7 in build systems like
    pytest and tox, while ensuring the library remains
    production-compatible.
  * Update GitHub workflow to run in recent Python versions.
  * Fix #45: Change the signature of the
    :func:`~deprecated.sphinx.deprecated` decorator to reflect
    the valid use cases.
  * Fix #48: Fix versionadded and versionchanged decorators: do
    not return a decorator factory, but a Wrapt adapter.
  * Fix configuration for AppVeyor: simplify the test scripts and

OBS-URL: https://build.opensuse.org/request/show/1242827
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Deprecated?expand=0&rev=14
2025-02-04 17:09:59 +00:00
0aca093e0b - update to 1.2.18:
* Fix #78: Fix configuration for Packit 1.0.0
  * Fix #79: Fix the configuration for the intersphinx mapping in
    the Sphinx documentation. See How to link to other
    documentation projects with Intersphinx.
  * Drop support for Python older than 3.7 in GitHub Actions.
  * Resolve Python 2.7 support issue introduced in v1.2.14 in
    sphinx.py.
  * Fix #69: Add extra_stacklevel argument for interoperating
    with other wrapper functions (refer to #68 for a concrete use
    case).
  * Fix #73: Update class method deprecation warnings for Python
    3.13.
  * Fix #75: Update GitHub workflows and fix development
    dependencies for Python 3.12.
  * Fix #66: discontinue TravisCI and AppVeyor due to end of free
    support.
  * Fix #60: return a correctly dedented docstring when long
    docstring are using the D212 or D213 format.
  * Add support for Python 3.11.
  * Drop support for Python older than 3.7 in build systems like
    pytest and tox, while ensuring the library remains
    production-compatible.
  * Update GitHub workflow to run in recent Python versions.
  * Fix #45: Change the signature of the
    :func:`~deprecated.sphinx.deprecated` decorator to reflect
    the valid use cases.
  * Fix #48: Fix versionadded and versionchanged decorators: do
    not return a decorator factory, but a Wrapt adapter.
  * Fix configuration for AppVeyor: simplify the test scripts and

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=26
2025-02-03 13:20:01 +00:00
49b2ee8f87 Accepting request 1226488 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1226488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Deprecated?expand=0&rev=13
2024-11-27 21:04:52 +00:00
16445f8a9f Accepting request 1226267 from home:glaubitz:branches:devel:languages:python
- Update to 1.2.15
  * Resolve Python 2.7 support issue introduced in v1.2.14 in ``sphinx.py``.
  * Fix #69: Add ``extra_stacklevel`` argument for interoperating with
    other wrapper functions (refer to #68 for a concrete use case).
  * Fix #73: Update class method deprecation warnings for Python 3.13.
  * Fix #75: Update GitHub workflows and fix development dependencies for Python 3.12.
  * Fix #66: discontinue TravisCI and AppVeyor due to end of free support.
- Adjust upstream source name in spec file
- Drop fix-python3.13-ftbfs.patch, merged upstream

OBS-URL: https://build.opensuse.org/request/show/1226267
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=24
2024-11-26 11:23:03 +00:00
238fa9737d Accepting request 1202969 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1202969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Deprecated?expand=0&rev=12
2024-09-25 19:52:55 +00:00
dc87fa8849 Accepting request 1202945 from home:ecsos:python
- Fix build error under Leap.

OBS-URL: https://build.opensuse.org/request/show/1202945
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=22
2024-09-24 13:00:54 +00:00
56c459dbb7 Accepting request 1188992 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1188992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Deprecated?expand=0&rev=11
2024-07-24 13:32:56 +00:00
dae705cf64 Accepting request 1188977 from home:glaubitz:branches:devel:languages:python
- Cherry-pick upstream patch to fix build with Python 3.13
  * fix-python3.13-ftbfs.patch

OBS-URL: https://build.opensuse.org/request/show/1188977
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=20
2024-07-22 10:16:19 +00:00
2 changed files with 10 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 5 06:01:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Mon Feb 3 13:19:39 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-Deprecated
Version: 1.2.18
@@ -26,8 +25,10 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/tantale/deprecated
Source: https://files.pythonhosted.org/packages/source/d/deprecated/deprecated-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module wrapt >= 1.10}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -44,15 +45,10 @@ you can use the ``@deprecated`` decorator.
%setup -q -n deprecated-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
# Fix python-bytecode-inconsistent-mtime
pushd %{buildroot}%{python_sitelib}
find . -name '*.pyc' -exec rm -f '{}' ';'
python%python_bin_suffix -m compileall *.py ';'
popd
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -62,6 +58,6 @@ popd
%doc CHANGELOG.rst README.md
%license LICENSE.rst
%{python_sitelib}/deprecated
%{python_sitelib}/Deprecated-%{version}*-info
%{python_sitelib}/[Dd]eprecated-%{version}.dist-info
%changelog