forked from pool/python-twine
Accepting request 680732 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/680732 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=20
This commit is contained in:
@@ -18,15 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-twine
|
||||
Version: 1.12.1
|
||||
Version: 1.13.0
|
||||
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}
|
||||
@@ -56,12 +54,11 @@ Recommends: python-pyblake2
|
||||
%description
|
||||
Twine is a utility for publishing Python packages on PyPI.
|
||||
|
||||
Currently it supports registering projects, uploading distributions, and
|
||||
Currently it supports registering projects, uploading distributions, and
|
||||
checking, if descriptions will render correctly.
|
||||
|
||||
%prep
|
||||
%setup -q -n twine-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
sed -i '1s/^#!.*//' twine/__main__.py
|
||||
|
||||
@@ -85,7 +82,10 @@ sed -i '1s/^#!.*//' twine/__main__.py
|
||||
%files %{python_files}
|
||||
%doc AUTHORS README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%dir %{python_sitelib}/twine
|
||||
%dir %{python_sitelib}/twine-%{version}-py*.egg-info
|
||||
%{python_sitelib}/twine/*
|
||||
%{python_sitelib}/twine-%{version}-py*.egg-info/*
|
||||
%python_alternative %{_bindir}/twine
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user