Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c5de768ebc | ||
|
|
ae856631e5 | ||
|
|
c0d472b7d4 | ||
|
|
cceba8859f | ||
|
|
fee334801b |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@
|
||||
/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.3.1
|
||||
Version: 0.4
|
||||
Release: %autorelease
|
||||
Summary: Parsing made fun … using typing
|
||||
|
||||
@@ -11,6 +11,13 @@ BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
|
||||
# See requirements.test.txt. We list test dependencies manually since we do not
|
||||
# want pytest-cov
|
||||
# (https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters)
|
||||
# and the other pytest plugins are spurious
|
||||
# (https://github.com/hgrecco/flexparser/pull/10).
|
||||
BuildRequires: %{py3_dist pytest}
|
||||
|
||||
%global common_description %{expand:
|
||||
The idea is quite simple. You write a class for every type of content (called
|
||||
here ParsedStatement) you need to parse. Each class should have a from_string
|
||||
@@ -28,12 +35,10 @@ 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 -x test
|
||||
%pyproject_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
|
||||
2
sources
2
sources
@@ -1 +1 @@
|
||||
SHA512 (flexparser-0.3.1.tar.gz) = 420e0a1e6870666aedcc06a130f300d05c5ce9ee61a8176f82cdf261a8b7fd9aec4a6723317ecef626b9175e654c7e70bea245b79c2c65d9741964aa3a2700a1
|
||||
SHA512 (flexparser-0.4.tar.gz) = a5f183cb7e97968bfd3475d9854495e99a7f6422afcb96c93ac134a574d85b23d360cc5e4f816e91aea87b55b9479492fced92e4f06d3f033ae9fcf69b26d181
|
||||
|
||||
Reference in New Issue
Block a user