diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..10e8dc2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/re_assert-1.1.0.tar.gz diff --git a/README.md b/README.md index a1d2e0e..9f8888a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ # python-re-assert The python-re-assert package + + +Show where your regex match assertion failed! \ No newline at end of file diff --git a/python-re-assert.spec b/python-re-assert.spec new file mode 100644 index 0000000..7d9f82c --- /dev/null +++ b/python-re-assert.spec @@ -0,0 +1,49 @@ +%global srcname re_assert +%global pkgname re-assert + +Name: python-%{pkgname} +Version: 1.1.0 +Release: 1%{?dist} +Summary: Show where your regex match assertion failed! +License: MIT + +URL: https://github.com/asottile/re-assert +Source0: %{pypi_source} + +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pytest + +%global _description %{expand: +Show where your regex match assertion failed! +} + +%description %{_description} + +%package -n python3-%{pkgname} +Summary: %summary + +%py_provides python3-%{pkgname} +%description -n python3-%{pkgname} %{_description} + +%prep +%autosetup -n %{srcname}-%{version} + +%build +%py3_build + +%install +%py3_install + + +%files -n python3-%{pkgname} +%license LICENSE +%{python3_sitelib}/re_assert.py +%{python3_sitelib}/__pycache__/re_assert.*.pyc +%{python3_sitelib}/%{srcname}-*.egg-info/ + + +%changelog +* Sun Mar 21 2021 Chedi Toueiti - 1.1.0-1 +- Initial commit diff --git a/sources b/sources new file mode 100644 index 0000000..350b0d5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (re_assert-1.1.0.tar.gz) = 4ba11f8d7a5ea9cc4553e76f4b26ecd7fa0af58139d0b9d4322f1e6646bb81a6400f19bbf62409de2136611535f0d344bcc3e3f12fc057bd2c05d9b4407303cd