Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
edd126dcfe | ||
|
|
99641a0988 | ||
|
|
6036171d6a |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,4 +2,3 @@
|
||||
/flexparser-0.2.1.tar.gz
|
||||
/flexparser-0.3.tar.gz
|
||||
/flexparser-0.3.1.tar.gz
|
||||
/flexparser-0.4.tar.gz
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: python-flexparser
|
||||
Version: 0.4
|
||||
Version: 0.3.1
|
||||
Release: %autorelease
|
||||
Summary: Parsing made fun … using typing
|
||||
|
||||
@@ -28,10 +28,12 @@ Summary: %{summary}
|
||||
|
||||
%prep
|
||||
%autosetup -n flexparser-%{version}
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
|
||||
sed -r -i 's/^([[:blank:]]*)\b(pytest-cov)\b/\1# \2/' requirements.test.txt
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
%pyproject_buildrequires -x test
|
||||
|
||||
|
||||
%build
|
||||
@@ -53,6 +55,10 @@ rm -rvf '%{buildroot}%{python3_sitelib}/flexparser/testsuite'
|
||||
sed -r -i '/\/flexparser\/testsuite/d' %{pyproject_files}
|
||||
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
|
||||
%files -n python3-flexparser -f %{pyproject_files}
|
||||
%doc README.rst
|
||||
%doc CHANGES
|
||||
|
||||
2
sources
2
sources
@@ -1 +1 @@
|
||||
SHA512 (flexparser-0.4.tar.gz) = a5f183cb7e97968bfd3475d9854495e99a7f6422afcb96c93ac134a574d85b23d360cc5e4f816e91aea87b55b9479492fced92e4f06d3f033ae9fcf69b26d181
|
||||
SHA512 (flexparser-0.3.1.tar.gz) = 420e0a1e6870666aedcc06a130f300d05c5ce9ee61a8176f82cdf261a8b7fd9aec4a6723317ecef626b9175e654c7e70bea245b79c2c65d9741964aa3a2700a1
|
||||
|
||||
Reference in New Issue
Block a user