From 92b95e1d114aa57a53926bea2a5c6ec335018c1f Mon Sep 17 00:00:00 2001 From: Dan Horák Date: Nov 15 2019 08:32:14 +0000 Subject: - Update to 2.4.5 (#1768725) - Drop Python2 subpackage (#1770564) --- diff --git a/.gitignore b/.gitignore index 21db6b7..833898b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ clog /pyparsing-2.4.0.tar.gz /pyparsing-2.4.2.tar.gz +/pyparsing-2.4.5.tar.gz diff --git a/pyparsing.spec b/pyparsing.spec index 0eaa8f5..6415393 100644 --- a/pyparsing.spec +++ b/pyparsing.spec @@ -9,7 +9,7 @@ Summary: Python package with an object-oriented approach to text processing Name: pyparsing -Version: 2.4.2 +Version: 2.4.5 Release: 1%{?dist} License: MIT @@ -18,8 +18,6 @@ Source0: https://github.com/%{name}/%{name}/archive/%{name}_%{version}/%{ BuildArch: noarch BuildRequires: dos2unix -BuildRequires: python2-devel -BuildRequires: python2-setuptools BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -46,17 +44,6 @@ The package contains documentation for pyparsing. %endif -%package -n python2-%{srcname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{srcname}} -Provides: pyparsing = %{version}-%{release} -Obsoletes: pyparsing < 2.1.10-5 - -%description -n python2-pyparsing -pyparsing is a module that can be used to easily and directly configure syntax -definitions for any number of text parsing applications. - - %package -n python3-pyparsing Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} @@ -74,7 +61,6 @@ dos2unix -k CHANGES LICENSE %build -%py2_build %if 0%{?build_wheel} %py3_build_wheel %else @@ -91,7 +77,6 @@ popd %endif %install -%py2_install %if 0%{?build_wheel} %py3_install_wheel %{python_wheelname} %else @@ -100,17 +85,10 @@ popd %check -%{__python2} unitTests.py %{__python3} unitTests.py %{__python3} simple_unit_tests.py -%files -n python2-pyparsing -%license LICENSE -%doc CHANGES README.rst -%{python2_sitelib}/pyparsing.py* -%{python2_sitelib}/pyparsing-*-info/ - %files -n python3-pyparsing %license LICENSE %doc CHANGES README.rst @@ -126,6 +104,10 @@ popd %changelog +* Fri Nov 15 2019 Dan Horák - 2.4.5-1 +- Update to 2.4.5 (#1768725) +- Drop Python2 subpackage (#1770564) + * Tue Oct 8 2019 Zbigniew Jędrzejewski-Szmek - 2.4.2-1 - Update to latest version (#1742167) diff --git a/sources b/sources index c3226cf..aee3919 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyparsing-2.4.2.tar.gz) = 6f16f507bedfe29f5c1bd6c2632ee859d54f5755697612baccaa7046f7411642dc271f699ec9e852b3ac81bf0e089a5fe3980218ba2ea68ee9b8269eecbff787 +SHA512 (pyparsing-2.4.5.tar.gz) = 156cfdd28b4eadd5a29abfec8818fe4d038b220cf27aaa9d499f68ec87867c9048dfa79fd6efd85e940d47a7e7fcb21b93d527be05d27a5b58e2900fffb6b132