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-interface-meta] rawhide: Update to 2.0.1 rhbz#2460501
Date: Sat, 07 Nov 2026 21:59:57 GMT	[thread overview]
Message-ID: <179408879724.1.6236072865691951750.rpms-python-interface-meta-b2d2d6ae1467@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-interface-meta
Branch : rawhide
Commit : b2d2d6ae1467c3b68874bae97baca3c283d0cb76
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-11-07T18:59:43-03:00
Stats  : +14/-6 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-interface-meta/c/b2d2d6ae1467c3b68874bae97baca3c283d0cb76?branch=rawhide

Log:
Update to 2.0.1 rhbz#2460501

---
diff --git a/.gitignore b/.gitignore
index aac4fc5..bdf5b95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /python-interface-meta-1.3.0.tar.gz
+/interface_meta-2.0.1.tar.gz

diff --git a/python-interface-meta.spec b/python-interface-meta.spec
index bb9a1f1..e4ee3fb 100644
--- a/python-interface-meta.spec
+++ b/python-interface-meta.spec
@@ -29,13 +29,13 @@ the parent API. As such, this library boasts the following features:
 }
 
 Name:           python-interface-meta
-Version:        1.3.0
+Version:        2.0.1
 Release:        %{autorelease}
 Summary:        Provides a convenient way to expose an extensible API
 
 License:        MIT
 URL:            https://github.com/matthewwardrop/interface_meta
-Source:         %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+Source:         %{url}/archive/v%{version}/interface_meta-%{version}.tar.gz
 
 BuildArch:      noarch
 
@@ -50,13 +50,20 @@ BuildRequires:  python3-pytest
 
 %prep
 %autosetup -n interface_meta-%{version}
-# upstream sets this to 0.0.0
-sed -i "s/^version =.*/version = \"%{version}\"/" pyproject.toml
+# tarball has no .git; replace VCS-derived version with a static one
+sed -i 's/^dynamic = \["version"\]/version = "%{version}"/' pyproject.toml
+sed -i '/^\[tool.hatch\.version\]/,+1d' pyproject.toml
+sed -i '/^\[tool.hatch\.build\.hooks\.vcs\]/,+1d' pyproject.toml
+# normally generated by the hatch-vcs hook
+cat > interface_meta/_version.py <<EOF
+__version__ = "%{version}"
+version = "%{version}"
+version_tuple = ("%{version}",)
+EOF
 
 %generate_buildrequires
 %pyproject_buildrequires
 
-
 %build
 %pyproject_wheel
 

diff --git a/sources b/sources
index fe43cb5..b18fa3b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-interface-meta-1.3.0.tar.gz) = 2f7df7b0332893ddb591e143d913b8a60aaf1defd1b92336d543a6f5f0cfec65179efb03f170bde2f8a3baa7788d0f2cd3b1ee05f284c199230f18a55d4c2016
+SHA512 (interface_meta-2.0.1.tar.gz) = 9537816f170db07a991093b50582e76dadfe31bc0429baadae64d80ba22d6ce7aecf356ca17866ecf82dc3085febf18e2d0aed833f63967359ee7d143dc1ecef

                 reply	other threads:[~2026-11-07 21:59 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=179408879724.1.6236072865691951750.rpms-python-interface-meta-b2d2d6ae1467@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