10 Commits
f33 ... f37

Author SHA1 Message Date
chedi toueiti
dd57d49bd8 updating the build script to the latest guidelines 2022-10-14 22:05:07 +01:00
Benjamin A. Beasley
125b050008 Confirm License is SPDX MIT 2022-10-13 10:06:40 -04:00
Benjamin A. Beasley
68c1f0c9b6 Drop a trailing blank line in the description 2022-10-13 10:06:40 -04:00
Benjamin A. Beasley
bab1835794 Run the tests from the GitHub archive 2022-10-13 10:06:40 -04:00
Fedora Release Engineering
6c5f6b5314 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 21:54:11 +00:00
Python Maint
5f969e15f4 Rebuilt for Python 3.11 2022-06-13 17:15:24 +02:00
Fedora Release Engineering
5caa4790bb - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 15:07:33 +00:00
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 51 additions and 35 deletions

1
.gitignore vendored
View File

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

View File

@@ -0,0 +1,14 @@
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,49 +1,50 @@
%global srcname re_assert
%global pkgname re-assert
%global srcname re-assert
%global slugname re_assert
%global forgeurl https://github.com/asottile/re-assert
Name: python-%{pkgname}
Version: 1.1.0
Release: 1%{?dist}
Summary: Show where your regex match assertion failed!
License: MIT
%global common_description %{expand:
Show where your regex match assertion failed!}
URL: https://github.com/asottile/re-assert
Source0: %{pypi_source}
%bcond_without tests
BuildArch: noarch
Name: python-%{srcname}
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
# SPDX
License: MIT
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-devel
BuildRequires: python3-pytest
%description %{common_description}
%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}
%package -n python3-%{srcname}
Summary: %{summary}
%description -n python3-%{srcname} %{common_description}
%prep
%autosetup -n %{srcname}-%{version}
%forgeautosetup -p1
%generate_buildrequires
%pyproject_buildrequires %{?with_tests:-x test}
%build
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_install
%pyproject_save_files %{slugname}
%if %{with tests}
%check
%pytest
%endif
%files -n python3-%{pkgname}
%license LICENSE
%{python3_sitelib}/re_assert.py
%{python3_sitelib}/__pycache__/re_assert.*.pyc
%{python3_sitelib}/%{srcname}-*.egg-info/
%files -n python3-%{srcname} -f %{pyproject_files}
%changelog
* Sun Mar 21 2021 Chedi Toueiti <chedi.toueiti@gmail.com> - 1.1.0-1
- Initial commit
%autochangelog

View File

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