Compare commits
103 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1958d8a0f4 | ||
|
|
f5e3a97e3a | ||
|
|
529c86e79e | ||
|
|
17440b316f | ||
|
|
49af8de6ee | ||
|
|
cf30edef34 | ||
|
|
9d57933e43 | ||
|
|
10c89a527a | ||
|
|
8ae1e62c6e | ||
|
|
03dd0e4fd9 | ||
|
|
cb73aee3e1 | ||
|
|
432bc43af7 | ||
|
|
7d9cdc5c0c | ||
|
|
77268f146c | ||
|
|
2d22a37a13 | ||
|
|
b4b4a14cac | ||
|
|
9c24b75338 | ||
|
|
6291141344 | ||
|
|
e11a9f7fef | ||
|
|
fae6a7be6b | ||
|
|
35ad88bc26 | ||
|
|
9d70a9f1be | ||
|
|
3b53456ad5 | ||
|
|
39a3bd44c3 | ||
|
|
f0f0c094e0 | ||
|
|
eaa706c786 | ||
|
|
4f39d6da1f | ||
|
|
4dda1c74f7 | ||
|
|
f31fd3f016 | ||
|
|
d4c832e6eb | ||
|
|
b7d7beed79 | ||
|
|
27e1330084 | ||
|
|
7f520d5f97 | ||
|
|
a0f319e0f2 | ||
|
|
07adcbdc08 | ||
|
|
4435cdb29f | ||
|
|
9bf44c00c7 | ||
|
|
772f65c2b6 | ||
|
|
b165e7b986 | ||
|
|
10b6dd1b03 | ||
|
|
c41613d35d | ||
|
|
336ab0ae18 | ||
|
|
6a7628cc72 | ||
|
|
d52c0e7eb6 | ||
|
|
da6b2b5bab | ||
|
|
8168588215 | ||
|
|
375e68f204 | ||
|
|
cb063a5dda | ||
|
|
020425199c | ||
|
|
887961bb61 | ||
|
|
f0ab838f83 | ||
|
|
3b6e91247e | ||
|
|
dbc7458fbf | ||
|
|
f035bbbe5a | ||
|
|
0483ceaeb9 | ||
|
|
8d9518cc32 | ||
|
|
ff4243605d | ||
|
|
8384c0bb27 | ||
|
|
9976e407c6 | ||
|
|
a2e2bb682e | ||
|
|
4d2b81e132 | ||
|
|
8c3e992572 | ||
|
|
66899be4c7 | ||
|
|
a37191feac | ||
|
|
05e7f66f4c | ||
|
|
a38b26510d | ||
|
|
dcfcb71b3e | ||
|
|
0839af7b87 | ||
|
|
ad88e0dc93 | ||
|
|
149bcd09b6 | ||
|
|
11fabf6bff | ||
|
|
a8aae22c42 |
||
|
|
4a889064ec | ||
|
|
8b4f67469d | ||
|
|
ed3026138d | ||
|
|
801fdba8fc | ||
|
|
79cfc000ec | ||
|
|
bdd2ef3b7d | ||
|
|
7fec8b359a | ||
|
|
80d6680038 | ||
|
|
1d1b5bf445 | ||
|
|
9f468e907a | ||
|
|
867484f16f | ||
|
|
d95fce2abb | ||
|
|
e9e3d7ba06 | ||
|
|
da045c3422 | ||
|
|
4d9c2e2649 | ||
|
|
5c2ae13abc | ||
|
|
be698e19b5 | ||
|
|
1fff3ab827 | ||
|
|
72e8f768b3 | ||
|
|
eebed23734 | ||
|
|
3f2e01f078 | ||
|
|
591680ae62 | ||
|
|
f0c1eafe38 | ||
|
|
b3b78fe93f | ||
|
|
c157faaf25 | ||
|
|
af1e9ae05b | ||
|
|
4b5b53a25c | ||
|
|
3f7cffdef3 | ||
|
|
6f2addc342 | ||
|
|
78d838c094 | ||
|
|
35954f3baa |
6 changed files with 407 additions and 56 deletions
37
.gitignore
vendored
37
.gitignore
vendored
|
|
@ -5,3 +5,40 @@
|
|||
/OWSLib-0.8.11.tar.gz
|
||||
/OWSLib-0.8.12.tar.gz
|
||||
/OWSLib-0.8.13.tar.gz
|
||||
/OWSLib-0.9.0.tar.gz
|
||||
/OWSLib-0.9.1.tar.gz
|
||||
/OWSLib-0.9.2.tar.gz
|
||||
/OWSLib-0.10.0.tar.gz
|
||||
/OWSLib-0.10.1.tar.gz
|
||||
/OWSLib-0.10.3.tar.gz
|
||||
/OWSLib-0.11.0.tar.gz
|
||||
/OWSLib-0.11.1.tar.gz
|
||||
/OWSLib-0.11.2.tar.gz
|
||||
/OWSLib-0.12.0.tar.gz
|
||||
/OWSLib-0.13.0.tar.gz
|
||||
/OWSLib-0.14.0.tar.gz
|
||||
/OWSLib-0.15.0.tar.gz
|
||||
/OWSLib-0.16.0.tar.gz
|
||||
/OWSLib-0.17.0.tar.gz
|
||||
/OWSLib-0.18.0.tar.gz
|
||||
/OWSLib-0.19.0.tar.gz
|
||||
/OWSLib-0.19.1.tar.gz
|
||||
/OWSLib-0.20.0.tar.gz
|
||||
/OWSLib-0.21.0.tar.gz
|
||||
/OWSLib-0.25.0.tar.gz
|
||||
/OWSLib-0.26.0.tar.gz
|
||||
/OWSLib-0.27.2.tar.gz
|
||||
/OWSLib-0.28.0.tar.gz
|
||||
/OWSLib-0.28.1.tar.gz
|
||||
/OWSLib-0.29.0.tar.gz
|
||||
/OWSLib-0.29.1.tar.gz
|
||||
/OWSLib-0.29.2.tar.gz
|
||||
/OWSLib-0.29.3.tar.gz
|
||||
/OWSLib-0.30.0.tar.gz
|
||||
/OWSLib-0.30.0-filtered.tar.zst
|
||||
/OWSLib-0.31.0-filtered.tar.zst
|
||||
/OWSLib-0.32.0-filtered.tar.zst
|
||||
/OWSLib-0.33.0-filtered.tar.zst
|
||||
/OWSLib-0.34.0-filtered.tar.zst
|
||||
/OWSLib-0.34.1-filtered.tar.zst
|
||||
/OWSLib-0.35.0-filtered.tar.zst
|
||||
|
|
|
|||
170
changelog
Normal file
170
changelog
Normal file
|
|
@ -0,0 +1,170 @@
|
|||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.21.0-3
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Dec 09 2020 Volker Fröhlich <volker27@gmx.at> - 0.21.0-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jun 05 2020 Volker Fröhlich <volker27@gmx.at> - 0.20.0-1
|
||||
- New upstream release
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.19.1-2
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Sun Feb 02 2020 Volker Fröhlich <volker27@gmx.at> - 0.19.1-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2020 Volker Fröhlich <volker27@gmx.at> - 0.19.0-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.18.0-4
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.18.0-3
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Wed Jun 26 2019 Volker Fröhlich <volker27@gmx.at> - 0.18.0-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Feb 11 2019 Miro Hrončok <mhroncok@redhat.com> - 0.17.0-3
|
||||
- Subpackage python2-owslib has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Wed Sep 19 2018 Volker Fröhlich <volker27@gmx.at> - 0.17.0-1
|
||||
- New upstream release
|
||||
- Update names of documentation files
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.16.0-4
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.16.0-3
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Fri Dec 22 2017 Volker Fröhlich <volker27@gmx.at> - 0.16.0-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Sep 14 2017 Volker Fröhlich <volker27@gmx.at> - 0.15.0-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Aug 29 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.14.0-5
|
||||
- Add Provides for the old name
|
||||
|
||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.14.0-4
|
||||
- Python 2 binary package renamed to python2-owslib
|
||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Jan 12 2017 Volker Fröhlich <volker27@gmx.at> - 0.14.0-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-2
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Sun Sep 25 2016 Volker Fröhlich <volker27@gmx.at> - 0.13.0-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Sep 13 2016 Volker Fröhlich <volker27@gmx.at> - 0.12.0-1
|
||||
- New upstream release
|
||||
- Update URL and Source
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.2-2
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Mon May 16 2016 Volker Fröhlich <volker27@gmx.at> - 0.11.2-1
|
||||
- New upstream release
|
||||
|
||||
* Sat May 14 2016 Volker Fröhlich <volker27@gmx.at> - 0.11.1-1
|
||||
- New upstream release
|
||||
|
||||
* Fri Apr 1 2016 Volker Fröhlich <volker27@gmx.at> - 0.11.0-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Mon Nov 23 2015 Volker Fröhlich <volker27@gmx.at> - 0.10.3-1
|
||||
- New upstream release
|
||||
|
||||
* Sun Nov 22 2015 Volker Fröhlich <volker27@gmx.at> - 0.10.1-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Nov 12 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
||||
|
||||
* Wed Nov 11 2015 Volker Fröhlich <volker27@gmx.at> - 0.10.0-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
||||
|
||||
* Fri Sep 25 2015 Volker Fröhlich <volker27@gmx.at> - 0.9.2-1
|
||||
- New upstream release
|
||||
|
||||
* Sun Sep 6 2015 Volker Fröhlich <volker27@gmx.at> - 0.9.1-2
|
||||
- Add pyproj dependency
|
||||
|
||||
* Sun Sep 6 2015 Volker Fröhlich <volker27@gmx.at> - 0.9.1-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Jun 13 2015 Volker Fröhlich <volker27@gmx.at> - 0.9.0-1
|
||||
- New upstream release
|
||||
- Add Python 3 sub-package
|
||||
|
||||
* Sat Feb 14 2015 Volker Fröhlich <volker27@gmx.at> - 0.8.13-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Dec 23 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.12-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Dec 17 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.11-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Oct 13 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.10-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Sep 24 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.9-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Jul 7 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.8-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Jul 2 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.7-3
|
||||
- Changed package summary
|
||||
|
||||
* Tue Jul 1 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.7-2
|
||||
- Correct BR python-setuptools-devel to python-setuptools
|
||||
|
||||
* Mon Jun 30 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.7-1
|
||||
- Initial package for Fedora
|
||||
63
get_source
Executable file
63
get_source
Executable file
|
|
@ -0,0 +1,63 @@
|
|||
#!/bin/sh
|
||||
set -o nounset
|
||||
set -o errexit
|
||||
|
||||
FORGEURL='https://github.com/geopython/OWSLib'
|
||||
|
||||
print_help()
|
||||
{
|
||||
cat <<EOF
|
||||
Usage: $1 VERSION
|
||||
|
||||
Generate a source archive for OWSLib with questionably-licensed XML files in
|
||||
tests/resources/ removed. The result will be named
|
||||
OWSLib-\${VERSION}-filtered.tar.zst and will be written into the current
|
||||
working directory.
|
||||
EOF
|
||||
}
|
||||
|
||||
if [ "$#" != '1' ]
|
||||
then
|
||||
exec 1>&2
|
||||
print_help "${0}"
|
||||
exit 1
|
||||
elif [ "${1-}" = '-h' ] || [ "${1-}" = '--help' ]
|
||||
then
|
||||
print_help "${0}"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
VERSION="${1}"
|
||||
SOURCE0="${FORGEURL}/archive/${VERSION}/OWSLib-${VERSION}.tar.gz"
|
||||
TARNAME="$(basename "${SOURCE0}")"
|
||||
TARDIR="$(basename "${SOURCE0}" '.tar.gz')"
|
||||
NEWTAR="${TARDIR}-filtered.tar.zst"
|
||||
|
||||
SAVEDIR="${PWD}"
|
||||
XDIR="$(mktemp -d)"
|
||||
trap "rm -rf '${XDIR}'" INT TERM EXIT
|
||||
|
||||
cd "${XDIR}"
|
||||
curl -L -O "${SOURCE0}"
|
||||
echo "Extracting ${TARNAME}…" 1>&2
|
||||
tar -xzf "${TARNAME}"
|
||||
MTIME="$(stat -c '%Y' "${TARDIR}")"
|
||||
rm -rvf "${TARDIR}/tests/resources"
|
||||
echo "Re-compressing as ${NEWTAR}…" 1>&2
|
||||
# https://www.gnu.org/software/tar/manual/html_section/Reproducibility.html
|
||||
# We reset all mtimes to that of the top-level extracted directory; since git
|
||||
# archives don’t have meaningful per-file mtimes, nothing useful is lost.
|
||||
TZ=UTC LC_ALL=C tar \
|
||||
--create \
|
||||
--sort=name \
|
||||
--format=posix \
|
||||
--numeric-owner --owner=0 --group=0 \
|
||||
--mode=go+u,go-w \
|
||||
--pax-option='delete=atime,delete=ctime' \
|
||||
--clamp-mtime --mtime="@${MTIME}" \
|
||||
"${TARDIR}/" |
|
||||
zstdmt --ultra -22 > "${NEWTAR}"
|
||||
touch -d @"${MTIME}" "${NEWTAR}"
|
||||
|
||||
cd "${SAVEDIR}"
|
||||
mv -v "${XDIR}/${NEWTAR}" .
|
||||
7
python-OWSLib.rpmlintrc
Normal file
7
python-OWSLib.rpmlintrc
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# The source cannot be a URL because we have to filter out files before
|
||||
# uploading to the lookaside cache.
|
||||
addFilter(r" invalid-url .* OWSLib-.*-filtered\.tar\.zst")
|
||||
# There is nothing wrong with .tar.zst, but rpmlint does not know that.
|
||||
addFilter(r" inconsistent-file-extension .*\.tar\.zst")
|
||||
# Removed without replacement in Fedora 42
|
||||
addFilter(r" obsolete-not-provided python-OWSLIB-doc")
|
||||
|
|
@ -1,69 +1,143 @@
|
|||
# Python3 support doesn't seem to be complete yet
|
||||
# https://github.com/geopython/OWSLib/issues/81
|
||||
Name: python-OWSLib
|
||||
Version: 0.35.0
|
||||
Release: %autorelease
|
||||
Summary: OGC Web Service utility library
|
||||
|
||||
# Works with either ElementTree or python-lxml
|
||||
%global modname OWSLib
|
||||
License: BSD-3-Clause
|
||||
URL: https://geopython.github.io/OWSLib
|
||||
# A filtered source archive, obtained by (see Source1):
|
||||
#
|
||||
# ./get_source %%{version}
|
||||
#
|
||||
# is required because tests/resources/ contains XML data files that appear to
|
||||
# have been pulled from various GIS databases, and the license terms for these
|
||||
# files are unclear.
|
||||
#
|
||||
# The unfiltered base source URL would be:
|
||||
#
|
||||
# https://github.com/geopython/OWSLib/archive/%%{version}/OWSLib-%%{version}.tar.gz
|
||||
#
|
||||
# We *could* use the PyPI sdist, which does not contain tests/resources/, but
|
||||
# it also does not contain any tests at all. We can still run some tests
|
||||
# without the XML files, and we would like to do so.
|
||||
Source0: OWSLib-%{version}-filtered.tar.zst
|
||||
Source1: get_source
|
||||
|
||||
BuildSystem: pyproject
|
||||
BuildOption(install): -l owslib
|
||||
|
||||
Name: python-%{modname}
|
||||
Version: 0.8.13
|
||||
Release: 1%{?dist}
|
||||
Summary: Client library for OGC web services
|
||||
License: BSD
|
||||
URL: http://geopython.github.io/OWSLib
|
||||
Source0: http://pypi.python.org/packages/source/O/%{modname}/%{modname}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python-dateutil
|
||||
Requires: pytz
|
||||
# Tests; dependencies are in requirements-dev.txt.
|
||||
BuildRequires: %{py3_dist pytest}
|
||||
BuildRequires: %{py3_dist pytest_httpserver}
|
||||
BuildRequires: %{py3_dist Pillow}
|
||||
# We don’t have pytest-socket packaged, and we can get by without it.
|
||||
# - pytest-socket
|
||||
# We don’t use tox to run the tests. It would run "python3 setup.py develop",
|
||||
# which is unwanted.
|
||||
# - tox
|
||||
# Unwanted linting/coverage dependencies:
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
|
||||
# - coverage
|
||||
# - coveralls
|
||||
# - flake8
|
||||
# - pytest-cov
|
||||
# These are just for the maintainer to upload to PyPI.
|
||||
# - build
|
||||
# - twine
|
||||
|
||||
%description
|
||||
Package for client programming with Open Geospatial Consortium (OGC) web
|
||||
service (hence OWS) interface standards, and their related content models.
|
||||
%global common_description %{expand:
|
||||
OWSLib is a Python package for client programming with Open Geospatial
|
||||
Consortium (OGC) web service (hence OWS) interface standards, and their related
|
||||
content models.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
rm -rf %{modname}.egg-info
|
||||
Full documentation is available at http://geopython.github.io/OWSLib
|
||||
|
||||
OWSLib provides a common API for accessing service metadata and wrappers for
|
||||
numerous OGC Web Service interfaces.}
|
||||
|
||||
%description %{common_description}
|
||||
|
||||
|
||||
%build
|
||||
%{__python2} setup.py build
|
||||
%package -n python3-OWSLib
|
||||
Summary: %{summary}
|
||||
|
||||
%py_provides python3-owslib
|
||||
|
||||
# The -doc subpackage was removed for Fedora 42; we can remove this Obsoletes
|
||||
# after Fedora 44. (EPEL10 never had a -doc subpackage.)
|
||||
Obsoletes: python-OWSLIB-doc < 0.32.0-1
|
||||
|
||||
%description -n python3-OWSLib %{common_description}
|
||||
|
||||
|
||||
%install
|
||||
%{__python2} setup.py install --skip-build --root %{buildroot}
|
||||
%prep -a
|
||||
# Don’t analyze/report test coverage
|
||||
sed -r -i 's/^([[:blank:]]*)(--cov\b)/\1# \2/' tox.ini
|
||||
|
||||
|
||||
%files
|
||||
%doc LICENSE.txt README.txt CHANGES.txt CREDITS.txt
|
||||
%{python_sitelib}/owslib
|
||||
%{python_sitelib}/%{modname}-%{version}-py*.egg-info
|
||||
%check -a
|
||||
# Otherwise, pytest finds the package twice in the Python path and complains.
|
||||
rm -rf owslib
|
||||
|
||||
# These require test data files from tests/resources/, which we have removed:
|
||||
ignore="${ignore-} --ignore-glob=tests/doctests/*.txt"
|
||||
k="${k-}${k+ and }not test_gm03"
|
||||
ignore="${ignore-} --ignore=tests/test_iso_parsing.py"
|
||||
ignore="${ignore-} --ignore=tests/test_ows_interfaces.py"
|
||||
ignore="${ignore-} --ignore=tests/test_owscontext_atomxml.py"
|
||||
k="${k-}${k+ and }not test_decode_single_json"
|
||||
k="${k-}${k+ and }not test_load_parse"
|
||||
k="${k-}${k+ and }not test_decode_full_json"
|
||||
k="${k-}${k+ and }not test_load_bulk"
|
||||
ignore="${ignore-} --ignore=tests/test_remote_metadata.py"
|
||||
k="${k-}${k+ and }not TestOffline"
|
||||
ignore="${ignore-} --ignore=tests/test_wfs_generic.py"
|
||||
ignore="${ignore-} --ignore=tests/test_wms_datageo_130.py"
|
||||
ignore="${ignore-} --ignore=tests/test_wms_jpl_capabilities.py"
|
||||
k="${k-}${k+ and }not test_wps_getOperationByName"
|
||||
k="${k-}${k+ and }not test_wps_checkStatus"
|
||||
k="${k-}${k+ and }not test_wps_process_representation"
|
||||
k="${k-}${k+ and }not test_wps_process_properties"
|
||||
k="${k-}${k+ and }not test_wps_literal_data_input_parsing_references"
|
||||
k="${k-}${k+ and }not test_wps_response_with_lineage"
|
||||
ignore="${ignore-} --ignore=tests/test_wps_describeprocess_bbox.py"
|
||||
ignore="${ignore-} --ignore=tests/test_wps_describeprocess_ceda.py"
|
||||
ignore="${ignore-} --ignore=tests/test_wps_describeprocess_emu_all.py"
|
||||
ignore="${ignore-} --ignore=tests/test_wps_describeprocess_usgs.py"
|
||||
ignore="${ignore-} --ignore=tests/test_wps_execute.py"
|
||||
ignore="${ignore-} --ignore=tests/test_wps_execute_invalid_request.py"
|
||||
ignore="${ignore-} --ignore=tests/test_wps_getcapabilities_52n.py"
|
||||
ignore="${ignore-} --ignore=tests/test_wps_getcapabilities_ceda.py"
|
||||
ignore="${ignore-} --ignore=tests/test_wps_getcapabilities_usgs.py"
|
||||
ignore="${ignore-} --ignore-glob=tests/test_wps_request*.py"
|
||||
ignore="${ignore-} --ignore-glob=tests/test_wps_response*.py"
|
||||
k="${k-}${k+ and }not test_metadata"
|
||||
k="${k-}${k+ and }not test_responsibility"
|
||||
k="${k-}${k+ and }not test_distributor"
|
||||
k="${k-}${k+ and }not test_online_distribution"
|
||||
k="${k-}${k+ and }not test_identification"
|
||||
k="${k-}${k+ and }not test_identification_contact"
|
||||
k="${k-}${k+ and }not test_identification_date"
|
||||
k="${k-}${k+ and }not test_identification_extent"
|
||||
k="${k-}${k+ and }not test_identification_keywords"
|
||||
k="${k-}${k+ and }not test_get_all_contacts"
|
||||
k="${k-}${k+ and }not test_aus"
|
||||
k="${k-}${k+ and }not test_service"
|
||||
k="${k-}${k+ and }not test_md_featurecataloguedesc"
|
||||
k="${k-}${k+ and }not test_md_imagedescription"
|
||||
k="${k-}${k+ and }not test_dq_dataquality"
|
||||
k="${k-}${k+ and }not test_md_reference_system"
|
||||
k="${k-}${k+ and }not test_service2"
|
||||
k="${k-}${k+ and }not test_md_distribution"
|
||||
|
||||
%pytest -m 'not online' -k "${k-}" ${ignore-} -v -rs
|
||||
|
||||
|
||||
%files -n python3-OWSLib -f %{pyproject_files}
|
||||
%doc README.md
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Feb 14 2015 Volker Fröhlich <volker27@gmx.at> - 0.8.13-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Dec 23 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.12-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Dec 17 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.11-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Oct 13 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.10-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Sep 24 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.9-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Jul 7 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.8-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Jul 2 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.7-3
|
||||
- Changed package summary
|
||||
|
||||
* Tue Jul 1 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.7-2
|
||||
- Correct BR python-setuptools-devel to python-setuptools
|
||||
|
||||
* Mon Jun 30 2014 Volker Fröhlich <volker27@gmx.at> - 0.8.7-1
|
||||
- Initial package for Fedora
|
||||
%autochangelog
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
88bea2bebbd948c48098b004bb551aec OWSLib-0.8.13.tar.gz
|
||||
SHA512 (OWSLib-0.35.0-filtered.tar.zst) = be1eb52fa09049b720c1ebd476363e01c6442c9905c9adf0d35ccc11f39b228b9f3e64ed882a7c04987f2f38f9c8500a61aeef61e48a41602098ff22df0ed526
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue