diff --git a/.gitignore b/.gitignore index 2303fbf..f002203 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /sortedcontainers-1.5.7.tar.gz /sortedcontainers-1.5.9.tar.gz /sortedcontainers-1.5.10.tar.gz +/sortedcontainers-2.0.1.tar.gz diff --git a/gumroad.html b/gumroad.html new file mode 100644 index 0000000..ca5b005 --- /dev/null +++ b/gumroad.html @@ -0,0 +1,10 @@ +

Give Support

+

+ If you or your organization uses Python Sorted Containers, consider financial + support: +

+

+ + Give to Python Sorted Containers + +

diff --git a/python-sortedcontainers.spec b/python-sortedcontainers.spec index 5090e35..5e6553d 100644 --- a/python-sortedcontainers.spec +++ b/python-sortedcontainers.spec @@ -1,13 +1,15 @@ %global srcname sortedcontainers Name: python-%{srcname} -Version: 1.5.10 +Version: 2.0.1 Release: 1%{?dist} Summary: Pure Python sorted container types License: ASL 2.0 URL: https://pypi.python.org/pypi/%{srcname} 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 @@ -22,7 +24,10 @@ Summary: %{summary} %{?python_provide:%python_provide python2-%{srcname}} BuildRequires: python2-devel -BuildRequires: python2-nose +BuildRequires: python2-pytest +BuildRequires: python2-matplotlib +BuildRequires: python2-numpy +BuildRequires: python2-scipy %description -n python2-%{srcname} %{_description} @@ -32,7 +37,10 @@ Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} BuildRequires: python3-devel -BuildRequires: python3-nose +BuildRequires: python3-pytest +BuildRequires: python3-matplotlib +BuildRequires: python3-numpy +BuildRequires: python3-scipy BuildRequires: python3-sphinx BuildRequires: dvipng BuildRequires: tex(anyfontsize.sty) @@ -50,6 +58,8 @@ Documentation for %{srcname} package. %prep %autosetup -n %{srcname}-%{version} +mkdir docs/_templates +cp -a %SOURCE1 docs/_templates/ %build @@ -70,9 +80,9 @@ popd %check pushd tests PYTHONPATH="%{buildroot}%{python2_sitelib}" \ - nosetests + pytest-2 PYTHONPATH="%{buildroot}%{python3_sitelib}" \ - nosetests-%{python3_version} + pytest-%{python3_version} popd @@ -96,6 +106,9 @@ popd %changelog +* Sat May 19 2018 Elliott Sales de Andrade - 2.0.1-1 +- Update to latest version. + * Sun Apr 22 2018 Elliott Sales de Andrade - 1.5.10-1 - Update to latest version. diff --git a/sources b/sources index 432dd07..33877ce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sortedcontainers-1.5.10.tar.gz) = 4dc61a965b1f5e99fef7639805785465ff02406034ceb0b029848900aab6c5138cf94facf9b40197ba836e31f57ca26cff80c52294337896b91571c27da74485 +SHA512 (sortedcontainers-2.0.1.tar.gz) = a670bda04fdafeaaa7c79be17d1d518faf38d052d9022d2a1f1666f279811b0036d97371187d380e32a5c6232060f14f4c19400cf61670aa09344da8254ab3d7