diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 07:45:47 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 07:45:47 +0000 |
commit | 573eb22aec1979276b752883224f82064bcc83de (patch) | |
tree | 6fca352822064d5eb4cb64ef6736f80af2a4cae9 | |
parent | 0a5aa58331dc72388eef1bdb2a464a83051ce587 (diff) |
automatic import of python-honeybee-3dm
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-honeybee-3dm.spec | 248 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 250 insertions, 0 deletions
@@ -0,0 +1 @@ +/honeybee-3dm-0.4.69.tar.gz diff --git a/python-honeybee-3dm.spec b/python-honeybee-3dm.spec new file mode 100644 index 0000000..eac0d2e --- /dev/null +++ b/python-honeybee-3dm.spec @@ -0,0 +1,248 @@ +%global _empty_manifest_terminate_build 0 +Name: python-honeybee-3dm +Version: 0.4.69 +Release: 1 +Summary: Honeybee extension for translating to and from Rhino 3dm. +License: AGPL-3.0 +URL: https://github.com/ladybug-tools/honeybee-3dm +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/be/e8/ce251c3c9d27680610da631711160e5af341808aeb763392c7e3c1902c81/honeybee-3dm-0.4.69.tar.gz +BuildArch: noarch + +Requires: python3-lbt-honeybee +Requires: python3-rhino3dm + +%description + +# honeybee-3dm +Honeybee extension for translating from a [Rhino 3dm](https://www.rhino3d.com/) aka, +a Rhino file. + +[](https://github.com/ladybug-tools/honeybee-3dm/actions) +[](https://coveralls.io/github/ladybug-tools/honeybee-3dm) +[](https://www.python.org/downloads/release/python-370/) + +[](https://youtube.com/playlist?list=PL8Ix1amWXqWIBuSoVX3Qn2dqwTUwY7WL2) +[](https://github.com/ladybug-tools/honeybee-3dm/releases) +[](https://github.com/ladybug-tools/honeybee-3dm/blob/master/LICENSE) + + +[](https://github.com/ladybug-tools/honeybee-3dm/commits/master) +[](https://github.com/ladybug-tools/honeybee-3dm/issues) +[](https://github.com/ladybug-tools/honeybee-3dm/issues?q=is%3Aissue+is%3Aclosed) + +## Installation + +```console +pip install honeybee-3dm +``` + +## QuickStart + +```python +import honeybee_3dm +``` +## Usage + +```console +Usage: honeybee-3dm translate [OPTIONS] RHINO_FILE + + Translate a rhino file to HBJSON. + + Args: + rhino-file: Path to the rhino file. + +Options: + -n, --name TEXT Name of the output HBJSON file. If not provided, + "unnamed" will be used. + + -f, --folder DIRECTORY Path to folder where HBJSON will be written. + [default: .] + + -cf, --config PATH File Path to the config.json file. + --help Show this message and exit. +``` + +## Connection +After generating the hbjson, you may use +[honeybee-vtk](https://github.com/ladybug-tools/honeybee-vtk#honeybee-vtk) to visualize +that hbjson in a web browser. + +## [API Documentation](http://ladybug-tools.github.io/honeybee-3dm/docs) + + + + +%package -n python3-honeybee-3dm +Summary: Honeybee extension for translating to and from Rhino 3dm. +Provides: python-honeybee-3dm +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-honeybee-3dm + +# honeybee-3dm +Honeybee extension for translating from a [Rhino 3dm](https://www.rhino3d.com/) aka, +a Rhino file. + +[](https://github.com/ladybug-tools/honeybee-3dm/actions) +[](https://coveralls.io/github/ladybug-tools/honeybee-3dm) +[](https://www.python.org/downloads/release/python-370/) + +[](https://youtube.com/playlist?list=PL8Ix1amWXqWIBuSoVX3Qn2dqwTUwY7WL2) +[](https://github.com/ladybug-tools/honeybee-3dm/releases) +[](https://github.com/ladybug-tools/honeybee-3dm/blob/master/LICENSE) + + +[](https://github.com/ladybug-tools/honeybee-3dm/commits/master) +[](https://github.com/ladybug-tools/honeybee-3dm/issues) +[](https://github.com/ladybug-tools/honeybee-3dm/issues?q=is%3Aissue+is%3Aclosed) + +## Installation + +```console +pip install honeybee-3dm +``` + +## QuickStart + +```python +import honeybee_3dm +``` +## Usage + +```console +Usage: honeybee-3dm translate [OPTIONS] RHINO_FILE + + Translate a rhino file to HBJSON. + + Args: + rhino-file: Path to the rhino file. + +Options: + -n, --name TEXT Name of the output HBJSON file. If not provided, + "unnamed" will be used. + + -f, --folder DIRECTORY Path to folder where HBJSON will be written. + [default: .] + + -cf, --config PATH File Path to the config.json file. + --help Show this message and exit. +``` + +## Connection +After generating the hbjson, you may use +[honeybee-vtk](https://github.com/ladybug-tools/honeybee-vtk#honeybee-vtk) to visualize +that hbjson in a web browser. + +## [API Documentation](http://ladybug-tools.github.io/honeybee-3dm/docs) + + + + +%package help +Summary: Development documents and examples for honeybee-3dm +Provides: python3-honeybee-3dm-doc +%description help + +# honeybee-3dm +Honeybee extension for translating from a [Rhino 3dm](https://www.rhino3d.com/) aka, +a Rhino file. + +[](https://github.com/ladybug-tools/honeybee-3dm/actions) +[](https://coveralls.io/github/ladybug-tools/honeybee-3dm) +[](https://www.python.org/downloads/release/python-370/) + +[](https://youtube.com/playlist?list=PL8Ix1amWXqWIBuSoVX3Qn2dqwTUwY7WL2) +[](https://github.com/ladybug-tools/honeybee-3dm/releases) +[](https://github.com/ladybug-tools/honeybee-3dm/blob/master/LICENSE) + + +[](https://github.com/ladybug-tools/honeybee-3dm/commits/master) +[](https://github.com/ladybug-tools/honeybee-3dm/issues) +[](https://github.com/ladybug-tools/honeybee-3dm/issues?q=is%3Aissue+is%3Aclosed) + +## Installation + +```console +pip install honeybee-3dm +``` + +## QuickStart + +```python +import honeybee_3dm +``` +## Usage + +```console +Usage: honeybee-3dm translate [OPTIONS] RHINO_FILE + + Translate a rhino file to HBJSON. + + Args: + rhino-file: Path to the rhino file. + +Options: + -n, --name TEXT Name of the output HBJSON file. If not provided, + "unnamed" will be used. + + -f, --folder DIRECTORY Path to folder where HBJSON will be written. + [default: .] + + -cf, --config PATH File Path to the config.json file. + --help Show this message and exit. +``` + +## Connection +After generating the hbjson, you may use +[honeybee-vtk](https://github.com/ladybug-tools/honeybee-vtk#honeybee-vtk) to visualize +that hbjson in a web browser. + +## [API Documentation](http://ladybug-tools.github.io/honeybee-3dm/docs) + + + + +%prep +%autosetup -n honeybee-3dm-0.4.69 + +%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-3dm -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.69-1 +- Package Spec generated @@ -0,0 +1 @@ +5347c46eb249b20744f0747cd6167e36 honeybee-3dm-0.4.69.tar.gz |