14
0
forked from pool/python-twine

Accepting request 673031 from home:frispete:python

- update to version 1.12.2
  - bug`408` Fix regression where keyring is unconditionally disabled.
- update to version 1.12.1
  - bug`404` Fix regression with upload exit code
- update to version 1.12.0
  - feature`395 major` Add twine check command to check long description
  - feature`392 major` Drop support for Python 3.3
  - feature`363` Empower --skip-existing for Artifactory repositories
  - bug`367` Avoid MD5 when Python is compiled in FIPS mode
- Fix source URL
- add python-readme_renderer dependency
- BuildRequire python2-pyblake2 for successful testing

OBS-URL: https://build.opensuse.org/request/show/673031
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=17
This commit is contained in:
2019-02-09 18:02:42 +00:00
committed by Git OBS Bridge
parent 9088def128
commit 00c51ee418
4 changed files with 31 additions and 7 deletions

View File

@@ -18,16 +18,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-twine
Version: 1.11.0
Version: 1.12.2
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://github.com/pypa/twine/archive/%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/t/twine/twine-%{version}.tar.gz
BuildRequires: %{python_module pkginfo >= 1.4.2}
BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module readme_renderer >= 24.0}
BuildRequires: %{python_module requests >= 2.17.0}
BuildRequires: %{python_module requests-toolbelt >= 0.8.0}
BuildRequires: %{python_module setuptools >= 0.7.0}
@@ -35,6 +36,7 @@ BuildRequires: %{python_module tqdm >= 4.14}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pkginfo >= 1.4.2
Requires: python-readme_renderer >= 24.0
Requires: python-requests >= 2.17.0
Requires: python-requests-toolbelt >= 0.8.0
Requires: python-setuptools >= 0.7.0
@@ -43,14 +45,17 @@ Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-keyring
%ifpython2
# tests/test_package.py will fail without pyblake2
BuildRequires: python2-pyblake2
Recommends: python-pyblake2
%endif
%python_subpackages
%description
Twine is a utility for interacting with PyPI.
Twine is a utility for publishing Python packages on PyPI.
Currently it only supports registering projects and uploading distributions.
Currently it supports registering projects, uploading distributions, and
checking, if descriptions will render correctly.
%prep
%setup -q -n twine-%{version}