summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 05:28:34 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 05:28:34 +0000
commitbd258906c17f5d8b6a8b8b1652070439b6bd4e49 (patch)
treea9b3a09bb151474f5e2ee72c181a846353d969b2
parent0de5b00611505d122d5145025491b13b4d3788e6 (diff)
automatic import of python-bitranox-coloredlogsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-bitranox-coloredlogs.spec95
-rw-r--r--sources1
3 files changed, 97 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d4d8956 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/bitranox_coloredlogs-14.0.9.tar.gz
diff --git a/python-bitranox-coloredlogs.spec b/python-bitranox-coloredlogs.spec
new file mode 100644
index 0000000..b315341
--- /dev/null
+++ b/python-bitranox-coloredlogs.spec
@@ -0,0 +1,95 @@
+%global _empty_manifest_terminate_build 0
+Name: python-bitranox-coloredlogs
+Version: 14.0.9
+Release: 1
+Summary: fork of xolox coloredlogs with possibility to log to travis and jupyter
+License: MIT License
+URL: https://github.com/bitranox/bitranox_coloredlogs
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b1/8c/fca8e94db8bc36d0c923e27c0151a48782c7e15fd15668c8dc5f7c4ff318/bitranox_coloredlogs-14.0.9.tar.gz
+BuildArch: noarch
+
+Requires: python3-click
+Requires: python3-humanfriendly
+
+%description
+Version v14.0.9 as of 2020-10-09 see `Changelog`_
+|travis_build| |license| |jupyter| |pypi|
+|codecov| |better_code| |cc_maintain| |cc_issues| |cc_coverage| |snyk|
+fork of xolox coloredlogs with possibility to log to travis and jupyter
+since the parameter *isatty* is not behaving like expected (should FORCE) color, the original version does
+not show colors on travis and jupyter(stdout).
+with that version You can have colored logs on jupyter and travis.
+I hope Peter accepts my PullRequest, then I can delete this stripped (no tests) Version ...
+
+%package -n python3-bitranox-coloredlogs
+Summary: fork of xolox coloredlogs with possibility to log to travis and jupyter
+Provides: python-bitranox-coloredlogs
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-bitranox-coloredlogs
+Version v14.0.9 as of 2020-10-09 see `Changelog`_
+|travis_build| |license| |jupyter| |pypi|
+|codecov| |better_code| |cc_maintain| |cc_issues| |cc_coverage| |snyk|
+fork of xolox coloredlogs with possibility to log to travis and jupyter
+since the parameter *isatty* is not behaving like expected (should FORCE) color, the original version does
+not show colors on travis and jupyter(stdout).
+with that version You can have colored logs on jupyter and travis.
+I hope Peter accepts my PullRequest, then I can delete this stripped (no tests) Version ...
+
+%package help
+Summary: Development documents and examples for bitranox-coloredlogs
+Provides: python3-bitranox-coloredlogs-doc
+%description help
+Version v14.0.9 as of 2020-10-09 see `Changelog`_
+|travis_build| |license| |jupyter| |pypi|
+|codecov| |better_code| |cc_maintain| |cc_issues| |cc_coverage| |snyk|
+fork of xolox coloredlogs with possibility to log to travis and jupyter
+since the parameter *isatty* is not behaving like expected (should FORCE) color, the original version does
+not show colors on travis and jupyter(stdout).
+with that version You can have colored logs on jupyter and travis.
+I hope Peter accepts my PullRequest, then I can delete this stripped (no tests) Version ...
+
+%prep
+%autosetup -n bitranox-coloredlogs-14.0.9
+
+%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-bitranox-coloredlogs -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 14.0.9-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..95a7b54
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1ef698f35503946ff7f3b09660f99aea bitranox_coloredlogs-14.0.9.tar.gz