Run the tests from the GitHub archive
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
/re_assert-1.1.0.tar.gz
|
||||
/re-assert-1.1.0.tar.gz
|
||||
|
||||
@@ -3,18 +3,22 @@
|
||||
|
||||
Name: python-%{pkgname}
|
||||
Version: 1.1.0
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Show where your regex match assertion failed!
|
||||
License: MIT
|
||||
|
||||
URL: https://github.com/asottile/re-assert
|
||||
Source0: %{pypi_source}
|
||||
# The PyPI sdist lacks the tests, so we must use the GitHub archive
|
||||
Source0: %{url}/archive/v%{version}/re-assert-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3dist(setuptools)
|
||||
|
||||
# For tests
|
||||
BuildRequires: python3dist(pytest)
|
||||
BuildRequires: python3dist(regex)
|
||||
|
||||
%global _description %{expand:
|
||||
Show where your regex match assertion failed!
|
||||
@@ -29,7 +33,7 @@ Summary: %summary
|
||||
%description -n python3-%{pkgname} %{_description}
|
||||
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{version}
|
||||
%autosetup -n %{pkgname}-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@@ -37,6 +41,8 @@ Summary: %summary
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files -n python3-%{pkgname}
|
||||
%license LICENSE
|
||||
@@ -46,6 +52,9 @@ Summary: %summary
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Oct 13 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.1.0-7
|
||||
- Run the tests from the GitHub archive
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
||||
2
sources
2
sources
@@ -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