From 78901b9c013c664691dcdc695164729085fd325e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 09:11:10 +0000 Subject: [PATCH 01/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index e83db35..f520e3d 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{sum} License: BSD @@ -112,6 +112,9 @@ done %license LICENSE %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.4.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Sun Jan 21 2018 Ankur Sinha - 1.4.3-1 - Use newer release and GitHub sources - Run tests From 4b5b61490621f8c4c17bbb6fe8aecdb89178a665 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Sat, 9 Jun 2018 22:02:27 +0100 Subject: [PATCH 02/53] Update to new version --- .gitignore | 1 + python-nixio.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4853380..bebe39a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /python-nixio-1.4.3.tar.gz +/python-nixio-1.4.5.tar.gz diff --git a/python-nixio.spec b/python-nixio.spec index f520e3d..937df87 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -2,8 +2,8 @@ %global sum Python bindings for NIX Name: python-%{srcname} -Version: 1.4.3 -Release: 2%{?dist} +Version: 1.4.5 +Release: 1%{?dist} Summary: %{sum} License: BSD @@ -112,6 +112,9 @@ done %license LICENSE %changelog +* Sat Jun 09 2018 Ankur Sinha - 1.4.5-1 +- Update to latest upstream release + * Fri Feb 09 2018 Fedora Release Engineering - 1.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index c958e9d..5026d22 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-nixio-1.4.3.tar.gz) = 9311a05a43a85cc9bfb3bf0aa1f329d6864d5ac311ca52ff51fd4576edca641a86cf693cc4f49dcb0dde7738a1404f0a6cfff361793e7e856e3c7035b2eb4ab8 +SHA512 (python-nixio-1.4.5.tar.gz) = b5bed99c4ea115d576aed0376be72bad37a88ee05c6056c6d6f495f6a8cd0b2d1966a362ca344c5834f2a0f59e1419c899f69e10eafac2c7cc527afea0535cbf From 8e8ed3ad74010d209018103ebbc9a7a27e702586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 19 Jun 2018 11:10:22 +0200 Subject: [PATCH 03/53] Rebuilt for Python 3.7 --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index 937df87..89a8e94 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{sum} License: BSD @@ -112,6 +112,9 @@ done %license LICENSE %changelog +* Tue Jun 19 2018 Miro Hrončok - 1.4.5-2 +- Rebuilt for Python 3.7 + * Sat Jun 09 2018 Ankur Sinha - 1.4.5-1 - Update to latest upstream release From 22a509f5afff97dd014bddf5cf8d8ada7af1be04 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 01:07:35 +0000 Subject: [PATCH 04/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index 89a8e94..d531d18 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{sum} License: BSD @@ -112,6 +112,9 @@ done %license LICENSE %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 1.4.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Tue Jun 19 2018 Miro Hrončok - 1.4.5-2 - Rebuilt for Python 3.7 From 9bef11db7f24090fd031301dc0367c0ab2c34682 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Thu, 19 Jul 2018 12:36:45 -0700 Subject: [PATCH 05/53] Update to 1.4.6 --- .gitignore | 1 + python-nixio.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index bebe39a..dfb2b7b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /python-nixio-1.4.3.tar.gz /python-nixio-1.4.5.tar.gz +/python-nixio-1.4.6.tar.gz diff --git a/python-nixio.spec b/python-nixio.spec index d531d18..dbf1bd6 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -2,8 +2,8 @@ %global sum Python bindings for NIX Name: python-%{srcname} -Version: 1.4.5 -Release: 3%{?dist} +Version: 1.4.6 +Release: 1%{?dist} Summary: %{sum} License: BSD @@ -112,6 +112,9 @@ done %license LICENSE %changelog +* Wed Jul 18 2018 Ankur Sinha - 1.4.6-1 +- Update to 1.4.6 + * Sat Jul 14 2018 Fedora Release Engineering - 1.4.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 5026d22..dc89478 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-nixio-1.4.5.tar.gz) = b5bed99c4ea115d576aed0376be72bad37a88ee05c6056c6d6f495f6a8cd0b2d1966a362ca344c5834f2a0f59e1419c899f69e10eafac2c7cc527afea0535cbf +SHA512 (python-nixio-1.4.6.tar.gz) = a46f79a5c101f63acde5bfc8bf0d70872544087b805e85a4ff39ea5c761f637644d50898e6c39eedfcaf63d4e8aa5efc138dc08222c7dc62f5a86839dcadc6d5 From b65ad55bbf0f242a8e3ecf3452579b03c5c9ba13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 18 Oct 2018 10:36:49 +0200 Subject: [PATCH 06/53] Subpackage python2-nixio has been removed --- python-nixio.spec | 33 +++++---------------------------- 1 file changed, 5 insertions(+), 28 deletions(-) diff --git a/python-nixio.spec b/python-nixio.spec index dbf1bd6..90d3442 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{sum} License: BSD @@ -26,25 +26,6 @@ the wiki for more information The current implementations store the actual data using the HDF5 file format as a storage backend. -%package -n python2-%{srcname} -Summary: %{sum} -BuildRequires: python2-devel -BuildRequires: %{py2_dist pytest numpy h5py pytest-runner} -Requires: %{py2_dist numpy h5py} -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -The NIX project started as an initiative within the Electrophysiology Task -Force a part of the INCF Data sharing Program. The NIX data model allows to -store fully annotated scientific data-set, i.e. the data together with its -metadata within the same container. Our aim is to achieve standardization by -providing a common/generic data structure for a multitude of data types. See -the wiki for more information - -The current implementations store the actual data using the HDF5 file format as -a storage backend. - - %package -n python3-%{srcname} Summary: %{sum} BuildRequires: python3-devel @@ -75,7 +56,6 @@ Documentation files for %{name}. rm -fr *egg-info %build -%py2_build %py3_build PYTHONPATH=. sphinx-build-3 docs/source html @@ -90,18 +70,11 @@ for f in html/_downloads/*.py; do done %install -%py2_install %py3_install %check -%{__python2} setup.py test %{__python3} setup.py test -%files -n python2-%{srcname} -%license LICENSE -%{python2_sitelib}/%{srcname}-%{version}-py?.?.egg-info -%{python2_sitelib}/%{srcname}/ - %files -n python3-%{srcname} %license LICENSE %{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info @@ -112,6 +85,10 @@ done %license LICENSE %changelog +* Thu Oct 18 2018 Zbigniew Jędrzejewski-Szmek - 1.4.6-2 +- Subpackage python2-nixio has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Wed Jul 18 2018 Ankur Sinha - 1.4.6-1 - Update to 1.4.6 From adc1676510643db25089460a8e6b371d48ff4e88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 18 Oct 2018 10:38:56 +0200 Subject: [PATCH 07/53] Remove useless %global --- python-nixio.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python-nixio.spec b/python-nixio.spec index 90d3442..a012fdf 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -1,10 +1,9 @@ %global srcname nixio -%global sum Python bindings for NIX Name: python-%{srcname} Version: 1.4.6 Release: 2%{?dist} -Summary: %{sum} +Summary: Python bindings for NIX License: BSD URL: https://github.com/G-node/nixpy @@ -27,7 +26,7 @@ The current implementations store the actual data using the HDF5 file format as a storage backend. %package -n python3-%{srcname} -Summary: %{sum} +Summary: %{summary} BuildRequires: python3-devel BuildRequires: %{py3_dist pytest numpy h5py pytest-runner} Requires: %{py3_dist numpy h5py} @@ -45,7 +44,7 @@ The current implementations store the actual data using the HDF5 file format as a storage backend. %package doc -Summary: %{sum} +Summary: %{summary} BuildRequires: python3-sphinx %description doc From 469ce67e942ec2e3ec024b5e96595d5347e97192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 18 Oct 2018 10:39:47 +0200 Subject: [PATCH 08/53] Add BR:gcc "cc" is called in tests. --- python-nixio.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-nixio.spec b/python-nixio.spec index a012fdf..be06174 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -28,6 +28,7 @@ a storage backend. %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel +BuildRequires: gcc BuildRequires: %{py3_dist pytest numpy h5py pytest-runner} Requires: %{py3_dist numpy h5py} %{?python_provide:%python_provide python3-%{srcname}} From 2b451361406a5b9d8f6e15bf1beaa354b116b7cf Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Sat, 12 Jan 2019 10:14:31 +0000 Subject: [PATCH 09/53] Update to 1.4.9 --- .gitignore | 1 + python-nixio.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index dfb2b7b..d92374c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /python-nixio-1.4.3.tar.gz /python-nixio-1.4.5.tar.gz /python-nixio-1.4.6.tar.gz +/python-nixio-1.4.9.tar.gz diff --git a/python-nixio.spec b/python-nixio.spec index be06174..9587e1a 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -1,8 +1,8 @@ %global srcname nixio Name: python-%{srcname} -Version: 1.4.6 -Release: 2%{?dist} +Version: 1.4.9 +Release: 1%{?dist} Summary: Python bindings for NIX License: BSD @@ -85,6 +85,9 @@ done %license LICENSE %changelog +* Sat Jan 12 2019 Ankur Sinha - 1.4.9-1 +- Update to 1.4.9 + * Thu Oct 18 2018 Zbigniew Jędrzejewski-Szmek - 1.4.6-2 - Subpackage python2-nixio has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal diff --git a/sources b/sources index dc89478..3ed3cff 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-nixio-1.4.6.tar.gz) = a46f79a5c101f63acde5bfc8bf0d70872544087b805e85a4ff39ea5c761f637644d50898e6c39eedfcaf63d4e8aa5efc138dc08222c7dc62f5a86839dcadc6d5 +SHA512 (python-nixio-1.4.9.tar.gz) = b7925ff6a0d04434c88f214dd7b557bf7ff9180b3d25fa639a289e0610e7c0abc6bbc34ecd7c03a97bec11c6b6e8268598b1b16345a7cc085479f44136e0f1ef From 11d4cae80e225c1bb2d0765a57b1b672cd0e8cd7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 15 Jan 2019 15:52:00 +0100 Subject: [PATCH 10/53] Enable python dependency generator References: https://fedoraproject.org/wiki/Changes/EnablingPythonGeneratorsByDefault Signed-off-by: Igor Gnatenko --- python-nixio.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-nixio.spec b/python-nixio.spec index 9587e1a..12d92ce 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -1,8 +1,9 @@ +%{?python_enable_dependency_generator} %global srcname nixio Name: python-%{srcname} Version: 1.4.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for NIX License: BSD @@ -30,7 +31,6 @@ Summary: %{summary} BuildRequires: python3-devel BuildRequires: gcc BuildRequires: %{py3_dist pytest numpy h5py pytest-runner} -Requires: %{py3_dist numpy h5py} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} @@ -85,6 +85,9 @@ done %license LICENSE %changelog +* Tue Jan 15 2019 Igor Gnatenko - 1.4.9-2 +- Enable python dependency generator + * Sat Jan 12 2019 Ankur Sinha - 1.4.9-1 - Update to 1.4.9 From 0249f38222a46ef80db09d3f7898ea210d5a8228 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 07:58:27 +0000 Subject: [PATCH 11/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index 12d92ce..e4d9b8a 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for NIX License: BSD @@ -85,6 +85,9 @@ done %license LICENSE %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 1.4.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Tue Jan 15 2019 Igor Gnatenko - 1.4.9-2 - Enable python dependency generator From 5ae27573888ec8c65459336a7c852e3d73b9e3a9 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Wed, 10 Jul 2019 21:06:15 +0100 Subject: [PATCH 12/53] Fix build --- python-nixio.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-nixio.spec b/python-nixio.spec index e4d9b8a..952ce35 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.9 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for NIX License: BSD @@ -63,7 +63,7 @@ PYTHONPATH=. sphinx-build-3 docs/source html rm -fr html/.{buildinfo,doctrees} # Remove shebang from documentation examples -for f in html/_downloads/*.py; do +for f in html/_downloads/*/*.py; do sed '1{\@^#!/usr/bin/env python@d}' $f > $f.new && touch -r $f $f.new && mv $f.new $f @@ -85,6 +85,9 @@ done %license LICENSE %changelog +* Wed Jul 10 2019 Ankur Sinha - 1.4.9-4 +- Fix build: rhbz 1706159 + * Sat Feb 02 2019 Fedora Release Engineering - 1.4.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 999c9e467a208fa82407ce3f78bb11e528c774ac Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 14:46:30 +0000 Subject: [PATCH 13/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index 952ce35..ac2d32e 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.9 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python bindings for NIX License: BSD @@ -85,6 +85,9 @@ done %license LICENSE %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 1.4.9-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Wed Jul 10 2019 Ankur Sinha - 1.4.9-4 - Fix build: rhbz 1706159 From d28fe3458c6770b66d0f3130e1f0a6aedcf0d247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Aug 2019 10:47:05 +0200 Subject: [PATCH 14/53] Rebuilt for Python 3.8 --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index ac2d32e..f6dc68e 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.9 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python bindings for NIX License: BSD @@ -85,6 +85,9 @@ done %license LICENSE %changelog +* Mon Aug 19 2019 Miro Hrončok - 1.4.9-6 +- Rebuilt for Python 3.8 + * Fri Jul 26 2019 Fedora Release Engineering - 1.4.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 95b43cf92b6433d89f7d1c48ea2a3761142e3163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 3 Oct 2019 14:20:04 +0200 Subject: [PATCH 15/53] Rebuilt for Python 3.8.0rc1 (#1748018) --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index f6dc68e..e289546 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.9 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Python bindings for NIX License: BSD @@ -85,6 +85,9 @@ done %license LICENSE %changelog +* Thu Oct 03 2019 Miro Hrončok - 1.4.9-7 +- Rebuilt for Python 3.8.0rc1 (#1748018) + * Mon Aug 19 2019 Miro Hrončok - 1.4.9-6 - Rebuilt for Python 3.8 From 6d59f71aae4fd052cdfe9a140782194b0cf9d4ae Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 13:37:11 +0000 Subject: [PATCH 16/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index e289546..ebe7f9d 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.9 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python bindings for NIX License: BSD @@ -85,6 +85,9 @@ done %license LICENSE %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 1.4.9-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Oct 03 2019 Miro Hrončok - 1.4.9-7 - Rebuilt for Python 3.8.0rc1 (#1748018) From 8f136a3d9ff326bf62c36bafd449a66a074c3209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 03:26:56 +0200 Subject: [PATCH 17/53] Rebuilt for Python 3.9 --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index ebe7f9d..76b61cf 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.9 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Python bindings for NIX License: BSD @@ -85,6 +85,9 @@ done %license LICENSE %changelog +* Tue May 26 2020 Miro Hrončok - 1.4.9-9 +- Rebuilt for Python 3.9 + * Thu Jan 30 2020 Fedora Release Engineering - 1.4.9-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 0ea87106f294d688d3d7c93a121d98fce9853785 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Thu, 25 Jun 2020 11:17:56 +0100 Subject: [PATCH 18/53] Explicitly BR setuptools --- python-nixio.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/python-nixio.spec b/python-nixio.spec index 76b61cf..2e4aead 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.9 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Python bindings for NIX License: BSD @@ -30,7 +30,11 @@ a storage backend. Summary: %{summary} BuildRequires: python3-devel BuildRequires: gcc -BuildRequires: %{py3_dist pytest numpy h5py pytest-runner} +BuildRequires: %{py3_dist h5py} +BuildRequires: %{py3_dist numpy} +BuildRequires: %{py3_dist pytest} +BuildRequires: %{py3_dist pytest-runner} +BuildRequires: %{py3_dist setuptools} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} @@ -85,6 +89,9 @@ done %license LICENSE %changelog +* Thu Jun 25 2020 Ankur Sinha - 1.4.9-10 +- Explicitly BR setuptools + * Tue May 26 2020 Miro Hrončok - 1.4.9-9 - Rebuilt for Python 3.9 From bd13fcad721fcadaa0bbd392df2734707306a32b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 13 Jul 2020 21:04:35 +0200 Subject: [PATCH 19/53] Replace Python version glob with macro (needed for Python 3.10+) See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PQIGCQCRNBYNXBX2ICWEM3PLDLNOG2ZT/ Co-authored-by: Tomas Hrnciar --- python-nixio.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index 2e4aead..2d9dc65 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -81,7 +81,7 @@ done %files -n python3-%{srcname} %license LICENSE -%{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info +%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info %{python3_sitelib}/%{srcname}/ %files doc From cbbb427f753e34f6a6a53594d9723810ed486519 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 02:23:24 +0000 Subject: [PATCH 20/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index 2d9dc65..de802e1 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.9 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Python bindings for NIX License: BSD @@ -89,6 +89,9 @@ done %license LICENSE %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 1.4.9-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Thu Jun 25 2020 Ankur Sinha - 1.4.9-10 - Explicitly BR setuptools From d7b42b300ee0e32c8b6ff1d990cc45bb3fa38a17 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 11:55:47 +0000 Subject: [PATCH 21/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index de802e1..a7edc03 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.9 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Python bindings for NIX License: BSD @@ -89,6 +89,9 @@ done %license LICENSE %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.4.9-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 1.4.9-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From f5133ef642952a1e7dd9267e4c892048660c297b Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 20:47:15 +0200 Subject: [PATCH 22/53] Rebuilt for Python 3.10 --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index a7edc03..7c7a165 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.9 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Python bindings for NIX License: BSD @@ -89,6 +89,9 @@ done %license LICENSE %changelog +* Fri Jun 04 2021 Python Maint - 1.4.9-13 +- Rebuilt for Python 3.10 + * Wed Jan 27 2021 Fedora Release Engineering - 1.4.9-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From e71fb190fe791c73db454991cb9c5631dd42e0ec Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 07:47:41 +0000 Subject: [PATCH 23/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index 7c7a165..84c2af3 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 1.4.9 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Python bindings for NIX License: BSD @@ -89,6 +89,9 @@ done %license LICENSE %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 1.4.9-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 1.4.9-13 - Rebuilt for Python 3.10 From 59a70b2695965c716ef2a07378231667bb72ee50 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Sun, 3 Oct 2021 08:43:39 +0100 Subject: [PATCH 24/53] feat: update to 1.5.1 --- .gitignore | 1 + info.json | 10 +++++++ python-nixio.spec | 68 ++++++++++++++++++++++++++--------------------- sources | 2 +- 4 files changed, 49 insertions(+), 32 deletions(-) create mode 100644 info.json diff --git a/.gitignore b/.gitignore index d92374c..009fb02 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /python-nixio-1.4.5.tar.gz /python-nixio-1.4.6.tar.gz /python-nixio-1.4.9.tar.gz +/nixpy-1.5.1.tar.gz diff --git a/info.json b/info.json new file mode 100644 index 0000000..0151b65 --- /dev/null +++ b/info.json @@ -0,0 +1,10 @@ +{ + "VERSION": "1.5.1", + "STATUS": "Release", + "RELEASE": "1.5.1 Release", + "AUTHOR": "Christian Kellner, Adrian Stoewer, Andrey Sobolev, Jan Grewe, Balint Morvai, Achilleas Koutsou", + "COPYRIGHT": "2014-2020, German Neuroinformatics Node, Christian Kellner, Adrian Stoewer, Andrey Sobolev, Jan Grewe, Balint Morvai, Achilleas Koutsou", + "CONTACT": "dev@g-node.org", + "BRIEF": "Python reimplementation of NIXIO (http://g-node.github.io/nix/)", + "HOMEPAGE": "https://github.com/G-Node/nixpy" +} \ No newline at end of file diff --git a/python-nixio.spec b/python-nixio.spec index 84c2af3..0da8b3a 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -1,14 +1,19 @@ -%{?python_enable_dependency_generator} -%global srcname nixio +%global forgeurl https://github.com/G-node/nixpy -Name: python-%{srcname} -Version: 1.4.9 -Release: 14%{?dist} +Name: python-nixio +Version: 1.5.1 +Release: %autorelease Summary: Python bindings for NIX +%global tag %{version} +%forgemeta License: BSD -URL: https://github.com/G-node/nixpy -Source0: https://github.com/G-node/nixpy/archive/%{version}/%{name}-%{version}.tar.gz +URL: %{forgeurl} +Source0: %{forgesource} +# The tagged snapshot on GitHub still says "dev" but the manually uploaded +# release does not, so use the info.json from there +# https://github.com/G-Node/nixpy/issues/528 +Source1: info.json BuildArch: noarch @@ -26,41 +31,41 @@ the wiki for more information The current implementations store the actual data using the HDF5 file format as a storage backend. -%package -n python3-%{srcname} +%package -n python3-nixio Summary: %{summary} BuildRequires: python3-devel BuildRequires: gcc -BuildRequires: %{py3_dist h5py} -BuildRequires: %{py3_dist numpy} +# use tests_require which is deprecated BuildRequires: %{py3_dist pytest} BuildRequires: %{py3_dist pytest-runner} -BuildRequires: %{py3_dist setuptools} -%{?python_provide:%python_provide python3-%{srcname}} +BuildRequires: %{py3_dist scipy} +BuildRequires: %{py3_dist pillow} +BuildRequires: %{py3_dist matplotlib} -%description -n python3-%{srcname} -The NIX project started as an initiative within the Electrophysiology Task -Force a part of the INCF Data sharing Program. The NIX data model allows to -store fully annotated scientific data-set, i.e. the data together with its -metadata within the same container. Our aim is to achieve standardization by -providing a common/generic data structure for a multitude of data types. See -the wiki for more information - -The current implementations store the actual data using the HDF5 file format as -a storage backend. +%description -n python3-nixio +%{description} %package doc Summary: %{summary} BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme %description doc Documentation files for %{name}. %prep -%autosetup -n nixpy-%{version} -rm -fr *egg-info +%forgesetup + +# it sets examples_path based on the name of the cwd +sed -i "s/nixpy/nixpy-%{version}/" nixio/test/test_doc_examples.py + +cp %{SOURCE1} nixio/info.json -v -p + +%generate_buildrequires +%pyproject_buildrequires -r %build -%py3_build +%pyproject_wheel PYTHONPATH=. sphinx-build-3 docs/source html # Remove unneeded files @@ -74,21 +79,22 @@ for f in html/_downloads/*/*.py; do done %install -%py3_install +%pyproject_install +%pyproject_save_files nixio %check -%{__python3} setup.py test +%{pytest} -%files -n python3-%{srcname} -%license LICENSE -%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info -%{python3_sitelib}/%{srcname}/ +%files -n python3-nixio -f %{pyproject_files} +%{_bindir}/nixio %files doc %doc README.rst html %license LICENSE %changelog +%autochangelog + * Fri Jul 23 2021 Fedora Release Engineering - 1.4.9-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 3ed3cff..ae66422 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-nixio-1.4.9.tar.gz) = b7925ff6a0d04434c88f214dd7b557bf7ff9180b3d25fa639a289e0610e7c0abc6bbc34ecd7c03a97bec11c6b6e8268598b1b16345a7cc085479f44136e0f1ef +SHA512 (nixpy-1.5.1.tar.gz) = 0afff4bdb39c6074acfd581d1762eb0ef1b3ca337d1c314a788727904ed1c16d0ef704254ef00a613a92aaf6430fbbd271999dee9b682ce1a8bf0df4f9409012 From 15c4f7a906d740e6484cf62a90a7639843e694af Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Sun, 3 Oct 2021 08:51:15 +0100 Subject: [PATCH 25/53] fix: tweak macros to make koji happy Didn't get any errors on mock, but koji says: ``` error: /builddir/build/SPECS/python-nixio.spec: line 157: Macro % has illegal name (%global) 0< (%global) - Remove useless ``` --- python-nixio.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python-nixio.spec b/python-nixio.spec index 0da8b3a..f7ae2a5 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -4,12 +4,13 @@ Name: python-nixio Version: 1.5.1 Release: %autorelease Summary: Python bindings for NIX -%global tag %{version} + +%global tag %version %forgemeta License: BSD -URL: %{forgeurl} -Source0: %{forgesource} +URL: %forgeurl +Source0: %forgesource # The tagged snapshot on GitHub still says "dev" but the manually uploaded # release does not, so use the info.json from there # https://github.com/G-Node/nixpy/issues/528 From e20c390ede7873ff04dc53a2b26c0d892d393b38 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Sun, 3 Oct 2021 09:03:10 +0100 Subject: [PATCH 26/53] fix: remove autochangelog/autorelease This keeps koji happy. Unsure why. TODO: file bug with rpmautospec, or post to -devel --- python-nixio.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python-nixio.spec b/python-nixio.spec index f7ae2a5..37672f7 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -2,7 +2,7 @@ Name: python-nixio Version: 1.5.1 -Release: %autorelease +Release: 1%{?dist} Summary: Python bindings for NIX %global tag %version @@ -94,7 +94,8 @@ done %license LICENSE %changelog -%autochangelog +* Sun Oct 03 2021 Ankur Sinha - 1.5.1-1 +- Update to latest release * Fri Jul 23 2021 Fedora Release Engineering - 1.4.9-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From ba6b571b79d5667ae203afd1a26963ec2c3ae10d Mon Sep 17 00:00:00 2001 From: Vanessa_kris Date: Thu, 30 Dec 2021 20:11:54 +0100 Subject: [PATCH 27/53] update to latest release --- .gitignore | 1 + info.json | 6 +++--- python-nixio.spec | 5 ++++- sources | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 009fb02..6c06b6b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /python-nixio-1.4.6.tar.gz /python-nixio-1.4.9.tar.gz /nixpy-1.5.1.tar.gz +/nixpy-1.5.2.tar.gz diff --git a/info.json b/info.json index 0151b65..9127ba2 100644 --- a/info.json +++ b/info.json @@ -1,9 +1,9 @@ { - "VERSION": "1.5.1", + "VERSION": "1.5.2", "STATUS": "Release", - "RELEASE": "1.5.1 Release", + "RELEASE": "1.5.2 Release", "AUTHOR": "Christian Kellner, Adrian Stoewer, Andrey Sobolev, Jan Grewe, Balint Morvai, Achilleas Koutsou", - "COPYRIGHT": "2014-2020, German Neuroinformatics Node, Christian Kellner, Adrian Stoewer, Andrey Sobolev, Jan Grewe, Balint Morvai, Achilleas Koutsou", + "COPYRIGHT": "2014-2021, German Neuroinformatics Node, Christian Kellner, Adrian Stoewer, Andrey Sobolev, Jan Grewe, Balint Morvai, Achilleas Koutsou", "CONTACT": "dev@g-node.org", "BRIEF": "Python reimplementation of NIXIO (http://g-node.github.io/nix/)", "HOMEPAGE": "https://github.com/G-Node/nixpy" diff --git a/python-nixio.spec b/python-nixio.spec index 37672f7..7afa713 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -1,7 +1,7 @@ %global forgeurl https://github.com/G-node/nixpy Name: python-nixio -Version: 1.5.1 +Version: 1.5.2 Release: 1%{?dist} Summary: Python bindings for NIX @@ -94,6 +94,9 @@ done %license LICENSE %changelog +* Thu Dec 30 2021 Vanessa Christopher - 1.5.2-1 +- Update to latest release + * Sun Oct 03 2021 Ankur Sinha - 1.5.1-1 - Update to latest release diff --git a/sources b/sources index ae66422..75f3553 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nixpy-1.5.1.tar.gz) = 0afff4bdb39c6074acfd581d1762eb0ef1b3ca337d1c314a788727904ed1c16d0ef704254ef00a613a92aaf6430fbbd271999dee9b682ce1a8bf0df4f9409012 +SHA512 (nixpy-1.5.2.tar.gz) = faaf10a214b5adfcf78f69705d3f62dd7dea8dfe17c59fd7ed054f44aa7ad894b4bbc3bc19783d63c98aabe3aa4d5555ea68247538553820d81d66710a55a23a From 646d9c43f9b9f1302327dff5c35b649c87e68bdf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 13:44:21 +0000 Subject: [PATCH 28/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index 7afa713..9e3e131 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -2,7 +2,7 @@ Name: python-nixio Version: 1.5.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for NIX %global tag %version @@ -94,6 +94,9 @@ done %license LICENSE %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 1.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Dec 30 2021 Vanessa Christopher - 1.5.2-1 - Update to latest release From 6c2900a4a4641e47f1f7db0aa1553ea0b7021a2a Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Sat, 2 Apr 2022 21:40:13 +0100 Subject: [PATCH 29/53] feat: to 1.5.3 (fixes rhbz#2068562) --- .gitignore | 1 + python-nixio.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6c06b6b..8bd9645 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /python-nixio-1.4.9.tar.gz /nixpy-1.5.1.tar.gz /nixpy-1.5.2.tar.gz +/nixpy-1.5.3.tar.gz diff --git a/python-nixio.spec b/python-nixio.spec index 9e3e131..f0ba3a2 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -1,8 +1,8 @@ %global forgeurl https://github.com/G-node/nixpy Name: python-nixio -Version: 1.5.2 -Release: 2%{?dist} +Version: 1.5.3 +Release: 1%{?dist} Summary: Python bindings for NIX %global tag %version @@ -94,6 +94,9 @@ done %license LICENSE %changelog +* Sat Apr 02 2022 Ankur Sinha - 1.5.3-1 +- Update to latest release + * Fri Jan 21 2022 Fedora Release Engineering - 1.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 75f3553..ef0608e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nixpy-1.5.2.tar.gz) = faaf10a214b5adfcf78f69705d3f62dd7dea8dfe17c59fd7ed054f44aa7ad894b4bbc3bc19783d63c98aabe3aa4d5555ea68247538553820d81d66710a55a23a +SHA512 (nixpy-1.5.3.tar.gz) = 1b3fd6bb638797a90a2e899d9ae3663a6a0ee3dfc5fe8c6c0806ed5ac2a34ef54771cdb1a715bf400020c6f5df7f3f348ee7129ed1e055381fa11aa5a8b6b218 From aa4900973b213e3362aaeb6f31a3cf15b4957977 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 15 Jun 2022 13:25:29 +0200 Subject: [PATCH 30/53] Rebuilt for Python 3.11 --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index f0ba3a2..59cda80 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -2,7 +2,7 @@ Name: python-nixio Version: 1.5.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for NIX %global tag %version @@ -94,6 +94,9 @@ done %license LICENSE %changelog +* Wed Jun 15 2022 Python Maint - 1.5.3-2 +- Rebuilt for Python 3.11 + * Sat Apr 02 2022 Ankur Sinha - 1.5.3-1 - Update to latest release From 13688bd36bd2f03315e76e7bac6e057db5ac3b6e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 20:21:16 +0000 Subject: [PATCH 31/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index 59cda80..92bcd15 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -2,7 +2,7 @@ Name: python-nixio Version: 1.5.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for NIX %global tag %version @@ -94,6 +94,9 @@ done %license LICENSE %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 1.5.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Wed Jun 15 2022 Python Maint - 1.5.3-2 - Rebuilt for Python 3.11 From 11b15855a79a694182f119b77317e0e5dceaeff5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 15:03:06 +0000 Subject: [PATCH 32/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-nixio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index 92bcd15..2ad642b 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -2,7 +2,7 @@ Name: python-nixio Version: 1.5.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for NIX %global tag %version @@ -94,6 +94,9 @@ done %license LICENSE %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 1.5.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Jul 22 2022 Fedora Release Engineering - 1.5.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From bcc083daffa2bb8709ffe00957f7d33ad6e83773 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Thu, 6 Jul 2023 12:13:53 +0100 Subject: [PATCH 33/53] chore: use rpmautospec --- changelog | 91 +++++++++++++++++++++++++++++++++++++++++++++ python-nixio.spec | 94 +---------------------------------------------- 2 files changed, 93 insertions(+), 92 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..7884b42 --- /dev/null +++ b/changelog @@ -0,0 +1,91 @@ +* Fri Jan 20 2023 Fedora Release Engineering - 1.5.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 1.5.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jun 15 2022 Python Maint - 1.5.3-2 +- Rebuilt for Python 3.11 + +* Sat Apr 02 2022 Ankur Sinha - 1.5.3-1 +- Update to latest release + +* Fri Jan 21 2022 Fedora Release Engineering - 1.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Dec 30 2021 Vanessa Christopher - 1.5.2-1 +- Update to latest release + +* Sun Oct 03 2021 Ankur Sinha - 1.5.1-1 +- Update to latest release + +* Fri Jul 23 2021 Fedora Release Engineering - 1.4.9-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 1.4.9-13 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.4.9-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.4.9-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jun 25 2020 Ankur Sinha - 1.4.9-10 +- Explicitly BR setuptools + +* Tue May 26 2020 Miro Hrončok - 1.4.9-9 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.4.9-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 1.4.9-7 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 1.4.9-6 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.4.9-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Jul 10 2019 Ankur Sinha - 1.4.9-4 +- Fix build: rhbz 1706159 + +* Sat Feb 02 2019 Fedora Release Engineering - 1.4.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 15 2019 Igor Gnatenko - 1.4.9-2 +- Enable python dependency generator + +* Sat Jan 12 2019 Ankur Sinha - 1.4.9-1 +- Update to 1.4.9 + +* Thu Oct 18 2018 Zbigniew Jędrzejewski-Szmek - 1.4.6-2 +- Subpackage python2-nixio has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Wed Jul 18 2018 Ankur Sinha - 1.4.6-1 +- Update to 1.4.6 + +* Sat Jul 14 2018 Fedora Release Engineering - 1.4.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 1.4.5-2 +- Rebuilt for Python 3.7 + +* Sat Jun 09 2018 Ankur Sinha - 1.4.5-1 +- Update to latest upstream release + +* Fri Feb 09 2018 Fedora Release Engineering - 1.4.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sun Jan 21 2018 Ankur Sinha - 1.4.3-1 +- Use newer release and GitHub sources +- Run tests +- Define summary macro +- Add doc sub package + +* Fri Jan 12 2018 Ankur Sinha - 1.4.2-1 +- Initial build +- use pydist macro diff --git a/python-nixio.spec b/python-nixio.spec index 2ad642b..dec1f26 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -2,7 +2,7 @@ Name: python-nixio Version: 1.5.3 -Release: 4%{?dist} +Release: %autorelease Summary: Python bindings for NIX %global tag %version @@ -94,94 +94,4 @@ done %license LICENSE %changelog -* Fri Jan 20 2023 Fedora Release Engineering - 1.5.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Fri Jul 22 2022 Fedora Release Engineering - 1.5.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Wed Jun 15 2022 Python Maint - 1.5.3-2 -- Rebuilt for Python 3.11 - -* Sat Apr 02 2022 Ankur Sinha - 1.5.3-1 -- Update to latest release - -* Fri Jan 21 2022 Fedora Release Engineering - 1.5.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Thu Dec 30 2021 Vanessa Christopher - 1.5.2-1 -- Update to latest release - -* Sun Oct 03 2021 Ankur Sinha - 1.5.1-1 -- Update to latest release - -* Fri Jul 23 2021 Fedora Release Engineering - 1.4.9-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri Jun 04 2021 Python Maint - 1.4.9-13 -- Rebuilt for Python 3.10 - -* Wed Jan 27 2021 Fedora Release Engineering - 1.4.9-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 1.4.9-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Thu Jun 25 2020 Ankur Sinha - 1.4.9-10 -- Explicitly BR setuptools - -* Tue May 26 2020 Miro Hrončok - 1.4.9-9 -- Rebuilt for Python 3.9 - -* Thu Jan 30 2020 Fedora Release Engineering - 1.4.9-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Oct 03 2019 Miro Hrončok - 1.4.9-7 -- Rebuilt for Python 3.8.0rc1 (#1748018) - -* Mon Aug 19 2019 Miro Hrončok - 1.4.9-6 -- Rebuilt for Python 3.8 - -* Fri Jul 26 2019 Fedora Release Engineering - 1.4.9-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Wed Jul 10 2019 Ankur Sinha - 1.4.9-4 -- Fix build: rhbz 1706159 - -* Sat Feb 02 2019 Fedora Release Engineering - 1.4.9-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Tue Jan 15 2019 Igor Gnatenko - 1.4.9-2 -- Enable python dependency generator - -* Sat Jan 12 2019 Ankur Sinha - 1.4.9-1 -- Update to 1.4.9 - -* Thu Oct 18 2018 Zbigniew Jędrzejewski-Szmek - 1.4.6-2 -- Subpackage python2-nixio has been removed - See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal - -* Wed Jul 18 2018 Ankur Sinha - 1.4.6-1 -- Update to 1.4.6 - -* Sat Jul 14 2018 Fedora Release Engineering - 1.4.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 19 2018 Miro Hrončok - 1.4.5-2 -- Rebuilt for Python 3.7 - -* Sat Jun 09 2018 Ankur Sinha - 1.4.5-1 -- Update to latest upstream release - -* Fri Feb 09 2018 Fedora Release Engineering - 1.4.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sun Jan 21 2018 Ankur Sinha - 1.4.3-1 -- Use newer release and GitHub sources -- Run tests -- Define summary macro -- Add doc sub package - -* Fri Jan 12 2018 Ankur Sinha - 1.4.2-1 -- Initial build -- use pydist macro +%autochangelog From d46165d7e6383320d1cdc0ffb77fa8edec74036b Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Thu, 6 Jul 2023 12:14:41 +0100 Subject: [PATCH 34/53] feat: drop sphinx docs subpackage since sphinx generated docs are not appropriate for packaging --- python-nixio.spec | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/python-nixio.spec b/python-nixio.spec index dec1f26..2c69623 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -46,14 +46,6 @@ BuildRequires: %{py3_dist matplotlib} %description -n python3-nixio %{description} -%package doc -Summary: %{summary} -BuildRequires: python3-sphinx -BuildRequires: python3-sphinx_rtd_theme - -%description doc -Documentation files for %{name}. - %prep %forgesetup @@ -68,17 +60,6 @@ cp %{SOURCE1} nixio/info.json -v -p %build %pyproject_wheel -PYTHONPATH=. sphinx-build-3 docs/source html -# Remove unneeded files -rm -fr html/.{buildinfo,doctrees} - -# Remove shebang from documentation examples -for f in html/_downloads/*/*.py; do - sed '1{\@^#!/usr/bin/env python@d}' $f > $f.new && - touch -r $f $f.new && - mv $f.new $f -done - %install %pyproject_install %pyproject_save_files nixio @@ -89,9 +70,5 @@ done %files -n python3-nixio -f %{pyproject_files} %{_bindir}/nixio -%files doc -%doc README.rst html -%license LICENSE - %changelog %autochangelog From 47b081258f32cada139e38e6316e0868d71bd728 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 12 Jul 2023 09:27:34 +0200 Subject: [PATCH 35/53] Rebuilt for Python 3.12 From c5965ad6ee8b36b8f9af59b71e14978597c7e7a2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 11:44:32 +0000 Subject: [PATCH 36/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 3d3dcb71e5bce80c75d478cea48e7b822fd15d04 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 03:55:30 +0000 Subject: [PATCH 37/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From fee9c6ba7be48ec9668e6ad2dd172d9d896105d8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jan 2024 07:18:31 +0000 Subject: [PATCH 38/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 0e1270d679dd57eb6389d322ccee03b89671b462 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Sat, 8 Jun 2024 20:58:42 +0200 Subject: [PATCH 39/53] Rebuilt for Python 3.13 From a0b5ab00ddbc6b35690350b184986a85eba3486e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 13:29:06 +0000 Subject: [PATCH 40/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 09ba63a0f222a4fb64b78977e9043b2b4ff373a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 4 Sep 2024 20:20:14 +0200 Subject: [PATCH 41/53] convert license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- python-nixio.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index 2c69623..3430656 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -8,7 +8,8 @@ Summary: Python bindings for NIX %global tag %version %forgemeta -License: BSD +# Automatically converted from old format: BSD - review is highly recommended. +License: LicenseRef-Callaway-BSD URL: %forgeurl Source0: %forgesource # The tagged snapshot on GitHub still says "dev" but the manually uploaded From de4e9df2dc94d0c5f6a6f6401ef46e88642dbe18 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 6 Dec 2024 10:14:37 -0500 Subject: [PATCH 42/53] Drop default -r argument from %pyproject_buildrequires [skip changelog] --- python-nixio.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index 3430656..4badb94 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -56,7 +56,7 @@ sed -i "s/nixpy/nixpy-%{version}/" nixio/test/test_doc_examples.py cp %{SOURCE1} nixio/info.json -v -p %generate_buildrequires -%pyproject_buildrequires -r +%pyproject_buildrequires %build %pyproject_wheel From d1a96adae468bc4a22fb3b720ba00a248fcf7dc0 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 6 Dec 2024 10:11:30 -0500 Subject: [PATCH 43/53] Omit lenna.png from the source archive - https://pagure.io/neuro-sig/NeuroFedora/issue/576 - https://github.com/G-Node/nixpy/issues/545 --- .gitignore | 1 + get_source | 50 +++++++++++++++++++++++++++++++++++++++++++++++ python-nixio.spec | 24 +++++++++++++++++++---- sources | 2 +- 4 files changed, 72 insertions(+), 5 deletions(-) create mode 100755 get_source diff --git a/.gitignore b/.gitignore index 8bd9645..3e6aab7 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /nixpy-1.5.1.tar.gz /nixpy-1.5.2.tar.gz /nixpy-1.5.3.tar.gz +/nixpy-1.5.3-filtered.tar.gz diff --git a/get_source b/get_source new file mode 100755 index 0000000..1ac2cc4 --- /dev/null +++ b/get_source @@ -0,0 +1,50 @@ +#!/bin/sh +set -o errexit +set -o nounset + +if [ "$#" != '1' ] +then + cat 1>&2 < Downloading: ${URL}" 1>&2 +curl -L -O "${URL}" + +ARCHIVE="$(find . -mindepth 1 -maxdepth 1 -type f -name '*.tar.gz' -print -quit)" +echo "--> Extracting: $(basename "${ARCHIVE}")" 1>&2 +tar -xzf "${ARCHIVE}" +echo '--> Removing Lenna/Lena image due to licensing and other issues' 1>&2 +TARDIR="$(basename "${ARCHIVE}" '.tar.gz')" +MTIME="$(stat -c '%Y' "${TARDIR}")" +# https://github.com/G-Node/nixpy/issues/545 +find "${TARDIR}" -type f -name lenna.png -print -delete +# Make sure the original mtime is preserved even if we modified the base +# directory by removing something at the top level. (So far, we didn’t.) +touch -d @"${MTIME}" "${TARDIR}" +FILTERED="$(basename "${ARCHIVE}" .tar.gz)-filtered.tar.gz" +echo "--> Re-archiving: ${FILTERED}" 1>&2 +# https://www.gnu.org/software/tar/manual/html_section/Reproducibility.html +TZ=UTC LC_ALL=C tar \ + --create \ + --sort=name \ + --format=posix \ + --numeric-owner --owner=0 --group=0 \ + --mode=go+u,go-w \ + --pax-option='delete=atime,delete=ctime' \ + "${TARDIR}/" | + gzip -9 > "${FILTERED}" +mv -v "${FILTERED}" "${OUTDIR}" +echo 'Done.' 1>&2 diff --git a/python-nixio.spec b/python-nixio.spec index 4badb94..9e0f86f 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -11,12 +11,22 @@ Summary: Python bindings for NIX # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: %forgeurl -Source0: %forgesource +# We need to upload a filtered version of the source archive because +# docs/source/examples/lenna.png has several issues, including the lack of a +# license. We have asked upstream to deal with this in +# Please consider replacing lenna.png +# https://github.com/G-Node/nixpy/issues/545 +# but for now, we must obtain the filtered archive by running the script in +# Source2: +# ./get_source ${VERSION} +%dnl Source0: %forgesource +Source0: nixpy-%{version}-filtered.tar.gz # The tagged snapshot on GitHub still says "dev" but the manually uploaded # release does not, so use the info.json from there # https://github.com/G-Node/nixpy/issues/528 Source1: info.json - +# * Script used to obtain Source0: ./get_source %%{version} +Source2: get_source BuildArch: noarch # No need for nix, they're uncoupling it from the C++ @@ -48,7 +58,7 @@ BuildRequires: %{py3_dist matplotlib} %{description} %prep -%forgesetup +%autosetup -n nixpy-%{version} # it sets examples_path based on the name of the cwd sed -i "s/nixpy/nixpy-%{version}/" nixio/test/test_doc_examples.py @@ -66,7 +76,13 @@ cp %{SOURCE1} nixio/info.json -v -p %pyproject_save_files nixio %check -%{pytest} +# These require the removed lenna.png sample file: +k="${k-}${k+ and }not (TestDocumentationExamples and test_image_data)" +k="${k-}${k+ and }not (TestDocumentationExamples and test_image_with_metadata)" +k="${k-}${k+ and }not (TestDocumentationExamples and test_multiple_rois)" +k="${k-}${k+ and }not (TestDocumentationExamples and test_single_roi)" + +%pytest -k "${k-}" %files -n python3-nixio -f %{pyproject_files} %{_bindir}/nixio diff --git a/sources b/sources index ef0608e..c783ccb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nixpy-1.5.3.tar.gz) = 1b3fd6bb638797a90a2e899d9ae3663a6a0ee3dfc5fe8c6c0806ed5ac2a34ef54771cdb1a715bf400020c6f5df7f3f348ee7129ed1e055381fa11aa5a8b6b218 +SHA512 (nixpy-1.5.3-filtered.tar.gz) = 00472f0666b4313124b90b8f14219d1f2a5e56e7174b4eaa2174a7d88a3251513f5fc279d49c1b19dbca3c1c5470ae90049347370e94077aeda24c4db1e5e786 From afba59758ea4af679a42ca143c9cbd40f4b99132 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 6 Dec 2024 10:15:23 -0500 Subject: [PATCH 44/53] Correctly update License to SPDX --- python-nixio.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-nixio.spec b/python-nixio.spec index 9e0f86f..a7aa4f8 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -8,8 +8,7 @@ Summary: Python bindings for NIX %global tag %version %forgemeta -# Automatically converted from old format: BSD - review is highly recommended. -License: LicenseRef-Callaway-BSD +License: BSD-3-Clause URL: %forgeurl # We need to upload a filtered version of the source archive because # docs/source/examples/lenna.png has several issues, including the lack of a From 7477ef8e86a5310e8afba2cc4e779d7d538a3542 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 6 Dec 2024 10:18:24 -0500 Subject: [PATCH 45/53] Remove bogus BuildRequires: gcc --- python-nixio.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-nixio.spec b/python-nixio.spec index a7aa4f8..dae904b 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -45,7 +45,6 @@ a storage backend. %package -n python3-nixio Summary: %{summary} BuildRequires: python3-devel -BuildRequires: gcc # use tests_require which is deprecated BuildRequires: %{py3_dist pytest} BuildRequires: %{py3_dist pytest-runner} From 6c4f00285ccd7b419ed13b98c4b378e1b52fdc74 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 6 Dec 2024 10:19:13 -0500 Subject: [PATCH 46/53] Update to 1.5.4 (close RHBZ#2324542) --- .gitignore | 1 + python-nixio.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3e6aab7..9ced77a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /nixpy-1.5.2.tar.gz /nixpy-1.5.3.tar.gz /nixpy-1.5.3-filtered.tar.gz +/nixpy-1.5.4-filtered.tar.gz diff --git a/python-nixio.spec b/python-nixio.spec index dae904b..44a2e76 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -1,7 +1,7 @@ %global forgeurl https://github.com/G-node/nixpy Name: python-nixio -Version: 1.5.3 +Version: 1.5.4 Release: %autorelease Summary: Python bindings for NIX diff --git a/sources b/sources index c783ccb..96c2c29 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nixpy-1.5.3-filtered.tar.gz) = 00472f0666b4313124b90b8f14219d1f2a5e56e7174b4eaa2174a7d88a3251513f5fc279d49c1b19dbca3c1c5470ae90049347370e94077aeda24c4db1e5e786 +SHA512 (nixpy-1.5.4-filtered.tar.gz) = 7842e1643df0b234b8de7f8c1c30875ad70ed2681561ecf570ffff2849f60ea9510e7dba3b6544e8f507eed2583925d52d29c348cc49b2d5da0a22c686e3173d From 7a19d76dc2c67d3a26e09855b93db730e24bf8a7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 16:35:22 +0000 Subject: [PATCH 47/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 0de39b50f4c0462a789b96e221c609016d2ccc4c Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 20 Feb 2025 10:49:51 -0500 Subject: [PATCH 48/53] Remove deprecated pytest-runner dependency - Since the patch offered upstream introduces a "test" extra, use it - Assert that .dist-info contains a license file --- ...-deprecated-pytest-runner-dependency.patch | 34 +++++++++++++++++++ python-nixio.spec | 21 ++++++------ 2 files changed, 45 insertions(+), 10 deletions(-) create mode 100644 0001-Remove-deprecated-pytest-runner-dependency.patch diff --git a/0001-Remove-deprecated-pytest-runner-dependency.patch b/0001-Remove-deprecated-pytest-runner-dependency.patch new file mode 100644 index 0000000..850805a --- /dev/null +++ b/0001-Remove-deprecated-pytest-runner-dependency.patch @@ -0,0 +1,34 @@ +From b550f88e64c01194029a50b92d94955c39bf169f Mon Sep 17 00:00:00 2001 +From: Sandro +Date: Tue, 24 Dec 2024 09:08:28 +0100 +Subject: [PATCH] Remove deprecated pytest-runner dependency + +The `pytest-runner` project has been deprecated since 2019 and has been +archived on git hub in December 2024. + +This removes the dependency on the deprecated package and also removes +deprecated keywords from `setup.py` related to it. +--- + setup.py | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/setup.py b/setup.py +index 16379a5..be594d5 100644 +--- a/setup.py ++++ b/setup.py +@@ -75,9 +75,9 @@ setup( + packages=packages, + scripts=[], + python_requires=">=3.6", +- tests_require=['pytest', 'scipy', 'pillow', 'matplotlib'], +- test_suite='pytest', +- setup_requires=['pytest-runner'], ++ extras_require={ ++ "test": ['pytest', 'scipy', 'pillow', 'matplotlib'], ++ }, + install_requires=['numpy', 'h5py', 'six', 'enum34;python_version<"3.4"'], + package_data={'nixio': [license_text, description_text]}, + include_package_data=True, +-- +2.48.1 + diff --git a/python-nixio.spec b/python-nixio.spec index 44a2e76..9a0cc6d 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -27,10 +27,18 @@ Source1: info.json # * Script used to obtain Source0: ./get_source %%{version} Source2: get_source +# Remove deprecated pytest-runner dependency +# https://github.com/G-Node/nixpy/pull/547 +# Rebased on 1.5.4, without changes to GitHub CI configuration +# https://fedoraproject.org/wiki/Changes/DeprecatePythonPytestRunner +Patch: 0001-Remove-deprecated-pytest-runner-dependency.patch + BuildArch: noarch # No need for nix, they're uncoupling it from the C++ # https://github.com/G-Node/nixpy/pull/276 +BuildRequires: python3-devel + %description The NIX project started as an initiative within the Electrophysiology Task Force a part of the INCF Data sharing Program. The NIX data model allows to @@ -44,19 +52,12 @@ a storage backend. %package -n python3-nixio Summary: %{summary} -BuildRequires: python3-devel -# use tests_require which is deprecated -BuildRequires: %{py3_dist pytest} -BuildRequires: %{py3_dist pytest-runner} -BuildRequires: %{py3_dist scipy} -BuildRequires: %{py3_dist pillow} -BuildRequires: %{py3_dist matplotlib} %description -n python3-nixio %{description} %prep -%autosetup -n nixpy-%{version} +%autosetup -n nixpy-%{version} -p1 # it sets examples_path based on the name of the cwd sed -i "s/nixpy/nixpy-%{version}/" nixio/test/test_doc_examples.py @@ -64,14 +65,14 @@ sed -i "s/nixpy/nixpy-%{version}/" nixio/test/test_doc_examples.py cp %{SOURCE1} nixio/info.json -v -p %generate_buildrequires -%pyproject_buildrequires +%pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install -%pyproject_save_files nixio +%pyproject_save_files -l nixio %check # These require the removed lenna.png sample file: From 8710162d43cb5f80d9e2584ec945d1b54c2765a1 Mon Sep 17 00:00:00 2001 From: Tim Landscheidt Date: Wed, 26 Mar 2025 10:09:03 +0000 Subject: [PATCH 49/53] Fix package description for python3-nixio --- python-nixio.spec | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/python-nixio.spec b/python-nixio.spec index 9a0cc6d..812eabb 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -1,5 +1,16 @@ %global forgeurl https://github.com/G-node/nixpy +%global desc \ +The NIX project started as an initiative within the Electrophysiology Task \ +Force a part of the INCF Data sharing Program. The NIX data model allows to \ +store fully annotated scientific data-set, i.e. the data together with its \ +metadata within the same container. Our aim is to achieve standardization by \ +providing a common/generic data structure for a multitude of data types. See \ +the wiki for more information \ + \ +The current implementations store the actual data using the HDF5 file format as \ +a storage backend. + Name: python-nixio Version: 1.5.4 Release: %autorelease @@ -39,22 +50,12 @@ BuildArch: noarch BuildRequires: python3-devel -%description -The NIX project started as an initiative within the Electrophysiology Task -Force a part of the INCF Data sharing Program. The NIX data model allows to -store fully annotated scientific data-set, i.e. the data together with its -metadata within the same container. Our aim is to achieve standardization by -providing a common/generic data structure for a multitude of data types. See -the wiki for more information - -The current implementations store the actual data using the HDF5 file format as -a storage backend. +%description %{desc} %package -n python3-nixio Summary: %{summary} -%description -n python3-nixio -%{description} +%description -n python3-nixio %{desc} %prep %autosetup -n nixpy-%{version} -p1 From 285c473c5738f86921cb927d6e84657d966746c8 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 3 Jun 2025 21:15:55 +0200 Subject: [PATCH 50/53] Rebuilt for Python 3.14 From 2af42a40dfa5aa388f67b6bb20972f69c9d16d7a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 09:04:04 +0000 Subject: [PATCH 51/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 81ba8fa429ceb7bf67cb7e7280cedfd1f365bb28 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 14:14:13 +0200 Subject: [PATCH 52/53] Rebuilt for Python 3.14.0rc2 bytecode From ec936fdcf96887e3b8b56a3b95f9e1fb1bee53a1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 13:50:14 +0200 Subject: [PATCH 53/53] Rebuilt for Python 3.14.0rc3 bytecode