Compare commits
No commits in common. "b1d88d6fe537213fd40b23b3fd5f291f94369690" and "1a54a35b59ba9150b18bc8c7053abdc67865c436" have entirely different histories.
b1d88d6fe5
...
1a54a35b59
25
0001-add-setup-file.patch
Normal file
25
0001-add-setup-file.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 8b3c24a28145a3664b3ff3230c5a271b9157bd17 Mon Sep 17 00:00:00 2001
|
||||
From: liqiuyu123 <liqiuyu@kylinos.cn>
|
||||
Date: Tue, 30 Aug 2022 11:29:14 +0800
|
||||
Subject: [PATCH] add setup file
|
||||
|
||||
---
|
||||
setup.py | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
create mode 100644 setup.py
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
new file mode 100644
|
||||
index 0000000..bac24a4
|
||||
--- /dev/null
|
||||
+++ b/setup.py
|
||||
@@ -0,0 +1,6 @@
|
||||
+#!/usr/bin/env python
|
||||
+
|
||||
+import setuptools
|
||||
+
|
||||
+if __name__ == "__main__":
|
||||
+ setuptools.setup()
|
||||
--
|
||||
2.37.1.windows.1
|
||||
|
||||
Binary file not shown.
@ -1,75 +1,82 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-jaraco-collections
|
||||
Version: 5.0.0
|
||||
Release: 1
|
||||
Summary: Collection objects similar to those in stdlib by jaraco
|
||||
License: MIT
|
||||
URL: https://github.com/jaraco/jaraco.collections
|
||||
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.collections/jaraco.collections-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
Name: python-jaraco-collections
|
||||
Version: 3.5.2
|
||||
Release: 1
|
||||
Summary: Collection objects similar to those in stdlib by jaraco
|
||||
License: MIT
|
||||
URL: https://github.com/jaraco/jaraco.collections
|
||||
Source0: https://github.com/jaraco/jaraco.collections/archive/refs/tags/v3.5.2.tar.gz
|
||||
Patch0: 0001-add-setup-file.patch
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: python3-sphinx
|
||||
Requires: python3-pytest
|
||||
Requires: python3-pytest-checkdocs
|
||||
Requires: python3-pytest-flake8
|
||||
Requires: python3-pytest-cov
|
||||
Requires: python3-pytest-enabler
|
||||
Requires: python3-pytest-black
|
||||
Requires: python3-pytest-mypy
|
||||
Requires: python3-sphinx
|
||||
Requires: python3-pytest
|
||||
Requires: python3-pytest-checkdocs
|
||||
Requires: python3-pytest-flake8
|
||||
Requires: python3-pytest-cov
|
||||
Requires: python3-pytest-enabler
|
||||
Requires: python3-pytest-black
|
||||
Requires: python3-pytest-mypy
|
||||
|
||||
%description
|
||||
A dictionary-like object that maps a range of values to a given value.
|
||||
|
||||
%package -n python3-jaraco-collections
|
||||
Summary: Collection objects similar to those in stdlib by jaraco
|
||||
Provides: python-jaraco-collections = %{version}-%{release}
|
||||
Summary: Collection objects similar to those in stdlib by jaraco
|
||||
Provides: python-jaraco-collections
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pip python3-wheel python3-hatch-vcs
|
||||
%description -n python3-jaraco-collections
|
||||
A dictionary-like object that maps a range of values to a given value.
|
||||
|
||||
%package help
|
||||
Summary: Development documents and examples for jaraco.collections
|
||||
Provides: python3-jaraco-collections-doc
|
||||
Summary: Development documents and examples for jaraco.collections
|
||||
Provides: python3-jaraco-collections-doc
|
||||
%description help
|
||||
A dictionary-like object that maps a range of values to a given value.
|
||||
|
||||
%prep
|
||||
%autosetup -n jaraco.collections-%{version} -p1
|
||||
%autosetup -n jaraco.collections-3.5.2
|
||||
%patch0
|
||||
|
||||
%build
|
||||
%pyproject_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%py3_install
|
||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||
pushd %{buildroot}
|
||||
if [ -d usr/lib ]; then
|
||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
if [ -d usr/lib64 ]; then
|
||||
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
if [ -d usr/bin ]; then
|
||||
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
if [ -d usr/sbin ]; then
|
||||
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
touch doclist.lst
|
||||
if [ -d usr/share/man ]; then
|
||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||
fi
|
||||
popd
|
||||
mv %{buildroot}/filelist.lst .
|
||||
mv %{buildroot}/doclist.lst .
|
||||
|
||||
%files -n python3-jaraco-collections
|
||||
%{python3_sitelib}/*
|
||||
%files -n python3-jaraco-collections -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
|
||||
%files help
|
||||
%files help -f doclist.lst
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Feb 21 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.0.0-1
|
||||
- Update package to version 5.0.0
|
||||
|
||||
* Tue Apr 25 2023 yaoxin <yao_xin@hoperun.com> - 4.1.0-2
|
||||
- Modify the package compilation method and remove the adaptation to setup.py
|
||||
|
||||
* Mon Apr 10 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 4.1.0-1
|
||||
- Update package to version 4.1.0
|
||||
|
||||
* 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
|
||||
- update to upstream version 3.8.0
|
||||
|
||||
* Tue Aug 30 2022 liqiuyu <liqiuyu@kylinos.cn> - 3.5.2-1
|
||||
- Upgrade to version 3.5.2
|
||||
|
||||
|
||||
BIN
v3.5.2.tar.gz
Normal file
BIN
v3.5.2.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user