public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-nmrglue] rawhide: drop unused patches
@ 2026-11-24 14:18 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-24 14:18 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-24 14:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-24 14:18 [rpms/python-nmrglue] rawhide: drop unused patches Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox