public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Lind <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-tree-sitter-python] rawhide: Update to version 0.25.0; Resolves RHBZ#2394506
Date: Tue, 30 Jun 2026 17:51:28 GMT [thread overview]
Message-ID: <178284188842.1.10206794342935068408.rpms-rust-tree-sitter-python-63cdcc7890ea@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-tree-sitter-python
Branch : rawhide
Commit : 63cdcc7890ea2da1bb1e4d72929f5acedae61a5d
Author : Michel Lind <salimma@fedoraproject.org>
Date : 2026-06-30T15:16:55+01:00
Stats : +4/-63 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/rust-tree-sitter-python/c/63cdcc7890ea2da1bb1e4d72929f5acedae61a5d?branch=rawhide
Log:
Update to version 0.25.0; Resolves RHBZ#2394506
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index c6a4b71..e634be8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/tree-sitter-python-0.23.6.crate
+/tree-sitter-python-0.25.0.crate
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index ff8ed93..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2016 Max Brunsfeld
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/rust-tree-sitter-python.spec b/rust-tree-sitter-python.spec
index 5b63e1a..335d234 100644
--- a/rust-tree-sitter-python.spec
+++ b/rust-tree-sitter-python.spec
@@ -1,23 +1,17 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global debug_package %{nil}
%global crate tree-sitter-python
Name: rust-tree-sitter-python
-Version: 0.23.6
+Version: 0.25.0
Release: %autorelease
Summary: Python grammar for tree-sitter
License: MIT
URL: https://crates.io/crates/tree-sitter-python
Source: %{crates_source}
-# include license file
-# https://github.com/tree-sitter/tree-sitter-python/pull/296
-Source1: https://raw.githubusercontent.com/tree-sitter/%{crate}/refs/tags/v%{version}/LICENSE
-# Manually created patch for downstream crate metadata changes
-# * include LICENSE
-Patch: tree-sitter-python-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -55,8 +49,6 @@ use the "default" feature of the "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
-# copy in license file
-cp -p %{SOURCE1} .
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
deleted file mode 100644
index e58245c..0000000
--- a/rust2rpm.toml
+++ /dev/null
@@ -1,21 +0,0 @@
-[package]
-cargo-toml-patch-comments = [
- "include LICENSE",
-]
-license-files = [
- "LICENSE",
-]
-
-[[package.extra-sources]]
-number = 1
-file = "https://raw.githubusercontent.com/tree-sitter/%{crate}/refs/tags/v%{version}/LICENSE"
-comments = [
- "include license file",
- "https://github.com/tree-sitter/tree-sitter-python/pull/296",
-]
-
-[scripts]
-prep.post = ["""\
-# copy in license file
-cp -p %{SOURCE1} ."""]
-
diff --git a/sources b/sources
index c67d21e..96f04a7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tree-sitter-python-0.23.6.crate) = 9c57859f8a76bf676ceba0b5d0e1825bf0b3b500855934b30df346535ab49173a1f00c3bf858fca2a1f71cdaadb971e24b3985bcb90dda888018b6cbb451103a
+SHA512 (tree-sitter-python-0.25.0.crate) = db421d0b531c08f4abdf76d503ebfa5f8597d1f483be25aa1004201ad1713e0b35e03af0345c1e6a5f844aa58b7e7570ff5ed733c855b771de922c9a9efdd39f
diff --git a/tree-sitter-python-fix-metadata.diff b/tree-sitter-python-fix-metadata.diff
deleted file mode 100644
index 38e20e0..0000000
--- a/tree-sitter-python-fix-metadata.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- tree-sitter-python-0.23.6/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ tree-sitter-python-0.23.6/Cargo.toml 2025-01-30T13:31:02.471000+00:00
-@@ -19,6 +19,7 @@
- ]
- build = "bindings/rust/build.rs"
- include = [
-+ "LICENSE",
- "bindings/rust/*",
- "grammar.js",
- "queries/*",
reply other threads:[~2026-06-30 17:51 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=178284188842.1.10206794342935068408.rpms-rust-tree-sitter-python-63cdcc7890ea@fedoraproject.org \
--to=salimma@fedoraproject.org \
--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