!14 Adaptation to setup.py and modify the patching mode to resolve installation conflicts
From: @starlet-dx Reviewed-by: @cherry530 Signed-off-by: @cherry530
This commit is contained in:
commit
8a6b3a9f00
@ -1,25 +1,31 @@
|
|||||||
From 8b3c24a28145a3664b3ff3230c5a271b9157bd17 Mon Sep 17 00:00:00 2001
|
From c85a3a7ff77ee156fcd0f2de1ecd7a56c0f0afae Mon Sep 17 00:00:00 2001
|
||||||
From: liqiuyu123 <liqiuyu@kylinos.cn>
|
From: starlet-dx <15929766099@163.com>
|
||||||
Date: Tue, 30 Aug 2022 11:29:14 +0800
|
Date: Tue, 28 Feb 2023 10:32:16 +0800
|
||||||
Subject: [PATCH] add setup file
|
Subject: [PATCH 1/1] add setup file
|
||||||
|
|
||||||
---
|
---
|
||||||
setup.py | 6 ++++++
|
setup.py | 12 ++++++++++++
|
||||||
1 file changed, 6 insertions(+)
|
1 file changed, 12 insertions(+)
|
||||||
create mode 100644 setup.py
|
create mode 100644 setup.py
|
||||||
|
|
||||||
diff --git a/setup.py b/setup.py
|
diff --git a/setup.py b/setup.py
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..bac24a4
|
index 0000000..3acc149
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/setup.py
|
+++ b/setup.py
|
||||||
@@ -0,0 +1,6 @@
|
@@ -0,0 +1,12 @@
|
||||||
+#!/usr/bin/env python
|
+#!/usr/bin/env python
|
||||||
+
|
+
|
||||||
+import setuptools
|
+from setuptools import setup
|
||||||
+
|
+
|
||||||
+if __name__ == "__main__":
|
+entry_points = \
|
||||||
+ setuptools.setup()
|
+ {'console_scripts': ['jaraco.collections = jaraco.collections:main']}
|
||||||
|
+
|
||||||
|
+setup(
|
||||||
|
+ name='jaraco.collections',
|
||||||
|
+ version='3.8.0',
|
||||||
|
+ py_modules=['jaraco.collections'],
|
||||||
|
+)
|
||||||
--
|
--
|
||||||
2.37.1.windows.1
|
2.30.0
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-jaraco-collections
|
Name: python-jaraco-collections
|
||||||
Version: 3.8.0
|
Version: 3.8.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Collection objects similar to those in stdlib by jaraco
|
Summary: Collection objects similar to those in stdlib by jaraco
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/jaraco/jaraco.collections
|
URL: https://github.com/jaraco/jaraco.collections
|
||||||
@ -36,8 +36,7 @@ Provides: python3-jaraco-collections-doc
|
|||||||
A dictionary-like object that maps a range of values to a given value.
|
A dictionary-like object that maps a range of values to a given value.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n jaraco.collections-%{version}
|
%autosetup -n jaraco.collections-%{version} -p1
|
||||||
%patch0
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -77,6 +76,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 28 2023 yaoxin <yaoxin30@h-partners.com> - 3.8.0-2
|
||||||
|
- Adaptation to setup.py and modify the patching mode to resolve installation conflicts
|
||||||
|
|
||||||
* Fri Dec 16 2022 lijian <lijian2@kylinos.cn> - 3.8.0-1
|
* Fri Dec 16 2022 lijian <lijian2@kylinos.cn> - 3.8.0-1
|
||||||
- update to upstream version 3.8.0
|
- update to upstream version 3.8.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user