summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 12:29:13 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 12:29:13 +0000
commitfab309449ed530416bcf108954c2d7694dffb34c (patch)
tree0e7ab5d5b76e5923537ee93e598fae42e6ca76ad
parent236dfa1d7168a6b4c0593fabe36286f53e6098b0 (diff)
automatic import of python-honeybee-core
-rw-r--r--.gitignore1
-rw-r--r--python-honeybee-core.spec249
-rw-r--r--sources1
3 files changed, 251 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..bfd5d15 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/honeybee-core-1.55.5.tar.gz
diff --git a/python-honeybee-core.spec b/python-honeybee-core.spec
new file mode 100644
index 0000000..7bffb49
--- /dev/null
+++ b/python-honeybee-core.spec
@@ -0,0 +1,249 @@
+%global _empty_manifest_terminate_build 0
+Name: python-honeybee-core
+Version: 1.55.5
+Release: 1
+Summary: A library to create 3D building geometry for various types of environmental simulation.
+License: AGPL-3.0
+URL: https://github.com/ladybug-tools/honeybee-core
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3c/86/945c83672086bef2711ac372b15ab16782d1cc1f3e868c7642bd120f5e42/honeybee-core-1.55.5.tar.gz
+BuildArch: noarch
+
+Requires: python3-ladybug-core
+Requires: python3-ladybug-geometry-polyskel
+Requires: python3-honeybee-schema
+
+%description
+![Honeybee](https://www.ladybug.tools/assets/img/honeybee.png)
+
+[![Build Status](https://travis-ci.com/ladybug-tools/honeybee-core.svg?branch=master)](https://travis-ci.com/ladybug-tools/honeybee-core)
+[![Coverage Status](https://coveralls.io/repos/github/ladybug-tools/honeybee-core/badge.svg?branch=master)](https://coveralls.io/github/ladybug-tools/honeybee-core)
+
+[![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/) [![Python 2.7](https://img.shields.io/badge/python-2.7-green.svg)](https://www.python.org/downloads/release/python-270/) [![IronPython](https://img.shields.io/badge/ironpython-2.7-red.svg)](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/)
+
+# honeybee-core
+
+Honeybee is a collection of Python libraries to create representations of buildings
+following [honeybee-schema](https://github.com/ladybug-tools/honeybee-schema/wiki).
+
+This package is the core library that provides honeybee's common functionalities.
+To extend these functionalities you should install available Honeybee extensions or write
+your own.
+
+Here are a number of frequently used extensions for Honeybee:
+
+- [honeybee-energy](https://github.com/ladybug-tools/honeybee-energy): Adds Energy simulation to Honeybee.
+- [honeybee-radiance](https://github.com/ladybug-tools/honeybee-radiance): Adds daylight simulation to Honeybee.
+
+# Installation
+
+To install the core library use:
+
+`pip install -U honeybee-core`
+
+To check if Honeybee command line interface is installed correctly use `honeybee viz` and you
+should get a `viiiiiiiiiiiiizzzzzzzzz!` back in response! :bee:
+
+# [API Documentation](https://www.ladybug.tools/honeybee-core/docs/)
+
+## Local Development
+1. Clone this repo locally
+```console
+git clone git@github.com:ladybug-tools/honeybee-core.git
+
+# or
+
+git clone https://github.com/ladybug-tools/honeybee-core.git
+```
+2. Install dependencies:
+```console
+cd honeybee-core
+pip install -r dev-requirements.txt
+pip install -r requirements.txt
+```
+
+3. Run Tests:
+```console
+python -m pytest ./tests
+```
+
+4. Generate Documentation:
+```console
+sphinx-apidoc -f -e -d 4 -o ./docs ./honeybee
+sphinx-build -b html ./docs ./docs/_build/docs
+```
+
+
+%package -n python3-honeybee-core
+Summary: A library to create 3D building geometry for various types of environmental simulation.
+Provides: python-honeybee-core
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-honeybee-core
+![Honeybee](https://www.ladybug.tools/assets/img/honeybee.png)
+
+[![Build Status](https://travis-ci.com/ladybug-tools/honeybee-core.svg?branch=master)](https://travis-ci.com/ladybug-tools/honeybee-core)
+[![Coverage Status](https://coveralls.io/repos/github/ladybug-tools/honeybee-core/badge.svg?branch=master)](https://coveralls.io/github/ladybug-tools/honeybee-core)
+
+[![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/) [![Python 2.7](https://img.shields.io/badge/python-2.7-green.svg)](https://www.python.org/downloads/release/python-270/) [![IronPython](https://img.shields.io/badge/ironpython-2.7-red.svg)](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/)
+
+# honeybee-core
+
+Honeybee is a collection of Python libraries to create representations of buildings
+following [honeybee-schema](https://github.com/ladybug-tools/honeybee-schema/wiki).
+
+This package is the core library that provides honeybee's common functionalities.
+To extend these functionalities you should install available Honeybee extensions or write
+your own.
+
+Here are a number of frequently used extensions for Honeybee:
+
+- [honeybee-energy](https://github.com/ladybug-tools/honeybee-energy): Adds Energy simulation to Honeybee.
+- [honeybee-radiance](https://github.com/ladybug-tools/honeybee-radiance): Adds daylight simulation to Honeybee.
+
+# Installation
+
+To install the core library use:
+
+`pip install -U honeybee-core`
+
+To check if Honeybee command line interface is installed correctly use `honeybee viz` and you
+should get a `viiiiiiiiiiiiizzzzzzzzz!` back in response! :bee:
+
+# [API Documentation](https://www.ladybug.tools/honeybee-core/docs/)
+
+## Local Development
+1. Clone this repo locally
+```console
+git clone git@github.com:ladybug-tools/honeybee-core.git
+
+# or
+
+git clone https://github.com/ladybug-tools/honeybee-core.git
+```
+2. Install dependencies:
+```console
+cd honeybee-core
+pip install -r dev-requirements.txt
+pip install -r requirements.txt
+```
+
+3. Run Tests:
+```console
+python -m pytest ./tests
+```
+
+4. Generate Documentation:
+```console
+sphinx-apidoc -f -e -d 4 -o ./docs ./honeybee
+sphinx-build -b html ./docs ./docs/_build/docs
+```
+
+
+%package help
+Summary: Development documents and examples for honeybee-core
+Provides: python3-honeybee-core-doc
+%description help
+![Honeybee](https://www.ladybug.tools/assets/img/honeybee.png)
+
+[![Build Status](https://travis-ci.com/ladybug-tools/honeybee-core.svg?branch=master)](https://travis-ci.com/ladybug-tools/honeybee-core)
+[![Coverage Status](https://coveralls.io/repos/github/ladybug-tools/honeybee-core/badge.svg?branch=master)](https://coveralls.io/github/ladybug-tools/honeybee-core)
+
+[![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/) [![Python 2.7](https://img.shields.io/badge/python-2.7-green.svg)](https://www.python.org/downloads/release/python-270/) [![IronPython](https://img.shields.io/badge/ironpython-2.7-red.svg)](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/)
+
+# honeybee-core
+
+Honeybee is a collection of Python libraries to create representations of buildings
+following [honeybee-schema](https://github.com/ladybug-tools/honeybee-schema/wiki).
+
+This package is the core library that provides honeybee's common functionalities.
+To extend these functionalities you should install available Honeybee extensions or write
+your own.
+
+Here are a number of frequently used extensions for Honeybee:
+
+- [honeybee-energy](https://github.com/ladybug-tools/honeybee-energy): Adds Energy simulation to Honeybee.
+- [honeybee-radiance](https://github.com/ladybug-tools/honeybee-radiance): Adds daylight simulation to Honeybee.
+
+# Installation
+
+To install the core library use:
+
+`pip install -U honeybee-core`
+
+To check if Honeybee command line interface is installed correctly use `honeybee viz` and you
+should get a `viiiiiiiiiiiiizzzzzzzzz!` back in response! :bee:
+
+# [API Documentation](https://www.ladybug.tools/honeybee-core/docs/)
+
+## Local Development
+1. Clone this repo locally
+```console
+git clone git@github.com:ladybug-tools/honeybee-core.git
+
+# or
+
+git clone https://github.com/ladybug-tools/honeybee-core.git
+```
+2. Install dependencies:
+```console
+cd honeybee-core
+pip install -r dev-requirements.txt
+pip install -r requirements.txt
+```
+
+3. Run Tests:
+```console
+python -m pytest ./tests
+```
+
+4. Generate Documentation:
+```console
+sphinx-apidoc -f -e -d 4 -o ./docs ./honeybee
+sphinx-build -b html ./docs ./docs/_build/docs
+```
+
+
+%prep
+%autosetup -n honeybee-core-1.55.5
+
+%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-core -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.55.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..e1ce31e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ad09249182f9156fd480fefc6c31705d honeybee-core-1.55.5.tar.gz