Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d8caf011a0 | |||
| fcc33e926d | |||
| ad954e6139 | |||
| a4c35b6e2a |
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
3
vulture-2.13.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:78248bf58f5eaffcc2ade306141ead73f437339950f80045dce7f8b078e5a1aa
|
||||
size 57066
|
||||
Reference in New Issue
Block a user