%global _empty_manifest_terminate_build 0 Name: python-heaserver Version: 1.0.0a129 Release: 1 Summary: The server side of HEA. License: Apache Software License URL: https://risr.hci.utah.edu Source0: https://mirrors.aliyun.com/pypi/web/packages/9e/fd/65ceed5bd18cf7eb8fb23c679225abd28d78ceebfa952dfe2db7119d6a46/heaserver-1.0.0a129.tar.gz BuildArch: noarch Requires: python3-heaobject Requires: python3-aiohttp[speedups] Requires: python3-aiohttp-remotes Requires: python3-motor Requires: python3-motor-types Requires: python3-tzlocal Requires: python3-accept-types Requires: python3-mongoquery Requires: python3-jsonschema Requires: python3-jsonmerge Requires: python3-requests Requires: python3-types-requests Requires: python3-boto3 Requires: python3-botocore Requires: python3-boto3-stubs[essential] Requires: python3-botocore-stubs[essential] Requires: python3-freezegun Requires: python3-regex Requires: python3-aio-pika Requires: python3-PyJWT Requires: python3-simpleeval %description # HEA Server Framework [Research Informatics Shared Resource](https://risr.hci.utah.edu), [Huntsman Cancer Institute](https://healthcare.utah.edu/huntsmancancerinstitute/), Salt Lake City, UT The HEA Server Framework contains shared code for creating HEA microservices. ## Version 1 Initial release. ## Runtime requirements * Python 3.10.10 or greater. ## Development environment ### Build requirements * Any development environment is fine. * On Windows, you also will need: * Build Tools for Visual Studio 2019, found at https://visualstudio.microsoft.com/downloads/. Select the C++ tools. * git, found at https://git-scm.com/download/win. * On Mac, Xcode or the command line developer tools is required, found in the Apple Store app. * Python 3.10: Download and install Python 3.10 from https://www.python.org, and select the options to install for all users and add Python to your environment variables. The install for all users option will help keep you from accidentally installing packages into your Python installation's site-packages directory instead of to your virtualenv environment, described below. * Create a virtualenv environment using the `python -m venv ` command, substituting `` with the directory name of your virtual environment. Run `source /bin/activate` (or `/Scripts/activate` on Windows) to activate the virtual environment. You will need to activate the virtualenv every time before starting work, or your IDE may be able to do this for you automatically. **Note that PyCharm will do this for you, but you have to create a new Terminal panel after you newly configure a project with your virtualenv.** * From the project's root directory, and using the activated virtualenv, run `pip install wheel` followed by `pip install -r requirements_dev.txt`. **Do NOT run `python setup.py develop`. It will break your environment.** ### Running tests Run tests with the `pytest` command from the project root directory. To improve performance, run tests in multiple processes with `pytest -n auto`. ### Running integration tests * Install Docker * On Windows, install pywin32 version >= 223 from https://github.com/mhammond/pywin32/releases. In your venv, make sure that `include-system-site-packages` is set to `true`. ### Packaging and releasing this project See the [RELEASING.md](RELEASING.md) file for details. %package -n python3-heaserver Summary: The server side of HEA. Provides: python-heaserver BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-heaserver # HEA Server Framework [Research Informatics Shared Resource](https://risr.hci.utah.edu), [Huntsman Cancer Institute](https://healthcare.utah.edu/huntsmancancerinstitute/), Salt Lake City, UT The HEA Server Framework contains shared code for creating HEA microservices. ## Version 1 Initial release. ## Runtime requirements * Python 3.10.10 or greater. ## Development environment ### Build requirements * Any development environment is fine. * On Windows, you also will need: * Build Tools for Visual Studio 2019, found at https://visualstudio.microsoft.com/downloads/. Select the C++ tools. * git, found at https://git-scm.com/download/win. * On Mac, Xcode or the command line developer tools is required, found in the Apple Store app. * Python 3.10: Download and install Python 3.10 from https://www.python.org, and select the options to install for all users and add Python to your environment variables. The install for all users option will help keep you from accidentally installing packages into your Python installation's site-packages directory instead of to your virtualenv environment, described below. * Create a virtualenv environment using the `python -m venv ` command, substituting `` with the directory name of your virtual environment. Run `source /bin/activate` (or `/Scripts/activate` on Windows) to activate the virtual environment. You will need to activate the virtualenv every time before starting work, or your IDE may be able to do this for you automatically. **Note that PyCharm will do this for you, but you have to create a new Terminal panel after you newly configure a project with your virtualenv.** * From the project's root directory, and using the activated virtualenv, run `pip install wheel` followed by `pip install -r requirements_dev.txt`. **Do NOT run `python setup.py develop`. It will break your environment.** ### Running tests Run tests with the `pytest` command from the project root directory. To improve performance, run tests in multiple processes with `pytest -n auto`. ### Running integration tests * Install Docker * On Windows, install pywin32 version >= 223 from https://github.com/mhammond/pywin32/releases. In your venv, make sure that `include-system-site-packages` is set to `true`. ### Packaging and releasing this project See the [RELEASING.md](RELEASING.md) file for details. %package help Summary: Development documents and examples for heaserver Provides: python3-heaserver-doc %description help # HEA Server Framework [Research Informatics Shared Resource](https://risr.hci.utah.edu), [Huntsman Cancer Institute](https://healthcare.utah.edu/huntsmancancerinstitute/), Salt Lake City, UT The HEA Server Framework contains shared code for creating HEA microservices. ## Version 1 Initial release. ## Runtime requirements * Python 3.10.10 or greater. ## Development environment ### Build requirements * Any development environment is fine. * On Windows, you also will need: * Build Tools for Visual Studio 2019, found at https://visualstudio.microsoft.com/downloads/. Select the C++ tools. * git, found at https://git-scm.com/download/win. * On Mac, Xcode or the command line developer tools is required, found in the Apple Store app. * Python 3.10: Download and install Python 3.10 from https://www.python.org, and select the options to install for all users and add Python to your environment variables. The install for all users option will help keep you from accidentally installing packages into your Python installation's site-packages directory instead of to your virtualenv environment, described below. * Create a virtualenv environment using the `python -m venv ` command, substituting `` with the directory name of your virtual environment. Run `source /bin/activate` (or `/Scripts/activate` on Windows) to activate the virtual environment. You will need to activate the virtualenv every time before starting work, or your IDE may be able to do this for you automatically. **Note that PyCharm will do this for you, but you have to create a new Terminal panel after you newly configure a project with your virtualenv.** * From the project's root directory, and using the activated virtualenv, run `pip install wheel` followed by `pip install -r requirements_dev.txt`. **Do NOT run `python setup.py develop`. It will break your environment.** ### Running tests Run tests with the `pytest` command from the project root directory. To improve performance, run tests in multiple processes with `pytest -n auto`. ### Running integration tests * Install Docker * On Windows, install pywin32 version >= 223 from https://github.com/mhammond/pywin32/releases. In your venv, make sure that `include-system-site-packages` is set to `true`. ### Packaging and releasing this project See the [RELEASING.md](RELEASING.md) file for details. %prep %autosetup -n heaserver-1.0.0a129 %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-heaserver -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Thu Jun 08 2023 Python_Bot - 1.0.0a129-1 - Package Spec generated