diff --git a/.gitignore b/.gitignore index e0ee4f1..f708ee2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /sphinx-intl-bf6edc2e505567768eb230099c9960ccdedd12b5.tar.gz /sphinx-intl-20cd0d2d2d8f474e3aad688e8e0fc9481939a711.tar.gz /sphinx-intl-0.9.11.tar.gz +/sphinx-intl-2.0.0.tar.gz diff --git a/py37.patch b/py37.patch deleted file mode 100644 index 6e3297b..0000000 --- a/py37.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/tests/conftest.py b/tests/conftest.py -index 9248693..dfff83c 100644 ---- a/tests/conftest.py -+++ b/tests/conftest.py -@@ -14,7 +14,7 @@ import pytest - - from path import path - --__dir__ = path(os.path.dirname(os.path.abspath(__file__))) -+_dir = path(os.path.dirname(os.path.abspath(__file__))) - - - @pytest.fixture(scope="function") -@@ -22,7 +22,7 @@ def temp(request, tmpdir): - template_dir = 'root' - - tmpdir = path(tmpdir) -- (__dir__ / template_dir).copytree(tmpdir / template_dir) -+ (_dir / template_dir).copytree(tmpdir / template_dir) - cwd = os.getcwd() - temp = tmpdir / template_dir - os.chdir(temp) diff --git a/python-sphinx-intl.spec b/python-sphinx-intl.spec index 0568f85..4b9e002 100644 --- a/python-sphinx-intl.spec +++ b/python-sphinx-intl.spec @@ -9,19 +9,13 @@ support the Transifex service for translation with Sphinx (not packaged yet). Name: python-%{pypi_name} -Version: 0.9.11 -Release: 6%{?dist} +Version: 2.0.0 +Release: 1%{?dist} Summary: Sphinx utility that make it easy to translate and to apply translation License: BSD URL: https://pypi.python.org/pypi/%{pypi_name} -Source0: https://github.com/%{project_owner}/%{github_name}/archive/v%{version}/%{github_name}-%{version}.tar.gz - -# Python 3.7 has module level dunder __dir__ attribute -# So we need to rename the __dir__ variable as it fails to work with 3.7 -# https://www.python.org/dev/peps/pep-0562/ -# https://bugzilla.redhat.com/show_bug.cgi?id=1605925 -Patch0: py37.patch +Source0: https://github.com/%{project_owner}/%{github_name}/archive/%{version}/%{github_name}-%{version}.tar.gz BuildArch: noarch @@ -88,6 +82,9 @@ PYTHONPATH="$(pwd)" py.test-%{python3_version} -v . %changelog +* Sat Jul 13 2019 Julien Enselme - 2.0.0-1 +- Update to 2.0.0 + * Wed Mar 06 2019 Miro HronĨok - 0.9.11-6 - Subpackage python2-sphinx-intl has been removed See https://fedoraproject.org/wiki/Changes/Sphinx2 diff --git a/sources b/sources index 84c3f9d..c2df2d0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sphinx-intl-0.9.11.tar.gz) = cf93064bdbb4f0b540fe95beb4abc978f0e761e43ebfa1dd44fc5ac1d5c59cb1a5d59adb92fc6929a844796c38d83e9164fa8e2e976cff3aaa3463f71fb3303e +SHA512 (sphinx-intl-2.0.0.tar.gz) = 30cc8940c6c30fb4183417fdd9c51108da3f8a5c168db109546d73a11334580a54f126a5a9216a2db691010d1a92fa3d62a1f4326559a0e76ba67336a95d3fca