Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99641a0988 | ||
|
|
6036171d6a |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,5 +1,3 @@
|
||||
/flexparser-0.2.tar.gz
|
||||
/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
|
||||
Release: %autorelease
|
||||
Summary: Parsing made fun … using typing
|
||||
|
||||
@@ -11,13 +11,6 @@ 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
|
||||
@@ -35,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
|
||||
|
||||
2
sources
2
sources
@@ -1 +1 @@
|
||||
SHA512 (flexparser-0.4.tar.gz) = a5f183cb7e97968bfd3475d9854495e99a7f6422afcb96c93ac134a574d85b23d360cc5e4f816e91aea87b55b9479492fced92e4f06d3f033ae9fcf69b26d181
|
||||
SHA512 (flexparser-0.3.tar.gz) = e23a28821da36a9bd4254918697332ac9baf2ae6e27e81b825aead63804c9f366d0a32bd3c8873d664c8958f11d2735fbd5a020ebbd6519206dfdf2a990ae4e7
|
||||
|
||||
Reference in New Issue
Block a user