public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Packit <hello@packit.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/python-h5io] epel9: Update to 0.2.4 upstream release
Date: Fri, 06 Nov 2026 12:17:16 GMT [thread overview]
Message-ID: <179396743654.1.10716614372767670623.rpms-python-h5io-d7852bdc4673@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-h5io
Branch : epel9
Commit : d7852bdc4673570bda51ff887f7d868f76556243
Author : Packit <hello@packit.dev>
Date : 2026-11-06T12:12:24+00:00
Stats : +79/-5 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/python-h5io/c/d7852bdc4673570bda51ff887f7d868f76556243?branch=epel9
Log:
Update to 0.2.4 upstream release
- Resolves: rhbz#2298275
Upstream tag: h5io-0.2.4
Upstream commit: 04f4b85b
Commit authored by Packit automation (https://packit.dev/)
---
diff --git a/.gitignore b/.gitignore
index 3bf8525..200fbd0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/h5io-h5io-0.2.1.tar.gz
/h5io-h5io-0.2.2.tar.gz
/h5io-h5io-0.2.3.tar.gz
+/h5io-h5io-0.2.4.tar.gz
diff --git a/README.packit b/README.packit
index d2b528d..f49e745 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
-The file was generated using packit 0.97.1.post1.dev6+gc8c0314a.
+The file was generated using packit 0.99.0.post1.dev3+g7c61c94b.
diff --git a/python-h5io.spec b/python-h5io.spec
index 2319ac2..db15109 100644
--- a/python-h5io.spec
+++ b/python-h5io.spec
@@ -1,15 +1,19 @@
Name: python-h5io
-Version: 0.2.3
+Version: 0.2.4
Release: %autorelease
Summary: Read and write simple Python objects using HDF5
License: BSD-3-Clause
URL: https://github.com/h5io/h5io
-Source: %{url}/archive/h5io-%{version}/h5io-h5io-%{version}.tar.gz
+Source0: %{url}/archive/h5io-%{version}/h5io-h5io-%{version}.tar.gz
+# Our setuptools isn’t new enough to handle the migration of metadata to
+# pyproject.toml. Maintain an appropriately updated version of the pre-0.2.4
+# setup.py instead.
+Source1: setup.py
BuildArch: noarch
-BuildRequires: python3-devel
+BuildRequires: tomcli
# README.rst: ``scipy`` is required for sparse matrix IO support.
BuildRequires: python3dist(scipy)
@@ -35,15 +39,25 @@ Recommends: python%{python3_version}dist(scipy)
%prep
%autosetup -n h5io-h5io-%{version} -p1
+
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
sed -r -i 's/--cov[^[:blank:]"=]*(=[^[:blank:]"]*)?//g' pyproject.toml
+# Use the old setup.py instead of the setuptools.build_meta build system, which
+# our setuptools is too old to support. We could also delete project,
+# tool.setuptools, and tool.setuptools_scm from pyproject.toml, but they have
+# no effect once build-system is removed.
+cp --preserve '%{SOURCE1}' .
+tomcli set pyproject.toml del build-system
+
%generate_buildrequires
+export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
%pyproject_buildrequires
%build
+export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
%pyproject_wheel
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..395b671
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,59 @@
+#! /usr/bin/env python
+#
+
+# Copyright (C) 2011-2014 Alexandre Gramfort
+# <alexandre.gramfort@telecom-paristech.fr>
+
+import os
+import pathlib
+
+from setuptools import setup
+
+descr = """Python Objects Onto HDF5"""
+
+DISTNAME = "h5io"
+DESCRIPTION = descr
+MAINTAINER = "Eric Larson"
+MAINTAINER_EMAIL = "larson.eric.d@gmail.com"
+URL = "http://h5io.github.io"
+LICENSE = "BSD (3-clause)"
+DOWNLOAD_URL = "http://github.com/h5io/h5io"
+
+
+if __name__ == "__main__":
+ if os.path.exists("MANIFEST"):
+ os.remove("MANIFEST")
+
+ setup(
+ name=DISTNAME,
+ maintainer=MAINTAINER,
+ include_package_data=True,
+ maintainer_email=MAINTAINER_EMAIL,
+ description=DESCRIPTION,
+ license=LICENSE,
+ url=URL,
+ use_scm_version=True,
+ download_url=DOWNLOAD_URL,
+ python_requires=">=3.8",
+ setup_requires=["setuptools", "setuptools_scm"],
+ install_requires=["numpy", "h5py"],
+ long_description=open("README.rst").read(),
+ zip_safe=False, # the package can run out of an .egg file
+ classifiers=[
+ "Intended Audience :: Science/Research",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved",
+ "Programming Language :: Python",
+ "Topic :: Software Development",
+ "Topic :: Scientific/Engineering",
+ "Operating System :: Microsoft :: Windows",
+ "Operating System :: POSIX",
+ "Operating System :: Unix",
+ "Operating System :: MacOS",
+ ],
+ platforms="any",
+ packages=["h5io", "h5io.tests"],
+ package_data={},
+ scripts=[],
+ long_description_content_type="text/x-rst",
+ )
diff --git a/sources b/sources
index bb7b7af..220480f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (h5io-h5io-0.2.3.tar.gz) = 3d1f67aa1dfd361cd411bebe272bc38dbcb8f84aa029ab138657c9c1564c6b68a80d3fc9c7bc7a64026d7ac00a0522b055e19afc7c4452ef984c1851b587b1bd
+SHA512 (h5io-h5io-0.2.4.tar.gz) = 87da886403270f62fab0d02d903cdaa647e0329302c78ce2dae44874857e5d586d4b1d4c658a10014c473223036a1bdf5dca05c0d5d9c69063cc47c1e26e0d3e
reply other threads:[~2026-11-06 12:17 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=179396743654.1.10716614372767670623.rpms-python-h5io-d7852bdc4673@fedoraproject.org \
--to=hello@packit.dev \
--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