Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
edd126dcfe | ||
|
|
99641a0988 | ||
|
|
6036171d6a |
@@ -2,4 +2,3 @@
|
|||||||
/flexparser-0.2.1.tar.gz
|
/flexparser-0.2.1.tar.gz
|
||||||
/flexparser-0.3.tar.gz
|
/flexparser-0.3.tar.gz
|
||||||
/flexparser-0.3.1.tar.gz
|
/flexparser-0.3.1.tar.gz
|
||||||
/flexparser-0.4.tar.gz
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
Name: python-flexparser
|
Name: python-flexparser
|
||||||
Version: 0.4
|
Version: 0.3.1
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
Summary: Parsing made fun … using typing
|
Summary: Parsing made fun … using typing
|
||||||
|
|
||||||
@@ -11,13 +11,6 @@ BuildArch: noarch
|
|||||||
|
|
||||||
BuildRequires: python3-devel
|
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:
|
%global common_description %{expand:
|
||||||
The idea is quite simple. You write a class for every type of content (called
|
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
|
here ParsedStatement) you need to parse. Each class should have a from_string
|
||||||
@@ -35,10 +28,12 @@ Summary: %{summary}
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n flexparser-%{version}
|
%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
|
%generate_buildrequires
|
||||||
%pyproject_buildrequires
|
%pyproject_buildrequires -x test
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
SHA512 (flexparser-0.4.tar.gz) = a5f183cb7e97968bfd3475d9854495e99a7f6422afcb96c93ac134a574d85b23d360cc5e4f816e91aea87b55b9479492fced92e4f06d3f033ae9fcf69b26d181
|
SHA512 (flexparser-0.3.1.tar.gz) = 420e0a1e6870666aedcc06a130f300d05c5ce9ee61a8176f82cdf261a8b7fd9aec4a6723317ecef626b9175e654c7e70bea245b79c2c65d9741964aa3a2700a1
|
||||||
|
|||||||
Reference in New Issue
Block a user