diff --git a/fix-api-package-urls.patch b/fix-api-package-urls.patch deleted file mode 100644 index 257ca34..0000000 --- a/fix-api-package-urls.patch +++ /dev/null @@ -1,32 +0,0 @@ -From d6c8e1e6434a063da50d4879e9e58ed1c8d99292 Mon Sep 17 00:00:00 2001 -From: Karol Babioch -Date: Tue, 17 Apr 2018 11:10:24 +0200 -Subject: [PATCH] Use release_urls() XMLRPC method for the time being - -This replaces the `package_urls()` XMLRPC method by the `release_urls()` -method, since the former was deprecated and no longer works. Invoking the -endpoint results in an error: - - This API has been deprecated. Use https://pypi.org/xxx/yyy/json instead. - The XMLRPC method release_urls can be used in the interim, but will be - deprecated in the future. - -This addresses issue #95. However, this is only a quick-fix, since the -`package_urls()` method will also be deprecated in the future. ---- - py2pack/__init__.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/py2pack/__init__.py b/py2pack/__init__.py -index ed0911a..0eb97ba 100644 ---- a/py2pack/__init__.py -+++ b/py2pack/__init__.py -@@ -268,7 +268,7 @@ def newest_download_url(args): - if args.source_url: - return {'url': args.source_url, - 'filename': args.source_url[args.source_url.rfind("/") + 1:]} -- for url in pypi.package_urls(args.name, args.version): # Fetch all download URLs -+ for url in pypi.release_urls(args.name, args.version): # Fetch all download URLs - if url['packagetype'] == 'sdist': # Found the source URL we care for - return url - # No PyPI tarball release, let's see if an upstream download URL is provided: diff --git a/py2pack-0.8.2.tar.gz b/py2pack-0.8.2.tar.gz deleted file mode 100644 index 3dec2d3..0000000 --- a/py2pack-0.8.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:42dec347915d9d89507b1d00e6d5e12e835d83389352ca2f64100687c191d29e -size 37548 diff --git a/py2pack-0.8.3.tar.gz b/py2pack-0.8.3.tar.gz new file mode 100644 index 0000000..c8521fb --- /dev/null +++ b/py2pack-0.8.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7fc4a65082a6dd27408ccb4f610b615263b2c9e6555a53a214de91dc97766d1 +size 37262 diff --git a/python-py2pack.changes b/python-py2pack.changes index 533a0a9..fe00c54 100644 --- a/python-py2pack.changes +++ b/python-py2pack.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Apr 23 10:20:20 UTC 2018 - tbechtold@suse.com + +- update to 0.8.3: + * Remove Sphinx cap + * Fix copyright year in tests + * Use release\_urls() XMLRPC method for the time being + * Test python 3.6 and remove 3.5 +- drop fix-api-package-urls.patch (merged upstream) + ------------------------------------------------------------------- Tue Apr 17 09:45:04 UTC 2018 - kbabioch@suse.com diff --git a/python-py2pack.spec b/python-py2pack.spec index 1cc650e..fcd34f4 100644 --- a/python-py2pack.spec +++ b/python-py2pack.spec @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-py2pack -Version: 0.8.2 +Version: 0.8.3 Release: 0 Url: https://github.com/openSUSE/py2pack Summary: Generate distribution packages from Python packages on PyPI License: Apache-2.0 Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz -Patch0: fix-api-package-urls.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module Sphinx} @@ -63,7 +62,6 @@ Documentation and help files for %{name}. %prep %setup -q -n py2pack-%{version} -%patch0 -p1 %build %python_build