From 2d44ad73397c89cca1b39db7551834efdc7f7076 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Dec 22 2020 12:53:53 +0000 Subject: * Tue Dec 22 2020 Fabian Affolter - 20.12.1-1 - Update to latest upstream release 20.12.1 (#1909406) --- diff --git a/.gitignore b/.gitignore index c3cd975..867157d 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /txaio-18.7.1.tar.gz /txaio-18.8.1.tar.gz /txaio-20.4.1.tar.gz +/txaio-20.12.1.tar.gz diff --git a/python-txaio.spec b/python-txaio.spec index 7d4eea8..0ba81e6 100644 --- a/python-txaio.spec +++ b/python-txaio.spec @@ -1,36 +1,32 @@ %global pypi_name txaio Name: python-%{pypi_name} -Version: 20.4.1 -Release: 2%{?dist} +Version: 20.12.1 +Release: 1%{?dist} Summary: Compatibility API between asyncio/Twisted/Trollius License: MIT -URL: https://pypi.python.org/pypi/%{pypi_name} +URL: https://txaio.readthedocs.io/ Source0: https://files.pythonhosted.org/packages/source/t/txaio/txaio-%{version}.tar.gz Patch0: python-txaio-skip-packaging-tests.patch # The test_utils module can no longer be imported from asyncio # and is undocumented intentionaly because it's private. # This is a hack that calls stop on the loop soon after calling run_forever(). Patch2: run_once.patch - BuildArch: noarch - %description Helper library for writing code that runs unmodified on both Twisted and asyncio. %package -n python3-%{pypi_name} -Summary: Compatibility API between asyncio/Twisted/Trollius +Summary: %{summary} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-pytest-cov BuildRequires: python3-mock -BuildRequires: python3-sphinx -BuildRequires: python3-sphinx_rtd_theme BuildRequires: python3-six BuildRequires: python3-test BuildRequires: python3-enchant >= 1.6.6 @@ -41,50 +37,42 @@ Requires: python3-six Helper library for writing code that runs unmodified on both Twisted and asyncio. - %package doc -Summary: Documentation for txaio -Requires: js-jquery +Summary: Documentation for txaio + +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme +Requires: js-jquery %description doc Helper library for writing code that runs unmodified on both Twisted and asyncio. Documentation in html format. - %prep %setup -qn %{pypi_name}-%{version} %patch0 %patch2 -p1 - # Remove upstream's egg-info rm -rf %{pypi_name}.egg-info - # README is just a symlink to index.rst. Using this file as README rm docs/index.rst cp -a README.rst docs/index.rst - %build %py3_build - # Build documentation cd docs && make html - # Remove buildinfo rm -rf _build/html/.buildinfo - # Unbundle jquery rm -f _build/html/_static/jquery.js ln -s /usr/share/javascript/jquery/latest/jquery.min.js _build/html/_static/jquery.js - %install %py3_install - %check -PYTHONPATH=$PYTHONPATH:$(pwd):$(pwd)/test %{__python3} -mcoverage run -p --source=txaio /usr/bin/py.test-%{python3_version} -s - +%pytest -v test %files -n python3-%{pypi_name} %license LICENSE @@ -92,13 +80,14 @@ PYTHONPATH=$PYTHONPATH:$(pwd):$(pwd)/test %{__python3} -mcoverage run -p --sourc %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ %{python3_sitelib}/%{pypi_name}/ - %files doc %license LICENSE %doc docs/_build/html - %changelog +* Tue Dec 22 2020 Fabian Affolter - 20.12.1-1 +- Update to latest upstream release 20.12.1 (#1909406) + * Wed Jul 29 2020 Fedora Release Engineering - 20.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 08472e3..ced7e80 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (txaio-20.4.1.tar.gz) = da0269d13d72f4ea14f2e67585cdb74ec5105884c31d81157fb85e92d4eb935b1c13eb1222bd5ecd57a8caa36008cf49de85321e7b67e94159330e1d592d42c4 +SHA512 (txaio-20.12.1.tar.gz) = efde6115b8eccba94dce736fffe49f280ff49e9738f3299578cf41641c3b6f1deb5b1c0f0c8c6fbf85c8d8adbdc2d3f67aa256335d63a5977ac0bfacc98f909c