summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 04:44:26 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 04:44:26 +0000
commit61026bb361c0a331070837fa85beaf827fc08caf (patch)
tree7cc3928cc850027e0dd60286d9357819fcd0684f
parent059b9fa67a18ec4acc8cb066f0be1062f88bba1c (diff)
automatic import of python-chrys
-rw-r--r--.gitignore1
-rw-r--r--python-chrys.spec295
-rw-r--r--sources1
3 files changed, 297 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6f5dbc8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/chrys-4.0.25.tar.gz
diff --git a/python-chrys.spec b/python-chrys.spec
new file mode 100644
index 0000000..f66b7c2
--- /dev/null
+++ b/python-chrys.spec
@@ -0,0 +1,295 @@
+%global _empty_manifest_terminate_build 0
+Name: python-chrys
+Version: 4.0.25
+Release: 1
+Summary: A collection of color palettes for mapping and visualisation
+License: BSD-3-Clause
+URL: https://github.com/netbek/chrys
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/84/b1/eef11eee9067a43783ff162452fd2660645f0ae43782fd112b1814902d99/chrys-4.0.25.tar.gz
+BuildArch: noarch
+
+Requires: python3-matplotlib
+Requires: python3-nose
+Requires: python3-numpy
+Requires: python3-wcag-contrast-ratio
+
+%description
+# chrys
+
+[![CircleCI](https://circleci.com/gh/netbek/chrys.svg?style=svg)](https://circleci.com/gh/netbek/chrys)
+
+A collection of color palettes for visualisation in JavaScript, Python and Sass.
+
+## Demo
+
+[netbek.github.io/chrys](https://netbek.github.io/chrys#colour-schemes)
+
+## Installation
+
+### Node.js and Sass
+
+```shell
+npm install chrys
+```
+
+### Python 3.6 and up
+
+```shell
+pip install chrys
+```
+
+## Usage
+
+For instructions, refer to [the docs](https://netbek.github.io/chrys#usage).
+
+## Development
+
+Install Node and Python dependencies:
+
+```shell
+./scripts/install.sh
+```
+
+Build palette data:
+
+```shell
+npm run build-data
+```
+
+Build JavaScript and Python distribution packages, Sass, CSS, Illustrator scripts:
+
+```shell
+npm run build-dist
+```
+
+Deploy documentation to GitHub Pages:
+
+```shell
+npm run deploy
+```
+
+Publish JavaScript and Python distribution packages:
+
+```shell
+npm publish
+npm run publish-py
+```
+
+## Credit
+
+Palettes from:
+
+* [Bokeh](https://github.com/bokeh/bokeh) (BSD 3-Clause)
+* [Vega](https://github.com/vega/vega) (BSD 3-Clause)
+
+## License
+
+Copyright (c) 2017 Hein Bekker. Licensed under the BSD 3-Clause License.
+
+
+
+
+%package -n python3-chrys
+Summary: A collection of color palettes for mapping and visualisation
+Provides: python-chrys
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-chrys
+# chrys
+
+[![CircleCI](https://circleci.com/gh/netbek/chrys.svg?style=svg)](https://circleci.com/gh/netbek/chrys)
+
+A collection of color palettes for visualisation in JavaScript, Python and Sass.
+
+## Demo
+
+[netbek.github.io/chrys](https://netbek.github.io/chrys#colour-schemes)
+
+## Installation
+
+### Node.js and Sass
+
+```shell
+npm install chrys
+```
+
+### Python 3.6 and up
+
+```shell
+pip install chrys
+```
+
+## Usage
+
+For instructions, refer to [the docs](https://netbek.github.io/chrys#usage).
+
+## Development
+
+Install Node and Python dependencies:
+
+```shell
+./scripts/install.sh
+```
+
+Build palette data:
+
+```shell
+npm run build-data
+```
+
+Build JavaScript and Python distribution packages, Sass, CSS, Illustrator scripts:
+
+```shell
+npm run build-dist
+```
+
+Deploy documentation to GitHub Pages:
+
+```shell
+npm run deploy
+```
+
+Publish JavaScript and Python distribution packages:
+
+```shell
+npm publish
+npm run publish-py
+```
+
+## Credit
+
+Palettes from:
+
+* [Bokeh](https://github.com/bokeh/bokeh) (BSD 3-Clause)
+* [Vega](https://github.com/vega/vega) (BSD 3-Clause)
+
+## License
+
+Copyright (c) 2017 Hein Bekker. Licensed under the BSD 3-Clause License.
+
+
+
+
+%package help
+Summary: Development documents and examples for chrys
+Provides: python3-chrys-doc
+%description help
+# chrys
+
+[![CircleCI](https://circleci.com/gh/netbek/chrys.svg?style=svg)](https://circleci.com/gh/netbek/chrys)
+
+A collection of color palettes for visualisation in JavaScript, Python and Sass.
+
+## Demo
+
+[netbek.github.io/chrys](https://netbek.github.io/chrys#colour-schemes)
+
+## Installation
+
+### Node.js and Sass
+
+```shell
+npm install chrys
+```
+
+### Python 3.6 and up
+
+```shell
+pip install chrys
+```
+
+## Usage
+
+For instructions, refer to [the docs](https://netbek.github.io/chrys#usage).
+
+## Development
+
+Install Node and Python dependencies:
+
+```shell
+./scripts/install.sh
+```
+
+Build palette data:
+
+```shell
+npm run build-data
+```
+
+Build JavaScript and Python distribution packages, Sass, CSS, Illustrator scripts:
+
+```shell
+npm run build-dist
+```
+
+Deploy documentation to GitHub Pages:
+
+```shell
+npm run deploy
+```
+
+Publish JavaScript and Python distribution packages:
+
+```shell
+npm publish
+npm run publish-py
+```
+
+## Credit
+
+Palettes from:
+
+* [Bokeh](https://github.com/bokeh/bokeh) (BSD 3-Clause)
+* [Vega](https://github.com/vega/vega) (BSD 3-Clause)
+
+## License
+
+Copyright (c) 2017 Hein Bekker. Licensed under the BSD 3-Clause License.
+
+
+
+
+%prep
+%autosetup -n chrys-4.0.25
+
+%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-chrys -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 4.0.25-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..70bd2df
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+55d73a0eab6032c1391adca29a585949 chrys-4.0.25.tar.gz