summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 09:32:10 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 09:32:10 +0000
commitc9b8c7b98f3fff97964422943f57d02dad33c9e3 (patch)
tree732f405fc5142b848d6e8a510f8072c17a9d7f50
parent1dbd81512cf234d1ec4575e195641fd55e612216 (diff)
automatic import of python-cognite-geospatial-sdkopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-cognite-geospatial-sdk.spec133
-rw-r--r--sources1
3 files changed, 135 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5be7467 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cognite-geospatial-sdk-0.10.4.tar.gz
diff --git a/python-cognite-geospatial-sdk.spec b/python-cognite-geospatial-sdk.spec
new file mode 100644
index 0000000..cd6f1b6
--- /dev/null
+++ b/python-cognite-geospatial-sdk.spec
@@ -0,0 +1,133 @@
+%global _empty_manifest_terminate_build 0
+Name: python-cognite-geospatial-sdk
+Version: 0.10.4
+Release: 1
+Summary: Cognite Geospatial SDK store and query spatial objects in 2D and 3D space
+License: Apache-2.0
+URL: https://pypi.org/project/cognite-geospatial-sdk/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b4/31/6d96a4ffc448b9bc3323d32ffd8d4c102a413a28505220a98e28f7f47cbb/cognite-geospatial-sdk-0.10.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-cognite-sdk-core
+Requires: python3-holoviews
+Requires: python3-numpy
+Requires: python3-pyarrow
+Requires: python3-dateutil
+Requires: python3-requests-oauthlib
+Requires: python3-scipy
+Requires: python3-shapely
+Requires: python3-six
+Requires: python3-urllib3
+
+%description
+[![PyPI version](https://badge.fury.io/py/cognite-geospatial-sdk.svg)](https://pypi.org/project/cognite-geospatial-sdk/)
+### Development on this repository is discontinued. Please look at [Cognite Python SDK](https://github.com/cognitedata/cognite-sdk-python) and [Cognite JS SDK](https://github.com/cognitedata/cognite-sdk-js).
+Cognite Geospatial SDK for developers and data scientists working with Cognite Data Fusion (CDF).
+# Python
+A Python Geospatial SDK for the geospatial API.
+## Prerequisites
+In order to start using the Python SDK, you need
+- Python3 (>= 3.5) and pip
+- An API key. Never include the API key directly in the code or upload the key to github. Instead, set the API key as an environment variable. See the usage example for how to authenticate with the API key.
+This is how you set the API key as an environment variable on Mac OS and Linux:
+```bash
+$ export COGNITE_API_KEY=<your API key>
+```
+## Installation
+To install this package:
+```bash
+$ pip install cognite-geospatial-sdk
+```
+
+%package -n python3-cognite-geospatial-sdk
+Summary: Cognite Geospatial SDK store and query spatial objects in 2D and 3D space
+Provides: python-cognite-geospatial-sdk
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-cognite-geospatial-sdk
+[![PyPI version](https://badge.fury.io/py/cognite-geospatial-sdk.svg)](https://pypi.org/project/cognite-geospatial-sdk/)
+### Development on this repository is discontinued. Please look at [Cognite Python SDK](https://github.com/cognitedata/cognite-sdk-python) and [Cognite JS SDK](https://github.com/cognitedata/cognite-sdk-js).
+Cognite Geospatial SDK for developers and data scientists working with Cognite Data Fusion (CDF).
+# Python
+A Python Geospatial SDK for the geospatial API.
+## Prerequisites
+In order to start using the Python SDK, you need
+- Python3 (>= 3.5) and pip
+- An API key. Never include the API key directly in the code or upload the key to github. Instead, set the API key as an environment variable. See the usage example for how to authenticate with the API key.
+This is how you set the API key as an environment variable on Mac OS and Linux:
+```bash
+$ export COGNITE_API_KEY=<your API key>
+```
+## Installation
+To install this package:
+```bash
+$ pip install cognite-geospatial-sdk
+```
+
+%package help
+Summary: Development documents and examples for cognite-geospatial-sdk
+Provides: python3-cognite-geospatial-sdk-doc
+%description help
+[![PyPI version](https://badge.fury.io/py/cognite-geospatial-sdk.svg)](https://pypi.org/project/cognite-geospatial-sdk/)
+### Development on this repository is discontinued. Please look at [Cognite Python SDK](https://github.com/cognitedata/cognite-sdk-python) and [Cognite JS SDK](https://github.com/cognitedata/cognite-sdk-js).
+Cognite Geospatial SDK for developers and data scientists working with Cognite Data Fusion (CDF).
+# Python
+A Python Geospatial SDK for the geospatial API.
+## Prerequisites
+In order to start using the Python SDK, you need
+- Python3 (>= 3.5) and pip
+- An API key. Never include the API key directly in the code or upload the key to github. Instead, set the API key as an environment variable. See the usage example for how to authenticate with the API key.
+This is how you set the API key as an environment variable on Mac OS and Linux:
+```bash
+$ export COGNITE_API_KEY=<your API key>
+```
+## Installation
+To install this package:
+```bash
+$ pip install cognite-geospatial-sdk
+```
+
+%prep
+%autosetup -n cognite-geospatial-sdk-0.10.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-cognite-geospatial-sdk -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.10.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..292fc52
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1eab1b975b7b739309941b334c4d811e cognite-geospatial-sdk-0.10.4.tar.gz