summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-honeybee-3dm.spec248
-rw-r--r--sources1
3 files changed, 250 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..34c874c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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.
+
+[![Build Status](https://github.com/ladybug-tools/honeybee-3dm/workflows/CI/badge.svg)](https://github.com/ladybug-tools/honeybee-3dm/actions)
+[![Coverage Status](https://coveralls.io/repos/github/ladybug-tools/honeybee-3dm/badge.svg)](https://coveralls.io/github/ladybug-tools/honeybee-3dm)
+[![Python 3.7](https://img.shields.io/badge/python-3.7-green.svg)](https://www.python.org/downloads/release/python-370/)
+
+[![Generic badge](https://img.shields.io/badge/Demo-YouTube-Green.svg)](https://youtube.com/playlist?list=PL8Ix1amWXqWIBuSoVX3Qn2dqwTUwY7WL2)
+[![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/ladybug-tools/honeybee-3dm)](https://github.com/ladybug-tools/honeybee-3dm/releases)
+[![GitHub](https://img.shields.io/github/license/ladybug-tools/honeybee-3dm)](https://github.com/ladybug-tools/honeybee-3dm/blob/master/LICENSE)
+
+
+[![GitHub last commit](https://img.shields.io/github/last-commit/ladybug-tools/honeybee-3dm)](https://github.com/ladybug-tools/honeybee-3dm/commits/master)
+[![GitHub issues](https://img.shields.io/github/issues/ladybug-tools/honeybee-3dm)](https://github.com/ladybug-tools/honeybee-3dm/issues)
+[![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/ladybug-tools/honeybee-3dm)](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.
+
+[![Build Status](https://github.com/ladybug-tools/honeybee-3dm/workflows/CI/badge.svg)](https://github.com/ladybug-tools/honeybee-3dm/actions)
+[![Coverage Status](https://coveralls.io/repos/github/ladybug-tools/honeybee-3dm/badge.svg)](https://coveralls.io/github/ladybug-tools/honeybee-3dm)
+[![Python 3.7](https://img.shields.io/badge/python-3.7-green.svg)](https://www.python.org/downloads/release/python-370/)
+
+[![Generic badge](https://img.shields.io/badge/Demo-YouTube-Green.svg)](https://youtube.com/playlist?list=PL8Ix1amWXqWIBuSoVX3Qn2dqwTUwY7WL2)
+[![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/ladybug-tools/honeybee-3dm)](https://github.com/ladybug-tools/honeybee-3dm/releases)
+[![GitHub](https://img.shields.io/github/license/ladybug-tools/honeybee-3dm)](https://github.com/ladybug-tools/honeybee-3dm/blob/master/LICENSE)
+
+
+[![GitHub last commit](https://img.shields.io/github/last-commit/ladybug-tools/honeybee-3dm)](https://github.com/ladybug-tools/honeybee-3dm/commits/master)
+[![GitHub issues](https://img.shields.io/github/issues/ladybug-tools/honeybee-3dm)](https://github.com/ladybug-tools/honeybee-3dm/issues)
+[![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/ladybug-tools/honeybee-3dm)](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.
+
+[![Build Status](https://github.com/ladybug-tools/honeybee-3dm/workflows/CI/badge.svg)](https://github.com/ladybug-tools/honeybee-3dm/actions)
+[![Coverage Status](https://coveralls.io/repos/github/ladybug-tools/honeybee-3dm/badge.svg)](https://coveralls.io/github/ladybug-tools/honeybee-3dm)
+[![Python 3.7](https://img.shields.io/badge/python-3.7-green.svg)](https://www.python.org/downloads/release/python-370/)
+
+[![Generic badge](https://img.shields.io/badge/Demo-YouTube-Green.svg)](https://youtube.com/playlist?list=PL8Ix1amWXqWIBuSoVX3Qn2dqwTUwY7WL2)
+[![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/ladybug-tools/honeybee-3dm)](https://github.com/ladybug-tools/honeybee-3dm/releases)
+[![GitHub](https://img.shields.io/github/license/ladybug-tools/honeybee-3dm)](https://github.com/ladybug-tools/honeybee-3dm/blob/master/LICENSE)
+
+
+[![GitHub last commit](https://img.shields.io/github/last-commit/ladybug-tools/honeybee-3dm)](https://github.com/ladybug-tools/honeybee-3dm/commits/master)
+[![GitHub issues](https://img.shields.io/github/issues/ladybug-tools/honeybee-3dm)](https://github.com/ladybug-tools/honeybee-3dm/issues)
+[![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/ladybug-tools/honeybee-3dm)](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
diff --git a/sources b/sources
new file mode 100644
index 0000000..60b2b4b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5347c46eb249b20744f0747cd6167e36 honeybee-3dm-0.4.69.tar.gz