The package rpms/python-pyABF.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/python-pyABF.git/commit/?id=640db....
Change:
+ExcludeArch: s390x
Thanks.
Full change:
============
commit b6537d786134dae18ce0c43d150b4cfe48bf839a
Author: Sandro <devel(a)penguinpee.nl>
Date: Sun May 19 12:03:10 2024 +0200
Make base package noarch
We will keep excluding `s390x` due to big endian issues.
diff --git a/python-pyABF.spec b/python-pyABF.spec
index 3e0aeb3..1c5dbac 100644
--- a/python-pyABF.spec
+++ b/python-pyABF.spec
@@ -11,11 +11,6 @@ License: MIT
URL:
https://swharden.com/pyabf
Source: %forgesource
-# Let the base package be arched so that it is tested on all architectures,
-# even though the binary packages are arch-independent. This is because the
-# package has a history of arch-dependent (host-endian-dependent) test
-# failures.
-%global debug_package %{nil}
# python-pyABF: FTBFS on s390x (big-endian)
#
https://bugzilla.redhat.com/show_bug.cgi?id=2256818
#
@@ -23,7 +18,7 @@ Source: %forgesource
# for big-endian data files. Without further investigation, it’s probably best
# not to offer the package to big-endian users.
ExcludeArch: s390x
-
+BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(pytest)
@@ -39,8 +34,6 @@ ABF1 and ABF2 files and can write ABF1 files.}
%package -n python3-pyABF
Summary: %{summary}
-BuildArch: noarch
-
%description -n python3-pyABF %_description
commit 0990565648ce48af37bb003385f8c3e129a9116e
Author: Sandro <devel(a)penguinpee.nl>
Date: Sun May 19 12:01:15 2024 +0200
Migrate to SPDX license (no change)
MIT == MIT
diff --git a/python-pyABF.spec b/python-pyABF.spec
index a81153b..3e0aeb3 100644
--- a/python-pyABF.spec
+++ b/python-pyABF.spec
@@ -6,6 +6,7 @@ Release: %autorelease
Summary: Python library for reading files in Axon Binary Format
%global tag %{version}
%forgemeta
+# SPDX
License: MIT
URL:
https://swharden.com/pyabf
Source: %forgesource
commit e519a0b7d840edba89929e038fe24f48b1bdffd1
Author: Sandro <devel(a)penguinpee.nl>
Date: Sat May 18 22:43:03 2024 +0200
Add Packit config
diff --git a/.packit.yaml b/.packit.yaml
new file mode 100644
index 0000000..95daae7
--- /dev/null
+++ b/.packit.yaml
@@ -0,0 +1,13 @@
+upstream_project_url:
https://github.com/swharden/pyABF
+copy_upstream_release_description: false
+
+jobs:
+ - job: pull_from_upstream
+ trigger: release
+ dist_git_branches:
+ - fedora-rawhide
+ - job: koji_build
+ trigger: commit
+ dist_git_branches:
+ - fedora-all
+
commit b64c6ee5a60969ec452719304f2c1df6e74f7d29
Author: Sandro <devel(a)penguinpee.nl>
Date: Sat May 18 22:32:48 2024 +0200
Don't require pytest at runtime
It's a build requirement for testing. Not used at runtime.
[skip changelog]
diff --git a/python-pyABF.spec b/python-pyABF.spec
index 8777b34..a81153b 100644
--- a/python-pyABF.spec
+++ b/python-pyABF.spec
@@ -24,6 +24,7 @@ Source: %forgesource
ExcludeArch: s390x
BuildRequires: python3-devel
+BuildRequires: python3dist(pytest)
%global _description %{expand:
pyABF provides a Python interface to electrophysiology files in the
@@ -45,6 +46,10 @@ BuildArch: noarch
%prep
%forgeautosetup -p1
+# `pytest` is listed as runtime requirement, but it's only needed for
+# running te tests. Remove it from `setup.py`
+sed -i '/pytest/ d' src/setup.py
+
%generate_buildrequires
cd src/
commit 06e0d2839fcf1b2cc1d252d79b907216c15b000b
Author: Sandro <devel(a)penguinpee.nl>
Date: Sat May 18 22:08:34 2024 +0200
Update to 2.3.8
diff --git a/.gitignore b/.gitignore
index 8e85ae6..792bf94 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/python-pyABF-2.3.6.tar.gz
/pyABF-2.3.6.tar.gz
+/pyABF-2.3.8.tar.gz
diff --git a/python-pyABF.spec b/python-pyABF.spec
index 9af0b89..8777b34 100644
--- a/python-pyABF.spec
+++ b/python-pyABF.spec
@@ -1,7 +1,7 @@
%global forgeurl
https://github.com/swharden/pyABF
Name: python-pyABF
-Version: 2.3.6
+Version: 2.3.8
Release: %autorelease
Summary: Python library for reading files in Axon Binary Format
%global tag %{version}
diff --git a/sources b/sources
index 566fee4..3afefd3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyABF-2.3.6.tar.gz) =
7e175b1190ed73521ef84fabc704a23e9063a324bea244a49e9a9b590b2750b85a08f96e2230e17bea0db248358bef2bf678bc0d40d8a61a0dde12973082308e
+SHA512 (pyABF-2.3.8.tar.gz) =
9983ab8ab7caf89e394ffa611b9b0feb2f9bfbfaa7f097b3b875b35d0fec782235b1b4fa24469d63f69b50970f57775dc979ecd8c01ed8e7e19a4fcc0a4a0874
commit b333ec38c326d588218ac46a1bdc29b3670d53e2
Author: Sandro <devel(a)penguinpee.nl>
Date: Sat May 18 22:06:19 2024 +0200
Also run slow (file) tests
The only take a minute on my old rig.
[skip changelog]
diff --git a/python-pyABF.spec b/python-pyABF.spec
index 1745fd9..9af0b89 100644
--- a/python-pyABF.spec
+++ b/python-pyABF.spec
@@ -63,7 +63,7 @@ cd src/
%check
-%pytest -v
+%pytest -v --runslow
%files -n python3-pyABF -f %{pyproject_files}
commit a5dc5e667e1d8925adcc99b2e5a67fea595df1cd
Author: Sandro <devel(a)penguinpee.nl>
Date: Sat May 18 21:54:08 2024 +0200
Minor, nitpicky, changes
- Don't enumerate sole source
- Drop BR on `pytest` (it's listed in `setup.py`)
- Run tests verbosely
[skip changelog]
diff --git a/python-pyABF.spec b/python-pyABF.spec
index e1328de..1745fd9 100644
--- a/python-pyABF.spec
+++ b/python-pyABF.spec
@@ -8,7 +8,7 @@ Summary: Python library for reading files in Axon Binary Format
%forgemeta
License: MIT
URL:
https://swharden.com/pyabf
-Source0: %forgesource
+Source: %forgesource
# Let the base package be arched so that it is tested on all architectures,
# even though the binary packages are arch-independent. This is because the
@@ -24,7 +24,6 @@ Source0: %forgesource
ExcludeArch: s390x
BuildRequires: python3-devel
-BuildRequires: python3-pytest
%global _description %{expand:
pyABF provides a Python interface to electrophysiology files in the
@@ -34,6 +33,7 @@ ABF1 and ABF2 files and can write ABF1 files.}
%description %_description
+
%package -n python3-pyABF
Summary: %{summary}
@@ -45,9 +45,10 @@ BuildArch: noarch
%prep
%forgeautosetup -p1
+
%generate_buildrequires
cd src/
-%pyproject_buildrequires
+%pyproject_buildrequires
%build
@@ -60,8 +61,9 @@ cd src/
%pyproject_install
%pyproject_save_files -l pyabf
+
%check
-%pytest
+%pytest -v
%files -n python3-pyABF -f %{pyproject_files}
commit 3e3da80f6d0048bf24ac592a81f4b81605bd660d
Author: Sandro <devel(a)penguinpee.nl>
Date: Sat May 18 21:49:14 2024 +0200
Update URL and description
[skip changelog]
diff --git a/python-pyABF.spec b/python-pyABF.spec
index ec9377a..e1328de 100644
--- a/python-pyABF.spec
+++ b/python-pyABF.spec
@@ -7,7 +7,7 @@ Summary: Python library for reading files in Axon Binary Format
%global tag %{version}
%forgemeta
License: MIT
-URL: %forgeurl
+URL:
https://swharden.com/pyabf
Source0: %forgesource
# Let the base package be arched so that it is tested on all architectures,
@@ -27,8 +27,10 @@ BuildRequires: python3-devel
BuildRequires: python3-pytest
%global _description %{expand:
-pyABF is a Python package for reading electrophysiology
-data from Axon Binary Format (ABF) files.}
+pyABF provides a Python interface to electrophysiology files in the
+Axon Binary Format (ABF). pyABF supports Python 3 and does not use
+obscure libraries (just numpy and matplotlib). pyABF supports reading
+ABF1 and ABF2 files and can write ABF1 files.}
%description %_description
commit 823b7b6f4d9e82ed69b5712b71bec10c307395c4
Author: Sandro <devel(a)penguinpee.nl>
Date: Sat May 18 21:46:22 2024 +0200
User forge macros
[skip changelog]
diff --git a/.gitignore b/.gitignore
index 56cd3f6..8e85ae6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/python-pyABF-2.3.6.tar.gz
+/pyABF-2.3.6.tar.gz
diff --git a/python-pyABF.spec b/python-pyABF.spec
index 9b77d31..ec9377a 100644
--- a/python-pyABF.spec
+++ b/python-pyABF.spec
@@ -1,11 +1,14 @@
+%global forgeurl
https://github.com/swharden/pyABF
+
Name: python-pyABF
Version: 2.3.6
Release: %autorelease
Summary: Python library for reading files in Axon Binary Format
-
+%global tag %{version}
+%forgemeta
License: MIT
-URL:
https://github.com/swharden/pyABF
-Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+URL: %forgeurl
+Source0: %forgesource
# Let the base package be arched so that it is tested on all architectures,
# even though the binary packages are arch-independent. This is because the
@@ -38,7 +41,7 @@ BuildArch: noarch
%prep
-%autosetup -n pyABF-%{version}
+%forgeautosetup -p1
%generate_buildrequires
cd src/
diff --git a/sources b/sources
index 38cb907..566fee4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-pyABF-2.3.6.tar.gz) =
7e175b1190ed73521ef84fabc704a23e9063a324bea244a49e9a9b590b2750b85a08f96e2230e17bea0db248358bef2bf678bc0d40d8a61a0dde12973082308e
+SHA512 (pyABF-2.3.6.tar.gz) =
7e175b1190ed73521ef84fabc704a23e9063a324bea244a49e9a9b590b2750b85a08f96e2230e17bea0db248358bef2bf678bc0d40d8a61a0dde12973082308e
commit 640db05a4c722f3bb2e682707cb8f7a5ee3dc48f
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Thu Jan 4 11:00:29 2024 -0500
Run tests on all architectures; exclude big-endian (s390x) for now due to failures
diff --git a/python-pyABF.spec b/python-pyABF.spec
index df48f14..9b77d31 100644
--- a/python-pyABF.spec
+++ b/python-pyABF.spec
@@ -7,7 +7,19 @@ License: MIT
URL:
https://github.com/swharden/pyABF
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
-BuildArch: noarch
+# Let the base package be arched so that it is tested on all architectures,
+# even though the binary packages are arch-independent. This is because the
+# package has a history of arch-dependent (host-endian-dependent) test
+# failures.
+%global debug_package %{nil}
+# python-pyABF: FTBFS on s390x (big-endian)
+#
https://bugzilla.redhat.com/show_bug.cgi?id=2256818
+#
+# It *may* be that the package works fine on big-endian architectures, but only
+# for big-endian data files. Without further investigation, it’s probably best
+# not to offer the package to big-endian users.
+ExcludeArch: s390x
+
BuildRequires: python3-devel
BuildRequires: python3-pytest
@@ -20,6 +32,8 @@ data from Axon Binary Format (ABF) files.}
%package -n python3-pyABF
Summary: %{summary}
+BuildArch: noarch
+
%description -n python3-pyABF %_description
commit 4ff2ba73006f180a2c913f5bb347147d5fab5919
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Thu Jan 4 10:19:14 2024 -0500
Assert that a license file is present in the .dist-info directory
diff --git a/python-pyABF.spec b/python-pyABF.spec
index 2327dd5..df48f14 100644
--- a/python-pyABF.spec
+++ b/python-pyABF.spec
@@ -39,7 +39,7 @@ cd src/
%install
cd src/
%pyproject_install
-%pyproject_save_files pyabf
+%pyproject_save_files -l pyabf
%check
%pytest
commit 7a8bf02a87ff965dde63f61b74ef69ccf288bcc3
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Thu Jan 4 10:19:06 2024 -0500
Don’t pass -r to %pyproject_buildrequires since it is the default
[skip changelog]
diff --git a/python-pyABF.spec b/python-pyABF.spec
index 16ad32b..2327dd5 100644
--- a/python-pyABF.spec
+++ b/python-pyABF.spec
@@ -28,7 +28,7 @@ Summary: %{summary}
%generate_buildrequires
cd src/
-%pyproject_buildrequires -r
+%pyproject_buildrequires
%build