5 Commits

Author SHA1 Message Date
Benjamin A. Beasley
c5de768ebc Update to 0.4 (close RHBZ#2324278) 2024-11-07 07:01:17 -05:00
Benjamin A. Beasley
ae856631e5 Fix manual test BuildRequires 2024-08-20 09:06:25 -04:00
Benjamin A. Beasley
c0d472b7d4 Drop some unnecessary testing BuildRequires 2024-08-20 09:00:24 -04:00
Fedora Release Engineering
cceba8859f Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 11:40:52 +00:00
Python Maint
fee334801b Rebuilt for Python 3.13 2024-06-08 22:31:41 +02:00
3 changed files with 11 additions and 5 deletions

1
.gitignore vendored
View File

@@ -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

View File

@@ -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

View File

@@ -1 +1 @@
SHA512 (flexparser-0.3.1.tar.gz) = 420e0a1e6870666aedcc06a130f300d05c5ce9ee61a8176f82cdf261a8b7fd9aec4a6723317ecef626b9175e654c7e70bea245b79c2c65d9741964aa3a2700a1
SHA512 (flexparser-0.4.tar.gz) = a5f183cb7e97968bfd3475d9854495e99a7f6422afcb96c93ac134a574d85b23d360cc5e4f816e91aea87b55b9479492fced92e4f06d3f033ae9fcf69b26d181