Compare commits

4 Commits

Author SHA256 Message Date
d8caf011a0 Accepting request 1288114 from devel:languages:python
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1288114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-vulture?expand=0&rev=13
2025-06-24 18:50:48 +00:00
fcc33e926d - Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vulture?expand=0&rev=28
2025-06-24 02:57:07 +00:00
ad954e6139 Accepting request 1221496 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1221496
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-vulture?expand=0&rev=12
2024-11-06 15:51:30 +00:00
a4c35b6e2a Accepting request 1221459 from home:glaubitz:branches:devel:languages:python
- Update to 2.13
  * Add support for Python 3.13 (Jendrik Seipp, #369).
  * Add PyPI and conda-forge badges to README file (Trevor James Smith, #356).
  * Include `tests/**/*.toml` in sdist (Colin Watson).
- from version 2.12
  * Use `ruff` for linting and formatting (Anh Trinh, #347, #349).
  * Replace `tox` by `pre-commit` for linting and formatting (Anh Trinh, #349).
  * Add `--config` flag to specify path to pyproject.toml configuration file
    (Glen Robertson, #352).

OBS-URL: https://build.opensuse.org/request/show/1221459
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vulture?expand=0&rev=26
2024-11-05 15:34:16 +00:00
4 changed files with 31 additions and 15 deletions

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Tue Jun 24 02:55:57 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Tue Nov 5 14:17:11 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.13
* Add support for Python 3.13 (Jendrik Seipp, #369).
* Add PyPI and conda-forge badges to README file (Trevor James Smith, #356).
* Include `tests/**/*.toml` in sdist (Colin Watson).
- from version 2.12
* Use `ruff` for linting and formatting (Anh Trinh, #347, #349).
* Replace `tox` by `pre-commit` for linting and formatting (Anh Trinh, #349).
* Add `--config` flag to specify path to pyproject.toml configuration file
(Glen Robertson, #352).
-------------------------------------------------------------------
Sun Jan 21 11:11:02 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-vulture
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,27 +18,23 @@
%{?sle15_python_module_pythons}
Name: python-vulture
Version: 2.11
Version: 2.13
Release: 0
Summary: Python module for finding dead code
License: MIT
Group: Development/Languages/Python
URL: https://github.com/jendrikseipp/vulture
Source: https://files.pythonhosted.org/packages/source/v/vulture/vulture-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Pint
Requires: python-tomli
Requires: python-typing-extensions
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest > 3.2.3}
BuildRequires: %{python_module Pint}
BuildRequires: %{python_module tomli}
BuildRequires: %{python_module typing-extensions}
# /SECTION
%python_subpackages
@@ -65,10 +61,10 @@ Features:
sed -i -e '/^#! \//, 1d' vulture/core.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/vulture
@@ -87,6 +83,7 @@ rm setup.cfg
%doc CHANGELOG.md README.md
%license LICENSE.txt
%python_alternative %{_bindir}/vulture
%{python_sitelib}/*
%{python_sitelib}/vulture
%{python_sitelib}/vulture-%{version}.dist-info
%changelog

View File

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

3
vulture-2.13.tar.gz Normal file
View File

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