Update to latest version.

epel9
Elliott Sales de Andrade 7 years ago
parent 518d7f8615
commit 0a798953a5

1
.gitignore vendored

@ -1,3 +1,4 @@
/sortedcontainers-1.5.7.tar.gz /sortedcontainers-1.5.7.tar.gz
/sortedcontainers-1.5.9.tar.gz /sortedcontainers-1.5.9.tar.gz
/sortedcontainers-1.5.10.tar.gz /sortedcontainers-1.5.10.tar.gz
/sortedcontainers-2.0.1.tar.gz

@ -0,0 +1,10 @@
<h3>Give Support</h3>
<p>
If you or your organization uses Python Sorted Containers, consider financial
support:
</p>
<p>
<a href="https://gum.co/sortedcontainers" target="_blank">
Give to Python Sorted Containers
</a>
</p>

@ -1,13 +1,15 @@
%global srcname sortedcontainers %global srcname sortedcontainers
Name: python-%{srcname} Name: python-%{srcname}
Version: 1.5.10 Version: 2.0.1
Release: 1%{?dist} Release: 1%{?dist}
Summary: Pure Python sorted container types Summary: Pure Python sorted container types
License: ASL 2.0 License: ASL 2.0
URL: https://pypi.python.org/pypi/%{srcname} URL: https://pypi.python.org/pypi/%{srcname}
Source0: https://files.pythonhosted.org/packages/source/s/%{srcname}/%{srcname}-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/s/%{srcname}/%{srcname}-%{version}.tar.gz
# https://github.com/grantjenks/python-sortedcontainers/issues/91
Source1: https://github.com/grantjenks/python-sortedcontainers/raw/master/docs/_templates/gumroad.html
BuildArch: noarch BuildArch: noarch
@ -22,7 +24,10 @@ Summary: %{summary}
%{?python_provide:%python_provide python2-%{srcname}} %{?python_provide:%python_provide python2-%{srcname}}
BuildRequires: python2-devel BuildRequires: python2-devel
BuildRequires: python2-nose BuildRequires: python2-pytest
BuildRequires: python2-matplotlib
BuildRequires: python2-numpy
BuildRequires: python2-scipy
%description -n python2-%{srcname} %{_description} %description -n python2-%{srcname} %{_description}
@ -32,7 +37,10 @@ Summary: %{summary}
%{?python_provide:%python_provide python3-%{srcname}} %{?python_provide:%python_provide python3-%{srcname}}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-nose BuildRequires: python3-pytest
BuildRequires: python3-matplotlib
BuildRequires: python3-numpy
BuildRequires: python3-scipy
BuildRequires: python3-sphinx BuildRequires: python3-sphinx
BuildRequires: dvipng BuildRequires: dvipng
BuildRequires: tex(anyfontsize.sty) BuildRequires: tex(anyfontsize.sty)
@ -50,6 +58,8 @@ Documentation for %{srcname} package.
%prep %prep
%autosetup -n %{srcname}-%{version} %autosetup -n %{srcname}-%{version}
mkdir docs/_templates
cp -a %SOURCE1 docs/_templates/
%build %build
@ -70,9 +80,9 @@ popd
%check %check
pushd tests pushd tests
PYTHONPATH="%{buildroot}%{python2_sitelib}" \ PYTHONPATH="%{buildroot}%{python2_sitelib}" \
nosetests pytest-2
PYTHONPATH="%{buildroot}%{python3_sitelib}" \ PYTHONPATH="%{buildroot}%{python3_sitelib}" \
nosetests-%{python3_version} pytest-%{python3_version}
popd popd
@ -96,6 +106,9 @@ popd
%changelog %changelog
* Sat May 19 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.1-1
- Update to latest version.
* Sun Apr 22 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.10-1 * Sun Apr 22 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.10-1
- Update to latest version. - Update to latest version.

@ -1 +1 @@
SHA512 (sortedcontainers-1.5.10.tar.gz) = 4dc61a965b1f5e99fef7639805785465ff02406034ceb0b029848900aab6c5138cf94facf9b40197ba836e31f57ca26cff80c52294337896b91571c27da74485 SHA512 (sortedcontainers-2.0.1.tar.gz) = a670bda04fdafeaaa7c79be17d1d518faf38d052d9022d2a1f1666f279811b0036d97371187d380e32a5c6232060f14f4c19400cf61670aa09344da8254ab3d7

Loading…
Cancel
Save