From 06d132835f87bf5d5b559066f9855bdcc1294163 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 12 Apr 2023 04:34:11 +0000 Subject: automatic import of python-ladybug-rhino --- .gitignore | 1 + python-ladybug-rhino.spec | 226 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 228 insertions(+) create mode 100644 python-ladybug-rhino.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..e1d8aa4 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ladybug-rhino-1.39.10.tar.gz diff --git a/python-ladybug-rhino.spec b/python-ladybug-rhino.spec new file mode 100644 index 0000000..38f3cc4 --- /dev/null +++ b/python-ladybug-rhino.spec @@ -0,0 +1,226 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ladybug-rhino +Version: 1.39.10 +Release: 1 +Summary: A library for communicating between Ladybug Tools core libraries and Rhinoceros CAD. +License: AGPL-3.0 +URL: https://github.com/ladybug-tools/ladybug-rhino +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f1/7a/b6df91da3c2f6dabf3f87229d14bb44ed3beb8ad4b9ad07b7e3f934af21c/ladybug-rhino-1.39.10.tar.gz +BuildArch: noarch + +Requires: python3-ladybug-display + +%description +![Build Status](https://github.com/ladybug-tools/ladybug-rhino/workflows/CI/badge.svg) + +[![IronPython](https://img.shields.io/badge/ironpython-2.7-red.svg)](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/) + +# ladybug-rhino + +A library for communicating between Ladybug Tools core libraries and Rhinoceros CAD. + +This library is used by both the Grasshopper and Rhino plugins to communicate with +the ladybug core Python library. Note that this library has dependencies +on Rhino SDK and Grasshopper SDK and is intended to contain all of such dependencies +for the LBT-Grasshopper plugin. It is NOT intended to be run with cPython with +the exceptions of running the CLI or when used with the cPython capabilities in Rhino 8. + +## Installation + +`pip install -U ladybug-rhino` + +To check if Ladybug Rhino command line is installed correctly try `ladybug-rhino viz` +and you should get a `viiiiiiiiiiiiizzzzzzzzz!` back in response! + +## [API Documentation](http://ladybug-tools.github.io/ladybug-rhino/docs/) + +## Local Development + +1. Clone this repo locally + +```python +git clone git@github.com:ladybug-tools/ladybug-rhino + +# or + +git clone https://github.com/ladybug-tools/ladybug-rhino +``` + +2. Install dependencies + +```console +cd ladybug-rhino +pip install -r dev-requirements.txt +pip install -r requirements.txt +pip install pythonnet +pip install rhinoinside +``` + +3. Generate Documentation + +```console +sphinx-apidoc -f -e -d 4 -o ./docs ./ladybug_rhino +sphinx-build -b html ./docs ./docs/_build/docs +``` + + +%package -n python3-ladybug-rhino +Summary: A library for communicating between Ladybug Tools core libraries and Rhinoceros CAD. +Provides: python-ladybug-rhino +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-ladybug-rhino +![Build Status](https://github.com/ladybug-tools/ladybug-rhino/workflows/CI/badge.svg) + +[![IronPython](https://img.shields.io/badge/ironpython-2.7-red.svg)](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/) + +# ladybug-rhino + +A library for communicating between Ladybug Tools core libraries and Rhinoceros CAD. + +This library is used by both the Grasshopper and Rhino plugins to communicate with +the ladybug core Python library. Note that this library has dependencies +on Rhino SDK and Grasshopper SDK and is intended to contain all of such dependencies +for the LBT-Grasshopper plugin. It is NOT intended to be run with cPython with +the exceptions of running the CLI or when used with the cPython capabilities in Rhino 8. + +## Installation + +`pip install -U ladybug-rhino` + +To check if Ladybug Rhino command line is installed correctly try `ladybug-rhino viz` +and you should get a `viiiiiiiiiiiiizzzzzzzzz!` back in response! + +## [API Documentation](http://ladybug-tools.github.io/ladybug-rhino/docs/) + +## Local Development + +1. Clone this repo locally + +```python +git clone git@github.com:ladybug-tools/ladybug-rhino + +# or + +git clone https://github.com/ladybug-tools/ladybug-rhino +``` + +2. Install dependencies + +```console +cd ladybug-rhino +pip install -r dev-requirements.txt +pip install -r requirements.txt +pip install pythonnet +pip install rhinoinside +``` + +3. Generate Documentation + +```console +sphinx-apidoc -f -e -d 4 -o ./docs ./ladybug_rhino +sphinx-build -b html ./docs ./docs/_build/docs +``` + + +%package help +Summary: Development documents and examples for ladybug-rhino +Provides: python3-ladybug-rhino-doc +%description help +![Build Status](https://github.com/ladybug-tools/ladybug-rhino/workflows/CI/badge.svg) + +[![IronPython](https://img.shields.io/badge/ironpython-2.7-red.svg)](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/) + +# ladybug-rhino + +A library for communicating between Ladybug Tools core libraries and Rhinoceros CAD. + +This library is used by both the Grasshopper and Rhino plugins to communicate with +the ladybug core Python library. Note that this library has dependencies +on Rhino SDK and Grasshopper SDK and is intended to contain all of such dependencies +for the LBT-Grasshopper plugin. It is NOT intended to be run with cPython with +the exceptions of running the CLI or when used with the cPython capabilities in Rhino 8. + +## Installation + +`pip install -U ladybug-rhino` + +To check if Ladybug Rhino command line is installed correctly try `ladybug-rhino viz` +and you should get a `viiiiiiiiiiiiizzzzzzzzz!` back in response! + +## [API Documentation](http://ladybug-tools.github.io/ladybug-rhino/docs/) + +## Local Development + +1. Clone this repo locally + +```python +git clone git@github.com:ladybug-tools/ladybug-rhino + +# or + +git clone https://github.com/ladybug-tools/ladybug-rhino +``` + +2. Install dependencies + +```console +cd ladybug-rhino +pip install -r dev-requirements.txt +pip install -r requirements.txt +pip install pythonnet +pip install rhinoinside +``` + +3. Generate Documentation + +```console +sphinx-apidoc -f -e -d 4 -o ./docs ./ladybug_rhino +sphinx-build -b html ./docs ./docs/_build/docs +``` + + +%prep +%autosetup -n ladybug-rhino-1.39.10 + +%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-ladybug-rhino -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot - 1.39.10-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..051ab86 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +56932e6f66aecb81cef147ec9176b8d9 ladybug-rhino-1.39.10.tar.gz -- cgit v1.2.3