diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 06:06:50 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 06:06:50 +0000 |
commit | 7ded87c1a98b8bde7c8bb00484f7537a2296ccd4 (patch) | |
tree | f8398d57bc59c860afb51642df766d341df86da0 | |
parent | f057b2345fb5e4c001e29af443b6521cc9039e30 (diff) |
automatic import of python-honeybee-energy
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-honeybee-energy.spec | 243 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 245 insertions, 0 deletions
@@ -0,0 +1 @@ +/honeybee-energy-1.99.22.tar.gz diff --git a/python-honeybee-energy.spec b/python-honeybee-energy.spec new file mode 100644 index 0000000..e1befe4 --- /dev/null +++ b/python-honeybee-energy.spec @@ -0,0 +1,243 @@ +%global _empty_manifest_terminate_build 0 +Name: python-honeybee-energy +Version: 1.99.22 +Release: 1 +Summary: Energy simulation library for honeybee. +License: AGPL-3.0 +URL: https://github.com/ladybug-tools/honeybee-energy +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/da/07/4a46342c8febe1ad9e7ab118a66262c1bc6b0768e5b8a60b221de7a5b4c8/honeybee-energy-1.99.22.tar.gz +BuildArch: noarch + +Requires: python3-honeybee-core +Requires: python3-honeybee-standards +Requires: python3-honeybee-energy-standards + +%description + + +[](https://github.com/ladybug-tools/honeybee-energy/actions) +[](https://coveralls.io/github/ladybug-tools/honeybee-energy) + +[](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-energy + +Honeybee extension for energy simulation. + +Honeybee-energy leverages the [EnergyPlus](https://github.com/NREL/EnergyPlus) +simulation engine and the [OpenStudio](https://github.com/NREL/OpenStudio) +SDK in order to add energy simulation properties and capabilities to +[honeybee-core](https://github.com/ladybug-tools/honeybee-core). + +## Installation + +`pip install -U honeybee-energy` + +If you want to also include the standards library of typical ProgramTypes and +ConstructionSets use: + +`pip install -U honeybee-energy[standards]` + +To check if the command line interface is installed correctly use `honeybee-energy --help`. + +## [API Documentation](http://ladybug-tools.github.io/honeybee-energy/docs) + +## Local Development + +1. Clone this repo locally +```console +git clone git@github.com:ladybug-tools/honeybee-energy + +# or + +git clone https://github.com/ladybug-tools/honeybee-energy +``` +2. Install dependencies: +```console +cd honeybee-energy +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_energy +sphinx-build -b html ./docs ./docs/_build/docs +``` + + +%package -n python3-honeybee-energy +Summary: Energy simulation library for honeybee. +Provides: python-honeybee-energy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-honeybee-energy + + +[](https://github.com/ladybug-tools/honeybee-energy/actions) +[](https://coveralls.io/github/ladybug-tools/honeybee-energy) + +[](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-energy + +Honeybee extension for energy simulation. + +Honeybee-energy leverages the [EnergyPlus](https://github.com/NREL/EnergyPlus) +simulation engine and the [OpenStudio](https://github.com/NREL/OpenStudio) +SDK in order to add energy simulation properties and capabilities to +[honeybee-core](https://github.com/ladybug-tools/honeybee-core). + +## Installation + +`pip install -U honeybee-energy` + +If you want to also include the standards library of typical ProgramTypes and +ConstructionSets use: + +`pip install -U honeybee-energy[standards]` + +To check if the command line interface is installed correctly use `honeybee-energy --help`. + +## [API Documentation](http://ladybug-tools.github.io/honeybee-energy/docs) + +## Local Development + +1. Clone this repo locally +```console +git clone git@github.com:ladybug-tools/honeybee-energy + +# or + +git clone https://github.com/ladybug-tools/honeybee-energy +``` +2. Install dependencies: +```console +cd honeybee-energy +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_energy +sphinx-build -b html ./docs ./docs/_build/docs +``` + + +%package help +Summary: Development documents and examples for honeybee-energy +Provides: python3-honeybee-energy-doc +%description help + + +[](https://github.com/ladybug-tools/honeybee-energy/actions) +[](https://coveralls.io/github/ladybug-tools/honeybee-energy) + +[](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-energy + +Honeybee extension for energy simulation. + +Honeybee-energy leverages the [EnergyPlus](https://github.com/NREL/EnergyPlus) +simulation engine and the [OpenStudio](https://github.com/NREL/OpenStudio) +SDK in order to add energy simulation properties and capabilities to +[honeybee-core](https://github.com/ladybug-tools/honeybee-core). + +## Installation + +`pip install -U honeybee-energy` + +If you want to also include the standards library of typical ProgramTypes and +ConstructionSets use: + +`pip install -U honeybee-energy[standards]` + +To check if the command line interface is installed correctly use `honeybee-energy --help`. + +## [API Documentation](http://ladybug-tools.github.io/honeybee-energy/docs) + +## Local Development + +1. Clone this repo locally +```console +git clone git@github.com:ladybug-tools/honeybee-energy + +# or + +git clone https://github.com/ladybug-tools/honeybee-energy +``` +2. Install dependencies: +```console +cd honeybee-energy +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_energy +sphinx-build -b html ./docs ./docs/_build/docs +``` + + +%prep +%autosetup -n honeybee-energy-1.99.22 + +%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-energy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.99.22-1 +- Package Spec generated @@ -0,0 +1 @@ +810d48a36a7473cce09162dda5acb42c honeybee-energy-1.99.22.tar.gz |