public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-quantities] rawhide: Adjustments for 0.17.0
@ 2026-11-21 6:32 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-21 6:32 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-quantities
Branch : rawhide
Commit : 838e206d00fb4f8f2362cafdb5f0648c60386ad0
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-21T06:30:42+00:00
Stats : +7/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-quantities/c/838e206d00fb4f8f2362cafdb5f0648c60386ad0?branch=rawhide
Log:
Adjustments for 0.17.0
---
diff --git a/python-quantities.spec b/python-quantities.spec
index 0667ac7..3be30a6 100644
--- a/python-quantities.spec
+++ b/python-quantities.spec
@@ -12,6 +12,10 @@ Source: %forgesource
BuildArch: noarch
+# Test dependencies: see the “test” extra, which has unwanted linters etc.
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
+BuildRequires: %{py3_dist pytest}
+
%global _description %{expand:
Quantities is designed to handle arithmetic and conversions of physical
quantities, which have a magnitude, dimensionality specified by various units,
@@ -33,7 +37,7 @@ Summary: Support for physical quantities with units, based on numpy
%generate_buildrequires
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
-%pyproject_buildrequires -x test
+%pyproject_buildrequires
%build
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
@@ -44,10 +48,11 @@ export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
%pyproject_save_files -l quantities
%check
+%pyproject_check_import
PY_IGNORE_IMPORTMISMATCH=1 %pytest
%files -n python3-quantities -f %{pyproject_files}
-%doc CHANGES.txt README.rst
+%doc CHANGES.rst README.rst
%changelog
%autochangelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-21 6:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-21 6:32 [rpms/python-quantities] rawhide: Adjustments for 0.17.0 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox