update to 0.4.0

This commit is contained in:
Matthias Runge 2018-10-19 13:21:29 +02:00
parent a6ba39d7d5
commit 88b274dea4
3 changed files with 16 additions and 4 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/colorama-0.3.2.tar.gz
/colorama-0.3.7.tar.gz
/colorama-0.3.9.tar.gz
/colorama-0.4.0.zip

View File

@ -7,13 +7,13 @@
%endif
Name: python-%{pypi_name}
Version: 0.3.9
Release: 4%{?dist}
Version: 0.4.0
Release: 1%{?dist}
Summary: Cross-platform colored terminal text
License: BSD
URL: http://pypi.python.org/pypi/colorama
Source0: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.zip
BuildArch: noarch
%description
@ -27,6 +27,7 @@ It also provides some shortcuts to help generate ANSI sequences, and works fine
in conjunction with any other ANSI sequence generation library, such as
Termcolor.
%if 0%{?fedora} > 29
%package -n python2-%{pypi_name}
Summary: Cross-platform colored terminal text
BuildRequires: python2-devel
@ -47,6 +48,7 @@ in conjunction with any other ANSI sequence generation library, such as
Termcolor.
Python 2 version.
%endif
%if %{with python3}
%package -n python3-%{pypi_name}
@ -74,22 +76,28 @@ Python 3 version.
rm -rf *.egg-info
%build
%if 0%{?fedora} > 29
%py2_build
%endif
%if %{with python3}
%py3_build
%endif
%install
%if 0%{?fedora} > 29
%py2_install
%endif
%if %{with python3}
%py3_install
%endif
%if 0%{?fedora} > 29
%files -n python2-%{pypi_name}
%doc README.rst
%license LICENSE.txt
%{python2_sitelib}/%{pypi_name}/
%{python2_sitelib}/%{pypi_name}-%{version}-*.egg-info/
%endif
%if %{with python3}
%files -n python3-%{pypi_name}
@ -100,6 +108,9 @@ rm -rf *.egg-info
%endif
%changelog
* Fri Oct 19 2018 Matthias Runge <mrunge@redhat.com> - 0.4.0-1
- update to 0.4.0
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (colorama-0.3.9.tar.gz) = 248e3d3d1f95cb85baf55ef4d705508213b81edfb04b39fe9a7bc9c7ac564986726ab6e9d9f73d64ee02e1c9b86d4c6bba40543590dbd170180a37d69e07b627
SHA512 (colorama-0.4.0.zip) = 4a3e6d6424a6571c3b1825bb34e347def9ffda8dd296bcb83149b9312374c2aaeafe8b95d868425d9590485bf5e354862e9b3f48217836e6fc0dbb4db60ae444