summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-stactools.spec101
-rw-r--r--sources2
3 files changed, 58 insertions, 46 deletions
diff --git a/.gitignore b/.gitignore
index ce45c3f..66adfb9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/stactools-0.4.7.tar.gz
+/stactools-0.4.8.tar.gz
diff --git a/python-stactools.spec b/python-stactools.spec
index 24f8c63..692aaf8 100644
--- a/python-stactools.spec
+++ b/python-stactools.spec
@@ -1,15 +1,16 @@
%global _empty_manifest_terminate_build 0
Name: python-stactools
-Version: 0.4.7
+Version: 0.4.8
Release: 1
Summary: Command line tool and Python library for working with STAC
-License: Apache Software License
-URL: https://github.com/stac-utils/stactools
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6a/24/93477be650d0694481975eeefa3336298470f3c5c05bc4757a3285d0a305/stactools-0.4.7.tar.gz
+License: Apache-2.0
+URL: https://pypi.org/project/stactools/
+Source0: https://mirrors.aliyun.com/pypi/web/packages/75/1a/df8b71f4e66959d7de832c622413572c5088be14331e01c449872c1e3231/stactools-0.4.8.tar.gz
BuildArch: noarch
Requires: python3-Shapely
Requires: python3-aiohttp
+Requires: python3-antimeridian
Requires: python3-click
Requires: python3-fsspec
Requires: python3-lxml
@@ -20,7 +21,29 @@ Requires: python3-rasterio
Requires: python3-requests
Requires: python3-stac-check
Requires: python3-stac-validator
-Requires: python3-s3fs
+Requires: python3-black
+Requires: python3-codespell
+Requires: python3-importlib-metadata
+Requires: python3-ipython
+Requires: python3-jupyter
+Requires: python3-lxml-stubs
+Requires: python3-mypy
+Requires: python3-nbsphinx
+Requires: python3-packaging
+Requires: python3-pre-commit
+Requires: python3-pydata-sphinx-theme
+Requires: python3-pylint
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-ruff
+Requires: python3-sphinx
+Requires: python3-sphinx-autobuild
+Requires: python3-sphinx-click
+Requires: python3-sphinxcontrib-napoleon
+Requires: python3-types-certifi
+Requires: python3-types-orjson
+Requires: python3-types-python-dateutil
+Requires: python3-types-requests
Requires: python3-s3fs
%description
@@ -98,7 +121,7 @@ docker pull ghcr.io/stac-utils/stactools:latest
stac --help
```
-### Docker
+### Running from docker
```sh
docker run --rm ghcr.io/stac-utils/stactools:latest --help
@@ -106,7 +129,7 @@ docker run --rm ghcr.io/stac-utils/stactools:latest --help
## Documentation
-See the [documentation page](https://stactools.readthedocs.io/en/latest/) for the latest docs.
+See the [documentation page](https://stactools.readthedocs.io/) for the latest docs.
## Packages
@@ -144,15 +167,12 @@ Third-party packages can be installed in the same way, or, if they are not on Py
## Developing
-Basic development can be done with your system's default Python, though it it recommended to use a virtual environment.
-E.g.:
+Clone the repository and install it in editable mode with the `dev` optional dependencies:
```sh
git clone https://github.com/stac-utils/stactools.git
cd stactools
-python -m venv venv
-pip install -e . # install stactools into the virtual environment in editable mode
-pip install -r requirements-dev.txt # install development requirements
+pip install -e '.[dev]'
```
Linting and formatting are handled with [pre-commit](https://pre-commit.com/).
@@ -231,13 +251,12 @@ conda activate stactools
Finally, install `stactools` in editable mode and all development requirements:
```sh
-pip install -e .
-pip install -r requirements-dev.txt
+pip install -e '.[dev]'
```
-### Documentation
+### Developing the docs
-To build and serve the docs, the development requirements must be installed with `pip install -r requirements-dev.txt`.
+To build and serve the docs, the development requirements must be installed with `pip install -e '.[dev]'`.
To build the docs, you can use `make html` from inside of the docs directory, and to build the docs and start a server that watches for changes, use `make livehtml`:
```sh
@@ -352,7 +371,7 @@ docker pull ghcr.io/stac-utils/stactools:latest
stac --help
```
-### Docker
+### Running from docker
```sh
docker run --rm ghcr.io/stac-utils/stactools:latest --help
@@ -360,7 +379,7 @@ docker run --rm ghcr.io/stac-utils/stactools:latest --help
## Documentation
-See the [documentation page](https://stactools.readthedocs.io/en/latest/) for the latest docs.
+See the [documentation page](https://stactools.readthedocs.io/) for the latest docs.
## Packages
@@ -398,15 +417,12 @@ Third-party packages can be installed in the same way, or, if they are not on Py
## Developing
-Basic development can be done with your system's default Python, though it it recommended to use a virtual environment.
-E.g.:
+Clone the repository and install it in editable mode with the `dev` optional dependencies:
```sh
git clone https://github.com/stac-utils/stactools.git
cd stactools
-python -m venv venv
-pip install -e . # install stactools into the virtual environment in editable mode
-pip install -r requirements-dev.txt # install development requirements
+pip install -e '.[dev]'
```
Linting and formatting are handled with [pre-commit](https://pre-commit.com/).
@@ -485,13 +501,12 @@ conda activate stactools
Finally, install `stactools` in editable mode and all development requirements:
```sh
-pip install -e .
-pip install -r requirements-dev.txt
+pip install -e '.[dev]'
```
-### Documentation
+### Developing the docs
-To build and serve the docs, the development requirements must be installed with `pip install -r requirements-dev.txt`.
+To build and serve the docs, the development requirements must be installed with `pip install -e '.[dev]'`.
To build the docs, you can use `make html` from inside of the docs directory, and to build the docs and start a server that watches for changes, use `make livehtml`:
```sh
@@ -603,7 +618,7 @@ docker pull ghcr.io/stac-utils/stactools:latest
stac --help
```
-### Docker
+### Running from docker
```sh
docker run --rm ghcr.io/stac-utils/stactools:latest --help
@@ -611,7 +626,7 @@ docker run --rm ghcr.io/stac-utils/stactools:latest --help
## Documentation
-See the [documentation page](https://stactools.readthedocs.io/en/latest/) for the latest docs.
+See the [documentation page](https://stactools.readthedocs.io/) for the latest docs.
## Packages
@@ -649,15 +664,12 @@ Third-party packages can be installed in the same way, or, if they are not on Py
## Developing
-Basic development can be done with your system's default Python, though it it recommended to use a virtual environment.
-E.g.:
+Clone the repository and install it in editable mode with the `dev` optional dependencies:
```sh
git clone https://github.com/stac-utils/stactools.git
cd stactools
-python -m venv venv
-pip install -e . # install stactools into the virtual environment in editable mode
-pip install -r requirements-dev.txt # install development requirements
+pip install -e '.[dev]'
```
Linting and formatting are handled with [pre-commit](https://pre-commit.com/).
@@ -736,13 +748,12 @@ conda activate stactools
Finally, install `stactools` in editable mode and all development requirements:
```sh
-pip install -e .
-pip install -r requirements-dev.txt
+pip install -e '.[dev]'
```
-### Documentation
+### Developing the docs
-To build and serve the docs, the development requirements must be installed with `pip install -r requirements-dev.txt`.
+To build and serve the docs, the development requirements must be installed with `pip install -e '.[dev]'`.
To build the docs, you can use `make html` from inside of the docs directory, and to build the docs and start a server that watches for changes, use `make livehtml`:
```sh
@@ -777,7 +788,7 @@ See [RELEASING.md](./RELEASING.md) for the steps to create a new release.
%prep
-%autosetup -n stactools-0.4.7
+%autosetup -n stactools-0.4.8
%build
%py3_build
@@ -791,20 +802,20 @@ 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
+ 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
+ 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
+ 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
+ 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
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
@@ -817,5 +828,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.7-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.8-1
- Package Spec generated
diff --git a/sources b/sources
index 27cdba0..157067b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1d4cf1cd9d58fb12395597c27a29ba94 stactools-0.4.7.tar.gz
+f534591cee6e621188c86c1e2d83c2e6 stactools-0.4.8.tar.gz