public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-vulture] rawhide: Update to 2.16
Date: Wed, 05 Aug 2026 23:55:16 GMT [thread overview]
Message-ID: <178597411665.1.6499382611075044104.rpms-python-vulture-63bac02d269d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-vulture
Branch : rawhide
Commit : 63bac02d269dce1f0d530cd0c084f6f87edb8c07
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-05T20:54:04-03:00
Stats : +32/-25 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-vulture/c/63bac02d269dce1f0d530cd0c084f6f87edb8c07?branch=rawhide
Log:
Update to 2.16
Resolves: rhbz#2392570
Resolves: rhbz#2435035
Resolves: rhbz#2444716
Resolves: rhbz#2485979
Resolves: rhbz#2504595
---
diff --git a/.gitignore b/.gitignore
index f78bd67..72ffeea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,13 +1 @@
-/vulture-0.14.tar.gz
-/vulture-0.16.tar.gz
-/vulture-0.25.tar.gz
-/vulture-0.26.tar.gz
-/vulture-0.27.tar.gz
-/vulture-1.0.tar.gz
-/vulture-2.1.tar.gz
-/vulture-2.3.tar.gz
-/vulture-2.5.tar.gz
-/vulture-2.6.tar.gz
-/vulture-2.12.tar.gz
-/vulture-2.13.tar.gz
-/vulture-2.14.tar.gz
+/vulture-*.tar.gz
diff --git a/python-vulture.spec b/python-vulture.spec
index b12687e..73eaa5f 100644
--- a/python-vulture.spec
+++ b/python-vulture.spec
@@ -1,4 +1,8 @@
%global pypi_name vulture
+%global forgeurl https://github.com/jendrikseipp/vulture
+Version: 2.16
+%forgemeta
+
%global common_desc \
Vulture finds unused classes, functions and variables in your code. \
This helps you cleanup and find errors in your programs. If you run it \
@@ -9,32 +13,32 @@ implicitly may be reported as unused. Nonetheless, vulture can be a \
very helpful tool for higher code quality.
Name: python-%{pypi_name}
-Version: 2.14
Release: %autorelease
Summary: Find dead code
License: MIT
-URL: https://github.com/jendrikseipp/vulture
-Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
+URL: %{forgeurl}
+Source: %{forgesource}
+# Exclude dev directory from being packaged
+Patch: vulture-exclude-dev-packages.patch
BuildArch: noarch
%description
%{common_desc}
-%package -n python3-%{pypi_name}
+%package -n python3-%{pypi_name}
Summary: %{summary}
-%{?python_provide:%python_provide python3-%{pypi_name}}
BuildRequires: python3-devel
-BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(pint)
BuildRequires: python3dist(pytest)
BuildRequires: python3dist(pytest-cov)
-%description -n python3-%{pypi_name}
+
+%description -n python3-%{pypi_name}
%{common_desc}
%prep
-%autosetup -n %{pypi_name}-%{version}
+%autosetup %{forgesetupargs} -p1
sed -i '1{/^#!/d}' vulture/*.py
%generate_buildrequires
@@ -45,15 +49,14 @@ sed -i '1{/^#!/d}' vulture/*.py
%install
%pyproject_install
-
%pyproject_save_files -l %{pypi_name}
%check
+%pyproject_check_import -e 'vulture.whitelists*'
%pytest -v tests
-%files -n %files -n python3-%{pypi_name} -f %{pyproject_files}
+%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc CHANGELOG.md README.md
-%license LICENSE.txt
%{_bindir}/%{pypi_name}
%changelog
diff --git a/sources b/sources
index 27dc0a9..d3743b0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (vulture-2.14.tar.gz) = b15fba7ef5b3598f399dc85475d6f7f498d3c298946eae8bd2c1e6197c12c0036cb22156e4c00a1299c6d6e73f11372fd62de2f634aa895d09ef447087249477
+SHA512 (vulture-2.16.tar.gz) = 237376a2fa27bb178e098201d9f4bdde7439f71eb4e53d79afa1a7cbb7a6938a2fcb0325500ed9fc99080f7a1c3e4c9fe71ca926204e9a33f979f0e303907f42
diff --git a/vulture-exclude-dev-packages.patch b/vulture-exclude-dev-packages.patch
new file mode 100644
index 0000000..2f0b5bf
--- /dev/null
+++ b/vulture-exclude-dev-packages.patch
@@ -0,0 +1,16 @@
+# Exclude 'dev' directory from being discovered and installed as a Python package.
+# This prevents the helper scripts in dev/ from being installed into site-packages.
+# Author: Antigravity AI Coding Assistant <antigravity@google.com>
+# Upstream: Not yet submitted (created for Fedora packaging)
+diff -ur vulture-2.16.orig/pyproject.toml vulture-2.16/pyproject.toml
+--- vulture-2.16.orig/pyproject.toml 2024-06-25 12:00:00.000000000 +0200
++++ vulture-2.16/pyproject.toml 2026-08-05 20:53:00.000000000 +0200
+@@ -46,7 +46,7 @@
+ include-package-data = true
+
+ [tool.setuptools.packages.find]
+-exclude = ["tests", "tests.*"]
++exclude = ["tests", "tests.*", "dev", "dev.*"]
+
+ [tool.setuptools.package-data]
+ vulture = ["whitelists/*.py"]
reply other threads:[~2026-08-05 23:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178597411665.1.6499382611075044104.rpms-python-vulture-63bac02d269d@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox