public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-hexbytes] rawhide: Update to 2.0.0
@ 2026-08-24 16:51 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-24 16:51 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-hexbytes
Branch : rawhide
Commit : 83fb6db95117b3e395d1b7e50b64caf0a56c02c3
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-22T22:45:58-03:00
Stats : +16/-4 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-hexbytes/c/83fb6db95117b3e395d1b7e50b64caf0a56c02c3?branch=rawhide
Log:
Update to 2.0.0
Resolves: rhbz#2521240
---
diff --git a/hexbytes-2.0.0-find-packages.patch b/hexbytes-2.0.0-find-packages.patch
new file mode 100644
index 0000000..321a594
--- /dev/null
+++ b/hexbytes-2.0.0-find-packages.patch
@@ -0,0 +1,10 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -65,6 +65,7 @@
+ ]
+
+ [tool.setuptools.packages.find]
++include = ["hexbytes*"]
+ exclude = ["scripts", "scripts.*", "tests", "tests.*"]
+
+ [tool.setuptools.package-data]
diff --git a/python-hexbytes.spec b/python-hexbytes.spec
index 323071b..2af9aa5 100644
--- a/python-hexbytes.spec
+++ b/python-hexbytes.spec
@@ -1,14 +1,16 @@
%global pypi_name hexbytes
Name: python-%{pypi_name}
-Version: 1.3.1
+Version: 2.0.0
Release: %autorelease
BuildArch: noarch
Summary: Python `bytes` subclass that decodes hex, with a readable console output
License: MIT
-URL: https://github.com/ethereum/hexbytes
+URL: https://github.com/ApeWorX/hexbytes
VCS: git:%{url}.git
Source0: %{pypi_source %pypi_name}
+# Upstream pyproject.toml does not constrain find_packages, causing docs and newsfragments to be packaged
+Patch: hexbytes-2.0.0-find-packages.patch
BuildRequires: python3-eth-utils
BuildRequires: python3-hypothesis
BuildRequires: python3-pytest
@@ -25,7 +27,7 @@ Summary: %{summary}
%{summary}.
%check -a
-%pytest -k 'not test_install_local_wheel'
+%pytest
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
diff --git a/sources b/sources
index d21fed4..f83edd4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hexbytes-1.3.1.tar.gz) = d244c470b057c38325bfe56933ac6c1c4f6785c475d1a10b3b520583b57459038f8a27333bdf55e29380ff215adf5cc5cce000bfee43ac41d6d9fb5b4a38563c
+SHA512 (hexbytes-2.0.0.tar.gz) = 2ce78436e255c44b6a1b6a91ba5772cde2ef914fcc599c8ac553b5192b61995ab5c1cef97fbd87a0ec45b7d99f25e43ccb318bcd1c65c11fda74a01a029a5a3b
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-24 16:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-24 16:51 [rpms/python-hexbytes] rawhide: Update to 2.0.0 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox