summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-lbt-recipes.spec210
-rw-r--r--sources1
3 files changed, 212 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..821d5cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lbt-recipes-0.25.4.tar.gz
diff --git a/python-lbt-recipes.spec b/python-lbt-recipes.spec
new file mode 100644
index 0000000..e83f29b
--- /dev/null
+++ b/python-lbt-recipes.spec
@@ -0,0 +1,210 @@
+%global _empty_manifest_terminate_build 0
+Name: python-lbt-recipes
+Version: 0.25.4
+Release: 1
+Summary: A collection of recipes that ship with the Ladybug Tools plugins.
+License: AGPL-3.0
+URL: https://github.com/ladybug-tools/lbt-recipes
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ae/f1/9a6cb22697991183e1b353f73e57ccceb2f33e243c480e7d896ea417d703/lbt-recipes-0.25.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-queenbee-local
+Requires: python3-pollination-handlers
+Requires: python3-click
+
+%description
+[![Build Status](https://github.com/ladybug-tools/lbt-recipes/workflows/CI/badge.svg)](https://github.com/ladybug-tools/lbt-recipes/actions)
+
+# lbt-recipes
+
+A collection of recipes that ship with the Ladybug Tools plugins.
+
+This includes Radiance recipes for daylight and radiation studies
+using [Radiance](http://radiance-online.org/).
+
+It also includes microclimate mapping recipes, which spatially map thermal
+comfort using [EnergyPlus](https://github.com/NREL/EnergyPlus)/[OpenStudio](https://github.com/NREL/OpenStudio)
+and [Radiance](http://radiance-online.org/).
+
+## Installation
+
+`pip install -U lbt-recipes`
+
+To check if command line interface is installed correctly use `lbt-recipes viz` and you
+should get a `viiiiiiiiiiiiizzzzzzzzz!` back in response!
+
+## Local Development
+
+1. Clone this repo locally
+
+```console
+git clone git@github.com:ladybug-tools/lbt-recipes
+
+# or
+
+git clone https://github.com/ladybug-tools/lbt-recipes
+```
+
+2. Install dependencies:
+
+```console
+cd lbt-recipes
+pip install -r dev-requirements.txt
+pip install -r requirements.txt
+```
+
+3. Run Tests:
+
+```console
+python -m pytest ./tests
+```
+
+
+%package -n python3-lbt-recipes
+Summary: A collection of recipes that ship with the Ladybug Tools plugins.
+Provides: python-lbt-recipes
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-lbt-recipes
+[![Build Status](https://github.com/ladybug-tools/lbt-recipes/workflows/CI/badge.svg)](https://github.com/ladybug-tools/lbt-recipes/actions)
+
+# lbt-recipes
+
+A collection of recipes that ship with the Ladybug Tools plugins.
+
+This includes Radiance recipes for daylight and radiation studies
+using [Radiance](http://radiance-online.org/).
+
+It also includes microclimate mapping recipes, which spatially map thermal
+comfort using [EnergyPlus](https://github.com/NREL/EnergyPlus)/[OpenStudio](https://github.com/NREL/OpenStudio)
+and [Radiance](http://radiance-online.org/).
+
+## Installation
+
+`pip install -U lbt-recipes`
+
+To check if command line interface is installed correctly use `lbt-recipes viz` and you
+should get a `viiiiiiiiiiiiizzzzzzzzz!` back in response!
+
+## Local Development
+
+1. Clone this repo locally
+
+```console
+git clone git@github.com:ladybug-tools/lbt-recipes
+
+# or
+
+git clone https://github.com/ladybug-tools/lbt-recipes
+```
+
+2. Install dependencies:
+
+```console
+cd lbt-recipes
+pip install -r dev-requirements.txt
+pip install -r requirements.txt
+```
+
+3. Run Tests:
+
+```console
+python -m pytest ./tests
+```
+
+
+%package help
+Summary: Development documents and examples for lbt-recipes
+Provides: python3-lbt-recipes-doc
+%description help
+[![Build Status](https://github.com/ladybug-tools/lbt-recipes/workflows/CI/badge.svg)](https://github.com/ladybug-tools/lbt-recipes/actions)
+
+# lbt-recipes
+
+A collection of recipes that ship with the Ladybug Tools plugins.
+
+This includes Radiance recipes for daylight and radiation studies
+using [Radiance](http://radiance-online.org/).
+
+It also includes microclimate mapping recipes, which spatially map thermal
+comfort using [EnergyPlus](https://github.com/NREL/EnergyPlus)/[OpenStudio](https://github.com/NREL/OpenStudio)
+and [Radiance](http://radiance-online.org/).
+
+## Installation
+
+`pip install -U lbt-recipes`
+
+To check if command line interface is installed correctly use `lbt-recipes viz` and you
+should get a `viiiiiiiiiiiiizzzzzzzzz!` back in response!
+
+## Local Development
+
+1. Clone this repo locally
+
+```console
+git clone git@github.com:ladybug-tools/lbt-recipes
+
+# or
+
+git clone https://github.com/ladybug-tools/lbt-recipes
+```
+
+2. Install dependencies:
+
+```console
+cd lbt-recipes
+pip install -r dev-requirements.txt
+pip install -r requirements.txt
+```
+
+3. Run Tests:
+
+```console
+python -m pytest ./tests
+```
+
+
+%prep
+%autosetup -n lbt-recipes-0.25.4
+
+%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-lbt-recipes -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.25.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..078faa8
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d4208ff5931eb377b28fb3e023ad3c2b lbt-recipes-0.25.4.tar.gz