package init
This commit is contained in:
parent
959628c705
commit
ba8cecb699
BIN
jaraco.collections-3.0.0.tar.gz
Normal file
BIN
jaraco.collections-3.0.0.tar.gz
Normal file
Binary file not shown.
84
python-jaraco-collections.spec
Normal file
84
python-jaraco-collections.spec
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
|
Name: python-jaraco-collections
|
||||||
|
Version: 3.0.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Collection objects similar to those in stdlib by jaraco
|
||||||
|
License: MIT
|
||||||
|
URL: https://pypi.org/project/jaraco.collections
|
||||||
|
Source0: https://files.pythonhosted.org/packages/74/ed/8ee1599924eb6c42b02e26a13e79f5069012b170401a42a8b8d6afe1f289/jaraco.collections-3.0.0.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: python-setuptools_scm
|
||||||
|
Recommends: %{name}-help = %{version}-%{release}
|
||||||
|
|
||||||
|
Requires: python3-six
|
||||||
|
Requires: python3-sphinx
|
||||||
|
Requires: python3-pytest
|
||||||
|
Requires: python3-pytest-checkdocs
|
||||||
|
Requires: python3-pytest-flake8
|
||||||
|
Requires: python3-pytest-black-multipy
|
||||||
|
Requires: python3-pytest-cov
|
||||||
|
|
||||||
|
%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
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
%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
|
||||||
|
%description help
|
||||||
|
A dictionary-like object that maps a range of values to a given value.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n jaraco.collections-3.0.0
|
||||||
|
|
||||||
|
%build
|
||||||
|
%py3_build
|
||||||
|
|
||||||
|
%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
|
||||||
|
%exclude %{python3_sitelib}/jaraco/__init__.py
|
||||||
|
%exclude %{python3_sitelib}/jaraco/collections.py
|
||||||
|
%exclude %{python3_sitelib}/jaraco/__pycache__/__init__.*
|
||||||
|
%exclude %{python3_sitelib}/jaraco/__pycache__/collections.cpython-38.*
|
||||||
|
%{python3_sitelib}/jaraco.collections-%{version}-py%{python3_version}.egg-info/
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%{_docdir}/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Nov 16 2020 Python_Bot <Python_Bot@openeuler.org>
|
||||||
|
- Package init
|
||||||
4
python-jaraco-collections.yaml
Normal file
4
python-jaraco-collections.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: pypi
|
||||||
|
src_repo: jaraco.collections
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user