Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3542039a7f | |||
| 6b4b457452 | |||
| 3408d6b45f | |||
| f0cfeb49c3 | |||
| 6e0e13356f | |||
| 6e4e64e950 | |||
| b5b2182563 |
@@ -1 +1,2 @@
|
|||||||
/re_assert-1.1.0.tar.gz
|
/re_assert-1.1.0.tar.gz
|
||||||
|
/re-assert-1.1.0.tar.gz
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
* 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
|
||||||
+35
-26
@@ -1,49 +1,58 @@
|
|||||||
%global srcname re_assert
|
Name: python-re-assert
|
||||||
%global pkgname re-assert
|
Version: 1.1.0
|
||||||
|
Release: %autorelease
|
||||||
|
Summary: Show where your regex match assertion failed
|
||||||
|
|
||||||
Name: python-%{pkgname}
|
# SPDX
|
||||||
Version: 1.1.0
|
License: MIT
|
||||||
Release: 1%{?dist}
|
URL: https://github.com/asottile/re-assert
|
||||||
Summary: Show where your regex match assertion failed!
|
Source0: %{url}/archive/v%{version}/re-assert-%{version}.tar.gz
|
||||||
License: MIT
|
|
||||||
|
|
||||||
URL: https://github.com/asottile/re-assert
|
BuildArch: noarch
|
||||||
Source0: %{pypi_source}
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: %{py3_dist setuptools}
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
# For tests
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: %{py3_dist pytest}
|
||||||
|
BuildRequires: %{py3_dist regex}
|
||||||
|
|
||||||
%global _description %{expand:
|
%global common_description %{expand:
|
||||||
Show where your regex match assertion failed!
|
%{summary}!}
|
||||||
}
|
|
||||||
|
|
||||||
%description %{_description}
|
%description %{common_description}
|
||||||
|
|
||||||
%package -n python3-%{pkgname}
|
|
||||||
|
%package -n python3-re-assert
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
|
|
||||||
%py_provides python3-%{pkgname}
|
%py_provides python3-re-assert
|
||||||
%description -n python3-%{pkgname} %{_description}
|
%description -n python3-re-assert %{common_description}
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{srcname}-%{version}
|
%autosetup -n re-assert-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-%{pkgname}
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
|
|
||||||
|
%files -n python3-re-assert
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/re_assert.py
|
%doc README.md
|
||||||
%{python3_sitelib}/__pycache__/re_assert.*.pyc
|
|
||||||
%{python3_sitelib}/%{srcname}-*.egg-info/
|
%pycached %{python3_sitelib}/re_assert.py
|
||||||
|
%{python3_sitelib}/re_assert-%{version}-py%{python3_version}.egg-info/
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun Mar 21 2021 Chedi Toueiti <chedi.toueiti@gmail.com> - 1.1.0-1
|
%autochangelog
|
||||||
- Initial commit
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
SHA512 (re_assert-1.1.0.tar.gz) = 4ba11f8d7a5ea9cc4553e76f4b26ecd7fa0af58139d0b9d4322f1e6646bb81a6400f19bbf62409de2136611535f0d344bcc3e3f12fc057bd2c05d9b4407303cd
|
SHA512 (re-assert-1.1.0.tar.gz) = fc14267cc68a12ff7350982f0bf54c77107809c9f0379ab3aa73fa1b7cf5ccabb130fcd35ab75bdf183e69c802a041deac707e1f0bab1c3815d4146b4e320c07
|
||||||
|
|||||||
Reference in New Issue
Block a user