[Git][debian-gis-team/owslib][experimental] 4 commits: New upstream version 0.29.1
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Thu Apr 13 04:31:52 BST 2023
Bas Couwenberg pushed to branch experimental at Debian GIS Project / owslib
Commits:
7017b13c by Bas Couwenberg at 2023-04-13T05:21:57+02:00
New upstream version 0.29.1
- - - - -
b2ce8a9c by Bas Couwenberg at 2023-04-13T05:22:03+02:00
Update upstream source from tag 'upstream/0.29.1'
Update to upstream version '0.29.1'
with Debian dir 31a5548c35f7aa38eb4f3fe49942dd2c86a47119
- - - - -
5200d8b8 by Bas Couwenberg at 2023-04-13T05:22:32+02:00
New upstream release.
- - - - -
1641c2a8 by Bas Couwenberg at 2023-04-13T05:25:01+02:00
Set distribution to experimental.
- - - - -
5 changed files:
- VERSION.txt
- debian/changelog
- owslib/__init__.py
- owslib/iso.py
- tests/doctests/iso_parse.txt
Changes:
=====================================
VERSION.txt
=====================================
@@ -1 +1 @@
-0.29.0
+0.29.1
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+owslib (0.29.1-1~exp1) experimental; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic at debian.org> Thu, 13 Apr 2023 05:24:38 +0200
+
owslib (0.29.0-1~exp1) experimental; urgency=medium
* Team upload.
=====================================
owslib/__init__.py
=====================================
@@ -1 +1 @@
-__version__ = '0.29.0'
+__version__ = '0.29.1'
=====================================
owslib/iso.py
=====================================
@@ -747,35 +747,20 @@ class DQ_DataQuality(object):
self.specificationdate.append(val)
-class SV_ServiceIdentification(object):
+class SV_ServiceIdentification(MD_DataIdentification):
""" process SV_ServiceIdentification """
def __init__(self, md=None):
+
+ super().__init__(md, 'service')
+
if md is None:
- self.title = None
- self.abstract = None
- self.contact = None
- self.identtype = 'service'
self.type = None
self.version = None
self.fees = None
- self.bbox = None
self.couplingtype = None
self.operations = []
self.operateson = []
else:
- val = md.find(util.nspath_eval('gmd:citation/gmd:CI_Citation/gmd:title/gco:CharacterString', namespaces))
- self.title = util.testXMLValue(val)
-
- val = md.find(util.nspath_eval('gmd:abstract/gco:CharacterString', namespaces))
- self.abstract = util.testXMLValue(val)
-
- self.contact = None
- val = md.find(util.nspath_eval(
- 'gmd:citation/gmd:CI_Citation/gmd:citedResponsibleParty/gmd:CI_ResponsibleParty', namespaces))
- if val is not None:
- self.contact = CI_ResponsibleParty(val)
-
- self.identtype = 'service'
val = md.find(util.nspath_eval('srv:serviceType/gco:LocalName', namespaces))
self.type = util.testXMLValue(val)
@@ -786,13 +771,6 @@ class SV_ServiceIdentification(object):
'srv:accessProperties/gmd:MD_StandardOrderProcess/gmd:fees/gco:CharacterString', namespaces))
self.fees = util.testXMLValue(val)
- val = md.find(util.nspath_eval('srv:extent/gmd:EX_Extent', namespaces))
-
- if val is not None:
- self.bbox = EX_Extent(val)
- else:
- self.bbox = None
-
self.couplingtype = _testCodeListValue(md.find(util.nspath_eval(
'gmd:couplingType/gmd:SV_CouplingType', namespaces)))
=====================================
tests/doctests/iso_parse.txt
=====================================
@@ -3,7 +3,7 @@ Imports
>>> from tests.utils import resource_file
>>> from owslib.etree import etree
- >>> from owslib.iso import MD_Metadata
+ >>> from owslib.iso import MD_Metadata
Print testing some metadata elements
@@ -15,14 +15,14 @@ Print testing some metadata elements
>>> x.identification[1].title
'Parameter-elevation Regressions on Independent Slopes Model Monthly Climate Data for the Continental United States. February 2013 Snapshot'
- >>> x.identification[1].abstract[0:40]
- 'This dataset was created using the PRISM'
-
- >>> x.identification[1].contact.name
- 'Christopher Daley'
-
- >>> x.identification[1].contact.email
- 'daley at nacse.org'
-
- >>> x.identification[1].operations[0]['connectpoint'][0].url
- 'http://cida.usgs.gov/thredds/dodsC/prism'
+ >>> x.identification[1].abstract[0:40]
+ 'This dataset was created using the PRISM'
+
+ >>> x.contact[0].name
+ 'Christopher Daley'
+
+ >>> x.contact[0].email
+ 'daley at nacse.org'
+
+ >>> x.identification[1].operations[0]['connectpoint'][0].url
+ 'http://cida.usgs.gov/thredds/dodsC/prism'
View it on GitLab: https://salsa.debian.org/debian-gis-team/owslib/-/compare/af66420ca0bed56769530d5282f99e57b61609aa...1641c2a8de2a4a16e6f9e6aebe18efb5a5b0fd2f
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/owslib/-/compare/af66420ca0bed56769530d5282f99e57b61609aa...1641c2a8de2a4a16e6f9e6aebe18efb5a5b0fd2f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20230413/b04283a1/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list