10 Commits
f39 ... f41

Author SHA1 Message Date
Benjamin A. Beasley
a81dd0cba7 F41+: Use the provisional pyproject declarative buildsystem 2025-05-06 22:38:24 -04:00
Benjamin A. Beasley
313ce4cad2 Do not patch in a test extra downstream 2025-05-06 22:36:42 -04:00
Benjamin A. Beasley
3c4ab4b429 Package README.md as documentation 2025-05-06 22:34:28 -04:00
Benjamin A. Beasley
ccc49b5b15 Simplify the spec file 2025-05-06 22:33:12 -04:00
Fedora Release Engineering
67f9a5e2d7 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 18:42:17 +00:00
Fedora Release Engineering
3125f01d48 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 15:17:43 +00:00
Python Maint
34e64eede1 Rebuilt for Python 3.13 2024-06-07 14:10:32 +02:00
Fedora Release Engineering
3f614082ad Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 09:56:18 +00:00
Fedora Release Engineering
7cfe7f013e Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 06:21:29 +00:00
Benjamin A. Beasley
c6dcd71ced Assert that %pyproject_files contains a license file 2024-01-02 10:15:20 -05:00
2 changed files with 23 additions and 48 deletions

View File

@@ -1,14 +0,0 @@
diff -Naur re-assert-1.1.0.orig/setup.cfg re-assert-1.1.0/setup.cfg
--- re-assert-1.1.0.orig/setup.cfg 2022-10-13 16:11:49.695696821 +0100
+++ re-assert-1.1.0/setup.cfg 2022-10-13 16:13:32.453753495 +0100
@@ -23,6 +23,10 @@
regex
python_requires = >=3.6.1
+[options.extras_require]
+test =
+ pytest >= 3
+
[bdist_wheel]
universal = True

View File

@@ -1,50 +1,39 @@
%global srcname re-assert
%global slugname re_assert
%global forgeurl https://github.com/asottile/re-assert
%global common_description %{expand:
Show where your regex match assertion failed!}
%bcond_without tests
Name: python-%{srcname}
Name: python-re-assert
Version: 1.1.0
%forgemeta
Release: %autorelease
Summary: Show where your regex match assertion failed!
URL: %{forgeurl}
Source: %{forgesource}
Patch: 0001_adding_pytest_to_the_testing_dependencies.patch
Summary: Show where your regex match assertion failed
# SPDX
License: MIT
URL: https://github.com/asottile/re-assert
Source: %{url}/archive/v%{version}/re-assert-%{version}.tar.gz
BuildSystem: pyproject
BuildOption(install): -l re_assert
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: %{py3_dist pytest}
%global common_description %{expand:
%{summary}!}
%description %{common_description}
%package -n python3-%{srcname}
%package -n python3-re-assert
Summary: %{summary}
%description -n python3-%{srcname} %{common_description}
%prep
%forgeautosetup -p1
%description -n python3-re-assert %{common_description}
%generate_buildrequires
%pyproject_buildrequires %{?with_tests:-x test}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{slugname}
%if %{with tests}
%check
%check -a
%pytest
%endif
%files -n python3-%{srcname} -f %{pyproject_files}
%files -n python3-re-assert -f %{pyproject_files}
%doc README.md
%changelog
%autochangelog
%autochangelog