diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 13:47:25 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 13:47:25 +0000 |
commit | 68a87ab3264f070267a369d5ad52d2a17527c3f7 (patch) | |
tree | f2f31b69c8c4db644f8c5e1116c9a83485a9332c | |
parent | 93aaee720066a1ec1ccd8252b9bb403bf0262e25 (diff) |
automatic import of python-benchling-sdkopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-benchling-sdk.spec | 170 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 172 insertions, 0 deletions
@@ -0,0 +1 @@ +/benchling_sdk-1.6.1.tar.gz diff --git a/python-benchling-sdk.spec b/python-benchling-sdk.spec new file mode 100644 index 0000000..a93726d --- /dev/null +++ b/python-benchling-sdk.spec @@ -0,0 +1,170 @@ +%global _empty_manifest_terminate_build 0 +Name: python-benchling-sdk +Version: 1.6.1 +Release: 1 +Summary: SDK for interacting with the Benchling Platform. +License: Apache-2.0 +URL: https://pypi.org/project/benchling-sdk/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/20/b2/3b838536c6095904d47d747661b8dcdd5630c63a21a6f53733a11ece6cb6/benchling_sdk-1.6.1.tar.gz +BuildArch: noarch + +Requires: python3-backoff +Requires: python3-typing-extensions +Requires: python3-dataclasses-json +Requires: python3-httpx +Requires: python3-attrs +Requires: python3-dateutil +Requires: python3-PyYAML +Requires: python3-psutil +Requires: python3-jwcrypto +Requires: python3-benchling-api-client +Requires: python3-certifi +Requires: python3-cryptography +Requires: python3-jose[cryptography] +Requires: python3-ordered-set + +%description +# Benchling SDK + +A Python 3.7+ SDK for the [Benchling](https://www.benchling.com/) platform designed to provide typed, fluent +interactions with [Benchling APIs](https://docs.benchling.com/reference). + +## Installation + +Install the dependency via [Poetry](https://python-poetry.org/) (if applicable): + +```bash +poetry add benchling-sdk +``` + +Or [Pip](https://pypi.org/project/pip/): + +```bash +pip install benchling-sdk +``` + +## Documentation + +Documentation for the SDK is kept up-to-date at [docs.benchling.com](https://docs.benchling.com), and you can get started with +it using this guide: +[https://docs.benchling.com/docs/getting-started-with-the-sdk](https://docs.benchling.com/docs/getting-started-with-the-sdk). + +## Support + +To report issues with using the SDK, contact [support@benchling.com](mailto:support@benchling.com). + + +%package -n python3-benchling-sdk +Summary: SDK for interacting with the Benchling Platform. +Provides: python-benchling-sdk +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-benchling-sdk +# Benchling SDK + +A Python 3.7+ SDK for the [Benchling](https://www.benchling.com/) platform designed to provide typed, fluent +interactions with [Benchling APIs](https://docs.benchling.com/reference). + +## Installation + +Install the dependency via [Poetry](https://python-poetry.org/) (if applicable): + +```bash +poetry add benchling-sdk +``` + +Or [Pip](https://pypi.org/project/pip/): + +```bash +pip install benchling-sdk +``` + +## Documentation + +Documentation for the SDK is kept up-to-date at [docs.benchling.com](https://docs.benchling.com), and you can get started with +it using this guide: +[https://docs.benchling.com/docs/getting-started-with-the-sdk](https://docs.benchling.com/docs/getting-started-with-the-sdk). + +## Support + +To report issues with using the SDK, contact [support@benchling.com](mailto:support@benchling.com). + + +%package help +Summary: Development documents and examples for benchling-sdk +Provides: python3-benchling-sdk-doc +%description help +# Benchling SDK + +A Python 3.7+ SDK for the [Benchling](https://www.benchling.com/) platform designed to provide typed, fluent +interactions with [Benchling APIs](https://docs.benchling.com/reference). + +## Installation + +Install the dependency via [Poetry](https://python-poetry.org/) (if applicable): + +```bash +poetry add benchling-sdk +``` + +Or [Pip](https://pypi.org/project/pip/): + +```bash +pip install benchling-sdk +``` + +## Documentation + +Documentation for the SDK is kept up-to-date at [docs.benchling.com](https://docs.benchling.com), and you can get started with +it using this guide: +[https://docs.benchling.com/docs/getting-started-with-the-sdk](https://docs.benchling.com/docs/getting-started-with-the-sdk). + +## Support + +To report issues with using the SDK, contact [support@benchling.com](mailto:support@benchling.com). + + +%prep +%autosetup -n benchling-sdk-1.6.1 + +%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-benchling-sdk -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.6.1-1 +- Package Spec generated @@ -0,0 +1 @@ +7aefa226721bfab824e31fa03828f4ec benchling_sdk-1.6.1.tar.gz |