summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-03-08 07:20:03 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-03-08 07:20:03 +0000
commit5e1a196c154939c0081e2fe885e5f50cf98f7220 (patch)
treea37e221fe9f5bdadc10df1b964a2e10e9d56b27f
parentede628fbdbbecc1552abe1b9a7b476d879221603 (diff)
automatic import of python-click-help-colors
-rw-r--r--.gitignore1
-rw-r--r--python-click-help-colors.spec74
-rw-r--r--sources1
3 files changed, 76 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a24397a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/click-help-colors-0.9.1.tar.gz
diff --git a/python-click-help-colors.spec b/python-click-help-colors.spec
new file mode 100644
index 0000000..6e994e8
--- /dev/null
+++ b/python-click-help-colors.spec
@@ -0,0 +1,74 @@
+%global _empty_manifest_terminate_build 0
+Name: python-click-help-colors
+Version: 0.9.1
+Release: 1
+Summary: Colorization of help messages in Click
+License: MIT
+URL: https://github.com/r-m-n/click-help-colors
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6c/c1/abc07420cfdc046c1005e16bc8090bc1f226d631b2bd172e5a8f5524c127/click-help-colors-0.9.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-click
+Requires: python3-pytest
+
+%description
+
+
+%package -n python3-click-help-colors
+Summary: Colorization of help messages in Click
+Provides: python-click-help-colors
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-click-help-colors
+
+
+%package help
+Summary: Development documents and examples for click-help-colors
+Provides: python3-click-help-colors-doc
+%description help
+
+
+%prep
+%autosetup -n click-help-colors-0.9.1
+
+%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-click-help-colors -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Mar 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..13097d6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+eac958ae73330abf85ba3314206d64b5 click-help-colors-0.9.1.tar.gz