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-nmrglue] rawhide: drop unused patches
Date: Tue, 24 Nov 2026 14:18:36 GMT [thread overview]
Message-ID: <179552991621.1.2843720931528995029.rpms-python-nmrglue-5b60b1690888@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-nmrglue
Branch : rawhide
Commit : 5b60b16908889bdd2809bbecdd9229838020343b
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-11-17T13:25:23-03:00
Stats : +0/-132 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-nmrglue/c/5b60b16908889bdd2809bbecdd9229838020343b?branch=rawhide
Log:
drop unused patches
---
diff --git a/python-nmrglue-numpy-dtype.patch b/python-nmrglue-numpy-dtype.patch
deleted file mode 100644
index fc94bf4..0000000
--- a/python-nmrglue-numpy-dtype.patch
+++ /dev/null
@@ -1,130 +0,0 @@
-diff --git a/nmrglue/fileio/tecmag.py b/nmrglue/fileio/tecmag.py
-index a5931e3..ddd78f6 100644
---- a/nmrglue/fileio/tecmag.py
-+++ b/nmrglue/fileio/tecmag.py
-@@ -24,8 +24,8 @@ from . import fileiobase
-
- TNTMAGIC_RE = re.compile(br"^TNT1\.\d\d\d$")
-
--TNTMAGIC = np.dtype('a8')
--TNTTLV = np.dtype([('tag', 'a4'), ('bool', '<u4'), ('length', '<u4')])
-+TNTMAGIC = np.dtype('S8')
-+TNTTLV = np.dtype([('tag', 'S4'), ('bool', '<u4'), ('length', '<u4')])
-
- TNTTMAG = np.dtype([
- ('npts', '<i4', 4),
-@@ -38,7 +38,7 @@ TNTTMAG = np.dtype([
- ('repeat_times', '<i4'),
- ('sadimension', '<i4'),
- ('samode', '<i4'),
-- # ('space1', 'a0'),
-+ # ('space1', 'S0'),
-
- ('magnet_field', '<f8'),
- ('ob_freq', '<f8', 4),
-@@ -47,7 +47,7 @@ TNTTMAG = np.dtype([
- ('ref_freq', '<f8'),
- ('NMR_frequency', '<f8'),
- ('obs_channel', '<i2'),
-- ('space2', 'a42'),
-+ ('space2', 'S42'),
-
- ('sw', '<f8', 4),
- ('dwell', '<f8', 4),
-@@ -61,14 +61,14 @@ TNTTMAG = np.dtype([
- ('Type', '<i2'),
- ('bDigRec', '<u4'),
- ('nDigitalCenter', '<i4'),
-- ('space3', 'a16'),
-+ ('space3', 'S16'),
-
- ('transmitter_gain', '<i2'),
- ('receiver_gain', '<i2'),
- ('NumberOfReceivers', '<i2'),
- ('RG2', '<i2'),
- ('receiver_phase', '<f8'),
-- ('space4', 'a4'),
-+ ('space4', 'S4'),
-
- ('set_spin_rate', '<u2'),
- ('actual_spin_rate', '<u2'),
-@@ -80,7 +80,7 @@ TNTTMAG = np.dtype([
- ('lock_freq_mhz', '<f8'),
- ('lock_ppm', '<f8'),
- ('H2O_freq_ref', '<f8'),
-- ('space5', 'a16'),
-+ ('space5', 'S16'),
-
- ('set_temperature', '<f8'),
- ('actual_temperature', '<f8'),
-@@ -93,21 +93,21 @@ TNTTMAG = np.dtype([
- ('DF_DN', '<i2'),
- ('F1_tran_mode', '<i2', 7),
- ('dec_BW', '<i2'),
-- ('grd_orientation', 'a4'),
-+ ('grd_orientation', 'S4'),
- ('LatchLP', '<i4'),
- ('grd_Theta', '<f8'),
- ('grd_Phi', '<f8'),
-- ('space6', 'a264'),
-+ ('space6', 'S264'),
-
- ('start_time', '<u4'),
- ('finish_time', '<u4'),
- ('elapsed_time', '<i4'),
-
-- ('date', 'a32'),
-- ('nuclei', 'a16', 4),
-- ('sequence', 'a32'),
-- ('lock_solvent', 'a16'),
-- ('lock_nucleus', 'a16')
-+ ('date', 'S32'),
-+ ('nuclei', 'S16', 4),
-+ ('sequence', 'S32'),
-+ ('lock_solvent', 'S16'),
-+ ('lock_nucleus', 'S16')
- ])
-
-
-@@ -122,8 +122,8 @@ TNTGRIDANDAXIS = np.dtype([
- ('showGridLabels', '<u4'),
- ('adjustOnZoom', '<u4'),
- ('showDistanceUnits', '<u4'),
-- ('axisName', 'a32'),
-- ('space', 'a52'),
-+ ('axisName', 'S32'),
-+ ('space', 'S52'),
- ])
-
-
-@@ -217,18 +217,18 @@ TNTTMG2 = np.dtype([
- ('Poly_point_avr', '<i2'),
- ('Poly_order', '<i2'),
-
-- ('space', 'a610'),
--
-- ('line_simulation_name', 'a32'),
-- ('integral_template_name', 'a32'),
-- ('baseline_template_name', 'a32'),
-- ('layout_name', 'a32'),
-- ('relax_information_name', 'a32'),
-- ('username', 'a32'),
-- ('user_string_1', 'a16'),
-- ('user_string_2', 'a16'),
-- ('user_string_3', 'a16'),
-- ('user_string_4', 'a16')
-+ ('space', 'S610'),
-+
-+ ('line_simulation_name', 'S32'),
-+ ('integral_template_name', 'S32'),
-+ ('baseline_template_name', 'S32'),
-+ ('layout_name', 'S32'),
-+ ('relax_information_name', 'S32'),
-+ ('username', 'S32'),
-+ ('user_string_1', 'S16'),
-+ ('user_string_2', 'S16'),
-+ ('user_string_3', 'S16'),
-+ ('user_string_4', 'S16')
- ])
-
-
diff --git a/python-nmrglue.spec b/python-nmrglue.spec
index 82a74ae..ae707cd 100644
--- a/python-nmrglue.spec
+++ b/python-nmrglue.spec
@@ -10,8 +10,6 @@ Summary: %{pkgsum}
License: LicenseRef-Callaway-BSD
URL: https://github.com/jjhelmus/%{pkgname}
Source0: https://github.com/jjhelmus/%{pkgname}/archive/v%{version}.tar.gz
-# https://github.com/jjhelmus/nmrglue/pull/257
-Patch: python-nmrglue-numpy-dtype.patch
BuildArch: noarch
BuildRequires: python3-devel
reply other threads:[~2026-11-24 14:18 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=179552991621.1.2843720931528995029.rpms-python-nmrglue-5b60b1690888@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