14
0
forked from pool/python-twine

Accepting request 673042 from home:mcepl:branches:devel:languages:python

Add fix-keyring-support.patch fixing gh#pypa/twine#408

OBS-URL: https://build.opensuse.org/request/show/673042
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=18
This commit is contained in:
2019-02-09 20:21:16 +00:00
committed by Git OBS Bridge
parent 00c51ee418
commit c7ceb96cfd
5 changed files with 49 additions and 7 deletions

View File

@@ -18,13 +18,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-twine
Version: 1.12.2
Version: 1.12.1
Release: 0
Summary: Collection of utilities for interacting with PyPI
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/pypa/twine
Source: https://files.pythonhosted.org/packages/source/t/twine/twine-%{version}.tar.gz
# gh#pypa/twine#408
Patch0: fix-keyring-support.patch
BuildRequires: %{python_module pkginfo >= 1.4.2}
BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pytest}
@@ -59,6 +61,8 @@ checking, if descriptions will render correctly.
%prep
%setup -q -n twine-%{version}
%autopatch -p1
sed -i '1s/^#!.*//' twine/__main__.py
%build