diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-18 03:31:25 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 03:31:25 +0000 |
| commit | c6716e8c1bcd3424c78e64845162768b0c6b6893 (patch) | |
| tree | 61de92e67f12ca98d668d015332f2c918189e3dc | |
| parent | 9ad265a4f527961e8a240db145e7e185c06e1663 (diff) | |
automatic import of python-heaserver
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-heaserver.spec | 219 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 221 insertions, 0 deletions
@@ -0,0 +1 @@ +/heaserver-1.0.0a125.tar.gz diff --git a/python-heaserver.spec b/python-heaserver.spec new file mode 100644 index 0000000..9d09af6 --- /dev/null +++ b/python-heaserver.spec @@ -0,0 +1,219 @@ +%global _empty_manifest_terminate_build 0 +Name: python-heaserver +Version: 1.0.0a125 +Release: 1 +Summary: The server side of HEA. +License: Apache Software License +URL: https://risr.hci.utah.edu +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c4/52/810b6dd23f35d4b7840260a04e42311818695366ca1fec25651918c59bb5/heaserver-1.0.0a125.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 <venv_directory>` command, substituting `<venv_directory>`
+with the directory name of your virtual environment. Run `source <venv_directory>/bin/activate` (or `<venv_directory>/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 <venv_directory>` command, substituting `<venv_directory>`
+with the directory name of your virtual environment. Run `source <venv_directory>/bin/activate` (or `<venv_directory>/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 <venv_directory>` command, substituting `<venv_directory>`
+with the directory name of your virtual environment. Run `source <venv_directory>/bin/activate` (or `<venv_directory>/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.0a125 + +%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 May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0a125-1 +- Package Spec generated @@ -0,0 +1 @@ +03ac3d4fc62ffe37b52751cd7704e4fb heaserver-1.0.0a125.tar.gz |
