3 Commits
epel8 ... f35

Author SHA1 Message Date
Fedora Release Engineering
2e3774d94c - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 09:07:15 +00:00
Python Maint
ac5669ae39 Rebuilt for Python 3.10 2021-06-04 20:58:32 +02:00
Tomas Hrnciar
6ca5e637a2 BuildRequire setuptools explicitly
See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools
2021-04-19 13:18:32 +02:00
4 changed files with 34 additions and 42 deletions

1
.gitignore vendored
View File

@@ -1,2 +1 @@
/re_assert-1.1.0.tar.gz
/re-assert-1.1.0.tar.gz

View File

@@ -1,5 +0,0 @@
* Thu Oct 13 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.1.0-2
- Run the tests from the GitHub archive
* Sun Mar 21 2021 Chedi Toueiti <chedi.toueiti@gmail.com> - 1.1.0-1
- Initial commit

View File

@@ -1,58 +1,56 @@
Name: python-re-assert
Version: 1.1.0
Release: %autorelease
Summary: Show where your regex match assertion failed
%global srcname re_assert
%global pkgname re-assert
# SPDX
License: MIT
URL: https://github.com/asottile/re-assert
Source0: %{url}/archive/v%{version}/re-assert-%{version}.tar.gz
Name: python-%{pkgname}
Version: 1.1.0
Release: 3%{?dist}
Summary: Show where your regex match assertion failed!
License: MIT
BuildArch: noarch
URL: https://github.com/asottile/re-assert
Source0: %{pypi_source}
BuildRequires: python3-devel
BuildRequires: %{py3_dist setuptools}
BuildArch: noarch
# For tests
BuildRequires: %{py3_dist pytest}
BuildRequires: %{py3_dist regex}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
%global common_description %{expand:
%{summary}!}
%global _description %{expand:
Show where your regex match assertion failed!
}
%description %{common_description}
%description %{_description}
%package -n python3-re-assert
%package -n python3-%{pkgname}
Summary: %summary
%py_provides python3-re-assert
%description -n python3-re-assert %{common_description}
%py_provides python3-%{pkgname}
%description -n python3-%{pkgname} %{_description}
%prep
%autosetup -n re-assert-%{version}
%autosetup -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
%check
%pytest
%files -n python3-re-assert
%files -n python3-%{pkgname}
%license LICENSE
%doc README.md
%pycached %{python3_sitelib}/re_assert.py
%{python3_sitelib}/re_assert-%{version}-py%{python3_version}.egg-info/
%{python3_sitelib}/re_assert.py
%{python3_sitelib}/__pycache__/re_assert.*.pyc
%{python3_sitelib}/%{srcname}-*.egg-info/
%changelog
%autochangelog
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1.0-2
- Rebuilt for Python 3.10
* Sun Mar 21 2021 Chedi Toueiti <chedi.toueiti@gmail.com> - 1.1.0-1
- Initial commit

View File

@@ -1 +1 @@
SHA512 (re-assert-1.1.0.tar.gz) = fc14267cc68a12ff7350982f0bf54c77107809c9f0379ab3aa73fa1b7cf5ccabb130fcd35ab75bdf183e69c802a041deac707e1f0bab1c3815d4146b4e320c07
SHA512 (re_assert-1.1.0.tar.gz) = 4ba11f8d7a5ea9cc4553e76f4b26ecd7fa0af58139d0b9d4322f1e6646bb81a6400f19bbf62409de2136611535f0d344bcc3e3f12fc057bd2c05d9b4407303cd