!4 Upgrade package to version 4.0.1

From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-11-25 01:18:15 +00:00 committed by Gitee
commit b6a673aa52
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 39 additions and 6 deletions

28
0001-add-setup.py.patch Normal file
View File

@ -0,0 +1,28 @@
From 32bda93b8b0a127a4fc91b74e9de6767d05b757c Mon Sep 17 00:00:00 2001
From: jxy_git <jiangxinyu@kylinos.cn>
Date: Tue, 22 Nov 2022 11:06:00 +0800
Subject: [PATCH] add setup.py
---
setup.py | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100644 setup.py
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..870a1c3
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+
+from setuptools import setup
+
+if __name__ == "__main__":
+ setup(
+ name = "twine",
+ version = "4.0.1",
+)
--
2.38.1

View File

@ -1,11 +1,12 @@
%global _empty_manifest_terminate_build 0
Name: python-twine
Version: 3.2.0
Release: 2
Version: 4.0.1
Release: 1
Summary: Collection of utilities for publishing packages on PyPI
License: Apache-2.0
URL: https://twine.readthedocs.io/
Source0: https://files.pythonhosted.org/packages/14/54/2fc5732362649f4b6f4c245c17dc5a526148b1fb2c3a89176a2ef950628a/twine-3.2.0.tar.gz
Source0: https://files.pythonhosted.org/packages/08/2a/e03c20f47c750699063bbb349d68dea8990a0694f7bc65d1a97bf3254fa7/twine-4.0.1.tar.gz
Patch0: 0001-add-setup.py.patch
BuildArch: noarch
Requires: python3-pkginfo
@ -13,11 +14,11 @@ Requires: python3-readme-renderer
Requires: python3-requests
Requires: python3-requests-toolbelt
Requires: python3-setuptools
Requires: python3-tqdm
Requires: python3-keyring
Requires: python3-rfc3986
Requires: python3-colorama
Requires: python3-urllib3
Requires: python3-importlib-metadata
Requires: python3-rich
%description
Twine is a utility for publishing Python packages on PyPI.
@ -49,7 +50,8 @@ See our documentation for a description of features, installation
and usage instructions, and links to additional resources.
%prep
%autosetup -n twine-3.2.0
%autosetup -n twine-%{version}
%patch0
%build
%py3_build
@ -89,6 +91,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue Nov 08 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 4.0.1-1
- Upgrade package to version 4.0.1
* Wed May 11 2022 yangping <yangping69@h-partners> - 3.2.0-2
- License compliance rectification

Binary file not shown.

BIN
twine-4.0.1.tar.gz Normal file

Binary file not shown.