diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-12 01:49:05 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 01:49:05 +0000 |
commit | 1153253e56b9659bae830e4944ce7d51a5098d13 (patch) | |
tree | 6354a746ca958b3aae25372c2e8c01509c3614e7 | |
parent | e09fda658cc3057a19a88aa7adddb2f070bbfe0f (diff) |
automatic import of python-honeybee-radiance-command
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-honeybee-radiance-command.spec | 225 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 227 insertions, 0 deletions
@@ -0,0 +1 @@ +/honeybee-radiance-command-1.22.2.tar.gz diff --git a/python-honeybee-radiance-command.spec b/python-honeybee-radiance-command.spec new file mode 100644 index 0000000..1cf4299 --- /dev/null +++ b/python-honeybee-radiance-command.spec @@ -0,0 +1,225 @@ +%global _empty_manifest_terminate_build 0 +Name: python-honeybee-radiance-command +Version: 1.22.2 +Release: 1 +Summary: Python wrapper around Radiance commands. +License: AGPL-3.0 +URL: https://github.com/ladybug-tools/honeybee-radiance-command +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3e/4a/e5fcc124841f5bdc0d66d8aa611582145b564c3e479f23670d7cbd08c86f/honeybee-radiance-command-1.22.2.tar.gz +BuildArch: noarch + + +%description +[](https://travis-ci.com/ladybug-tools/honeybee-radiance-command) +[](https://coveralls.io/github/ladybug-tools/honeybee-radiance-command) + +[](https://www.python.org/downloads/release/python-370/) [](https://www.python.org/downloads/release/python-270/) [](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/) + +# honeybee-radiance-command + +Python wrapper around Radiance commands, used by [honeybee-radiance](https://www.ladybug.tools/honeybee-radiance/docs/). + +## Installation + +```console +pip install -U honeybee-radiance-command +``` + +## QuickStart + +```python +import honeybee_radiance_command + +``` + +## [API Documentation](http://ladybug-tools.github.io/honeybee-radiance-command/docs) + +## Local Development + +1. Clone this repo locally +```console +git clone git@github.com:ladybug-tools/honeybee-radiance-command + +# or + +git clone https://github.com/ladybug-tools/honeybee-radiance-command +``` +2. Install dependencies: +```console +cd honeybee-radiance-command +pip install -r dev-requirements.txt +``` + +3. Run Tests: +```console +python -m pytest tests/ +``` + +4. Generate Documentation: +```console +sphinx-apidoc -f -e -d 4 -o ./docs ./honeybee_radiance_command +sphinx-build -b html ./docs ./docs/_build/docs +``` + + + +%package -n python3-honeybee-radiance-command +Summary: Python wrapper around Radiance commands. +Provides: python-honeybee-radiance-command +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-honeybee-radiance-command +[](https://travis-ci.com/ladybug-tools/honeybee-radiance-command) +[](https://coveralls.io/github/ladybug-tools/honeybee-radiance-command) + +[](https://www.python.org/downloads/release/python-370/) [](https://www.python.org/downloads/release/python-270/) [](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/) + +# honeybee-radiance-command + +Python wrapper around Radiance commands, used by [honeybee-radiance](https://www.ladybug.tools/honeybee-radiance/docs/). + +## Installation + +```console +pip install -U honeybee-radiance-command +``` + +## QuickStart + +```python +import honeybee_radiance_command + +``` + +## [API Documentation](http://ladybug-tools.github.io/honeybee-radiance-command/docs) + +## Local Development + +1. Clone this repo locally +```console +git clone git@github.com:ladybug-tools/honeybee-radiance-command + +# or + +git clone https://github.com/ladybug-tools/honeybee-radiance-command +``` +2. Install dependencies: +```console +cd honeybee-radiance-command +pip install -r dev-requirements.txt +``` + +3. Run Tests: +```console +python -m pytest tests/ +``` + +4. Generate Documentation: +```console +sphinx-apidoc -f -e -d 4 -o ./docs ./honeybee_radiance_command +sphinx-build -b html ./docs ./docs/_build/docs +``` + + + +%package help +Summary: Development documents and examples for honeybee-radiance-command +Provides: python3-honeybee-radiance-command-doc +%description help +[](https://travis-ci.com/ladybug-tools/honeybee-radiance-command) +[](https://coveralls.io/github/ladybug-tools/honeybee-radiance-command) + +[](https://www.python.org/downloads/release/python-370/) [](https://www.python.org/downloads/release/python-270/) [](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/) + +# honeybee-radiance-command + +Python wrapper around Radiance commands, used by [honeybee-radiance](https://www.ladybug.tools/honeybee-radiance/docs/). + +## Installation + +```console +pip install -U honeybee-radiance-command +``` + +## QuickStart + +```python +import honeybee_radiance_command + +``` + +## [API Documentation](http://ladybug-tools.github.io/honeybee-radiance-command/docs) + +## Local Development + +1. Clone this repo locally +```console +git clone git@github.com:ladybug-tools/honeybee-radiance-command + +# or + +git clone https://github.com/ladybug-tools/honeybee-radiance-command +``` +2. Install dependencies: +```console +cd honeybee-radiance-command +pip install -r dev-requirements.txt +``` + +3. Run Tests: +```console +python -m pytest tests/ +``` + +4. Generate Documentation: +```console +sphinx-apidoc -f -e -d 4 -o ./docs ./honeybee_radiance_command +sphinx-build -b html ./docs ./docs/_build/docs +``` + + + +%prep +%autosetup -n honeybee-radiance-command-1.22.2 + +%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-honeybee-radiance-command -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 1.22.2-1 +- Package Spec generated @@ -0,0 +1 @@ +0029f34fcaf286b33dcc03e9c0bcc42f honeybee-radiance-command-1.22.2.tar.gz |