Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 46 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,50 @@
pygeofilter (0.3.3-1) unstable; urgency=medium

[ Bas Couwenberg ]
* Bump Standards-Version to 4.7.2, no changes.
* Update lintian overrides.
* Drop Rules-Requires-Root: no, default since dpkg 1.22.13.
* Use test-build-validate-cleanup instead of test-build-twice.

[ Antonio Valentino ]
* New upstream release.
* Update d/copyright.
* Set upstream metadata fields: Security-Contact.
* debian/control:
- Update dependencies.
* debian/rules:
- Skip tests requiring access to the internet.
* Update d/python3-pygeofilter.examples.
* Add a manpage for the pygeofilter CLI tool.

-- Antonio Valentino <antonio.valentino@tiscali.it> Sat, 20 Dec 2025 17:38:28 +0000

pygeofilter (0.3.1-1) unstable; urgency=medium

* New upstream release.
* Update dates in d/copyright.
* debian/patches:
- Drop 0001-Fix-compatibility-with-i386.patch, applied upstream.
* debian/rules:
- Skip tests requiring the unavailable opensearch-dsl Python package.

-- Antonio Valentino <antonio.valentino@tiscali.it> Fri, 03 Jan 2025 16:35:31 +0000

pygeofilter (0.2.4-2) unstable; urgency=medium

* Team upload.
* Source-only upload.

-- Bas Couwenberg <sebastic@debian.org> Sat, 10 Aug 2024 21:39:08 +0200

pygeofilter (0.2.4-1) unstable; urgency=medium

* Initial release (Closes: #1078084).

-- Antonio Valentino <antonio.valentino@tiscali.it> Thu, 08 Aug 2024 07:03:11 +0000

pygeofilter (0.0.3-0~focal0) focal; urgency=low

* Initial packaging.

-- Angelos Tzotsos <gcpp.kalxas@gmail.com> Tue, 12 Oct 2021 13:00:00 +0300
-- Angelos Tzotsos <gcpp.kalxas@gmail.com> Tue, 12 Oct 2021 13:00:00 +0300
1 change: 1 addition & 0 deletions debian/clean
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.*-info/
1 change: 0 additions & 1 deletion debian/compat

This file was deleted.

77 changes: 59 additions & 18 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,25 +1,66 @@
Source: pygeofilter
Maintainer: Fabian Schindler <fabian.schindler@gmail.com>
Uploaders: Angelos Tzotsos <gcpp.kalxas@gmail.com>
Section: python
Priority: optional
Build-Depends: debhelper (>= 9),
python3-setuptools,
dh-python,
dpkg-dev (>= 1.16),
autoconf,
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Uploaders: Antonio Valentino <antonio.valentino@tiscali.it>
Build-Depends: debhelper-compat (= 13),
dh-sequence-python3,
dh-sequence-sphinxdoc,
libsqlite3-mod-spatialite <!nocheck>,
pybuild-plugin-pyproject,
python3-all,
python3-all-dev
Standards-Version: 3.9.3
python3-click,
python3-dateparser,
python3-django,
python3-elasticsearch,
python3-fiona <!nocheck>,
python3-geoalchemy2,
python3-geopandas <!nocheck>,
python3-gdal <!nocheck>,
python3-lark,
python3-pygeoif,
python3-pyproj <!nocheck>,
python3-requests <!nocheck>,
python3-rtree <!nocheck>,
python3-setuptools,
python3-shapely,
python3-sqlalchemy,
python3-pygml,
python3-pytest <!nocheck>,
python3-pytest-django <!nocheck>
Standards-Version: 4.7.2
Testsuite: autopkgtest-pkg-pybuild
Homepage: https://github.com/geopython/pygeofilter
Vcs-Browser: https://salsa.debian.org/debian-gis-team/pygeofilter
Vcs-Git: https://salsa.debian.org/debian-gis-team/pygeofilter.git
Description: Pure Python parser implementation of OGC filtering standards
pygeofilter is a pure Python parser implementation of OGC filtering
standards. It provides the following features:
.
* Parsing of several filter encoding standards
* CQL as defined in CSW 2.0
* CQL JSON as defined in OGC API - Features - Part 3: Filtering
and the Common Query Language (CQL)
* JSON Filter Expressions (JFE)
* Soon:
* CQL Text as defined in OGC API - Features - Part 3: Filtering
and the Common Query Language (CQL)
* FES
* Several backends included
* Django
* SQLAlchemy
* (Geo)Pandas
* Native Python objects

Package: python3-pygeofilter
Architecture: any
Section: web
Depends: ${shlibs:Depends},
${misc:Depends},
python3,
python3-click
Description: This package contains the pygeofilter library
.
pygeofilter is a pure Python parser implementation of OGC filtering standards.
Architecture: all
Depends: ${python3:Depends},
${misc:Depends}
Suggests: python3-django,
python3-elasticsearch,
python3-geoalchemy2,
python3-shapely,
python3-sqlalchemy,
python3-pygml
Description: ${source:Synopsis}
${source:Extended-Description}
70 changes: 40 additions & 30 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -1,30 +1,40 @@
This package was debianized by Angelos Tzotsos <gcpp.kalxas@gmail.com> on
Tue, 12 Oct 2021 13:00:00 +0300.

It was downloaded from:

https://github.com/geopython/pygeofilter

Copyright:

Copyright (c) 2021 geopython

License:

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies of this Software or works derived from this Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pygeofilter
Upstream-Contact: Fabian Schindler <fabian.schindler@eox.at>
Source: https://github.com/geopython/pygeofilter

Files: *
Copyright: 2021-2024, geopython
2019-2024, EOX IT Services GmbH
2025, Norwegian Meteorological Institute
2025, Tom Kralidis
License: Expat

Files: pygeofilter/backends/oraclesql/evaluate.py
tests/backends/oraclesql/test_evaluate.py
Copyright: 2023, Agrar Markt Austria
2024, EOX IT Services GmbH
License: Expat

Files: debian/*
Copyright: 2024-2025, Antonio Valentino <antonio.valentino@tiscali.it>
License: Expat

License: Expat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
19 changes: 19 additions & 0 deletions debian/gbp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[DEFAULT]

# The default name for the upstream branch is "upstream".
# Change it if the name is different (for instance, "master").
upstream-branch = upstream

# The default name for the Debian branch is "master".
# Change it if the name is different (for instance, "debian/unstable").
debian-branch = master

# git-import-orig uses the following names for the upstream tags.
# Change the value if you are not using git-import-orig
upstream-tag = upstream/%(version)s

# Always use pristine-tar.
pristine-tar = True

[buildpackage]
pbuilder-options = --source-only-changes
33 changes: 33 additions & 0 deletions debian/man/pygeofilter.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.TH PYGEOFILTER "1" "December 2025" "pygeofilter" "User Commands"
.SH NAME
pygeofilter \- parse a query into an abstract syntax tree
.SH SYNOPSIS
.B pygeofilter
[\fI\,OPTIONS\/\fR] \fI\,COMMAND \/\fR[\fI\,ARGS\/\fR]...
.SH OPTIONS
.TP
\fB\-\-version\fR
Show the version and exit.
.TP
\fB\-\-help\fR
Show this message and exit.
.SS "Commands:"
.TP
parse
Parse a query into an abstract syntax tree
.SH SYNOPSIS
.B pygeofilter
\fI\,parse \/\fR[\fI\,OPTIONS\/\fR] \fI\,{cql_json|cql2_json|cql2_text|ecql|fes|jfe}\/\fR
.SH DESCRIPTION
.IP
QUERY
.IP
Parse a query into an abstract syntax tree
.SH OPTIONS
.TP
\fB\-v\fR, \fB\-\-verbosity\fR [ERROR|WARNING|INFO|DEBUG]
Verbosity
.TP
\fB\-\-help\fR
Show this message and exit.

2 changes: 2 additions & 0 deletions debian/py3dist-overrides
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# only required for Python < 3.7
dataclasses
1 change: 1 addition & 0 deletions debian/python3-pygeofilter.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
README.md
1 change: 1 addition & 0 deletions debian/python3-pygeofilter.examples
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
examples/*
1 change: 1 addition & 0 deletions debian/python3-pygeofilter.manpages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
debian/man/pygeofilter.1
31 changes: 22 additions & 9 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#! /usr/bin/make -f

export PYBUILD_NAME=pygeofilter
export PYBUILD_TEST_ARGS=\
-k "not test_intersects \
and not test_dwithin \
and not test_beyond \
and not test_spatial \
and not test_fixtures \
and not test_disjoint_linestring_attr \
and not test_contains_attr_polygon \
and not test_within_multipolygon_attr \
and not test_touches_attr_multilinestring \
and not test_crosses_attr_multilinestring \
and not test_overlaps_attr_multilinestring \
and not test_relate_attr_polygon \
and not test_function_no_arg \
and not test_temporal_json" \
--ignore {dir}/tests/backends/elasticsearch/test_evaluate.py \
--ignore {dir}/tests/backends/elasticsearch/test_util.py \
--ignore {dir}/tests/backends/opensearch/test_evaluate.py \
--ignore {dir}/tests/backends/solr/test_evaluate.py \
-v {dir}/tests

%:
dh $@ --with python3 --buildsystem pybuild

override_dh_auto_test:
@echo "nocheck set, not running tests"
dh $@ --buildsystem=pybuild
3 changes: 3 additions & 0 deletions debian/source/lintian-overrides
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Not supported by devscripts in trixie
older-debian-watch-file-standard 4 *

5 changes: 5 additions & 0 deletions debian/upstream/metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bug-Database: https://github.com/geopython/pygeofilter/issues
Bug-Submit: https://github.com/geopython/pygeofilter/issues/new
Repository: https://github.com/geopython/pygeofilter.git
Repository-Browse: https://github.com/geopython/pygeofilter
Security-Contact: https://github.com/geopython/pygeofilter/tree/HEAD/SECURITY.md
8 changes: 8 additions & 0 deletions debian/watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version=4
opts=\
pgpmode=none,\
dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|c|beta|b|alpha|a)\d*)$/$1~$2/;s/RC/rc/;s/\-/\./g,\
filenamemangle=s/(?:.*?)?(?:rel|v|@PACKAGE@)?[\-\_]?(\d\S*)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/@PACKAGE@-$1.$2/ \
https://github.com/geopython/pygeofilter/tags \
(?:.*?/archive/(?:.*?/)?)?(?:rel|v|@PACKAGE@)?[\-\_]?(\d\S*)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
Loading