!6 Upgrade package to version 0.13.0
From: @jxy_git Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
e8d074b3a4
28
0001-add-setup.py.patch
Normal file
28
0001-add-setup.py.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From 089e8308734b5274f489a0c0162f420a6ce23ddd Mon Sep 17 00:00:00 2001
|
||||
From: jxy_git <jiangxinyu@kylinos.cn>
|
||||
Date: Wed, 9 Nov 2022 19:02:47 +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..06f8341
|
||||
--- /dev/null
|
||||
+++ b/setup.py
|
||||
@@ -0,0 +1,9 @@
|
||||
+#!/usr/bin/env python
|
||||
+
|
||||
+from setuptools import setup
|
||||
+
|
||||
+if __name__ == "__main__":
|
||||
+ setup(
|
||||
+ name = "pep517",
|
||||
+ version = "0.13.0",
|
||||
+)
|
||||
--
|
||||
2.37.1
|
||||
|
||||
@ -1,20 +0,0 @@
|
||||
commit 3bcd16a11336cf4eeeb338c115ffa90419439ce0
|
||||
Author: lyn1001 <thistleslyn@163.com>
|
||||
Date: Mon Jul 25 17:02:44 2022 +0800
|
||||
|
||||
Remove python3.10dist(toml) installation dependencies
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 6c47d18..2481a49 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -11,8 +11,7 @@ package_data = \
|
||||
|
||||
extras_require = \
|
||||
{":python_version<'3.6'": ['toml'],
|
||||
- ":python_version<'3.8'": ['importlib_metadata', 'zipp'],
|
||||
- ":python_version>='3.6'": ['tomli']}
|
||||
+ ":python_version<'3.8'": ['importlib_metadata', 'zipp']}
|
||||
|
||||
setup(name='pep517',
|
||||
version='0.11.0',
|
||||
Binary file not shown.
BIN
pep517-0.13.0.tar.gz
Normal file
BIN
pep517-0.13.0.tar.gz
Normal file
Binary file not shown.
@ -1,17 +1,17 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-pep517
|
||||
Version: 0.11.0
|
||||
Release: 3
|
||||
Version: 0.13.0
|
||||
Release: 1
|
||||
Summary: Wrappers to build Python packages using PEP 517 hooks
|
||||
License: MIT
|
||||
URL: https://github.com/pypa/pep517
|
||||
Source0: https://files.pythonhosted.org/packages/da/12/6d373f746ad1cec5ab9415d6a1df54ecc0a9001124bd771742755dcecded/pep517-0.11.0.tar.gz
|
||||
Patch0: Remove-python3.10dist-toml-installation-dependencies.patch
|
||||
Source0: https://files.pythonhosted.org/packages/4d/19/e11fcc88288f68ae48e3aa9cf5a6fd092a88e629cb723465666c44d487a0/pep517-0.13.0.tar.gz
|
||||
Patch0: 0001-add-setup.py.patch
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Wrappers to build Python packages using PEP 517 hooks
|
||||
|
||||
|
||||
%package -n python3-pep517
|
||||
Summary: Wrappers to build Python packages using PEP 517 hooks
|
||||
Provides: python-pep517
|
||||
@ -19,21 +19,20 @@ BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: python3-toml
|
||||
Requires: python3-tomli
|
||||
# Requires: python3-importlib_metadata
|
||||
Requires: python3-importlib-metadata
|
||||
Requires: python3-zipp
|
||||
%description -n python3-pep517
|
||||
Wrappers to build Python packages using PEP 517 hooks
|
||||
|
||||
|
||||
%package help
|
||||
Summary: Development documents and examples for pep517
|
||||
Provides: python3-pep517-doc
|
||||
%description help
|
||||
Wrappers to build Python packages using PEP 517 hooks
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n pep517-0.11.0
|
||||
%autosetup -n pep517-%{version}
|
||||
%patch0
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -73,6 +72,9 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 08 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 0.13.0-1
|
||||
- Upgrade package to version 0.13.0
|
||||
|
||||
* Mon Jul 25 2022 liyanan <liyanan32@h-partners.com> - 0.11.0-3
|
||||
- Remove python3.10dist(toml) installation dependencies
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user