[Git][debian-gis-team/python-pyproj][upstream] New upstream version 2.4.0+ds

Bas Couwenberg gitlab at salsa.debian.org
Sat Sep 21 05:39:34 BST 2019



Bas Couwenberg pushed to branch upstream at Debian GIS Project / python-pyproj


Commits:
8a50040c by Bas Couwenberg at 2019-09-21T04:26:24Z
New upstream version 2.4.0+ds
- - - - -


2 changed files:

- pyproj/__init__.py
- pyproj/crs.py


Changes:

=====================================
pyproj/__init__.py
=====================================
@@ -47,7 +47,7 @@ CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
 LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
 CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. """
-__version__ = "2.4.rc1"
+__version__ = "2.4.0"
 __all__ = [
     "Proj",
     "Geod",


=====================================
pyproj/crs.py
=====================================
@@ -438,7 +438,10 @@ class CRS(_CRS):
 
     @classmethod
     def from_authority(cls, auth_name, code):
-        """Make a CRS from an authority name and authority code
+        """
+        .. versionadded:: 2.2.0
+        
+        Make a CRS from an authority name and authority code
 
         Parameters
         ----------
@@ -470,7 +473,10 @@ class CRS(_CRS):
 
     @classmethod
     def from_proj4(cls, in_proj_string):
-        """Make a CRS from a PROJ string
+        """
+        .. versionadded:: 2.2.0
+
+        Make a CRS from a PROJ string
 
         Parameters
         ----------
@@ -487,7 +493,10 @@ class CRS(_CRS):
 
     @classmethod
     def from_wkt(cls, in_wkt_string):
-        """Make a CRS from a WKT string
+        """
+        .. versionadded:: 2.2.0
+
+        Make a CRS from a WKT string
 
         Parameters
         ----------
@@ -504,7 +513,8 @@ class CRS(_CRS):
 
     @classmethod
     def from_string(cls, in_crs_string):
-        """Make a CRS from:
+        """
+        Make a CRS from:
 
         Initialize a CRS class instance with:
          - PROJ string
@@ -524,7 +534,10 @@ class CRS(_CRS):
         return cls(_prepare_from_string(in_crs_string))
 
     def to_string(self):
-        """Convert the CRS to a string.
+        """
+        .. versionadded:: 2.2.0
+
+        Convert the CRS to a string.
 
         It attempts to convert it to the authority string.
         Otherwise, it uses the string format of the user
@@ -585,7 +598,10 @@ class CRS(_CRS):
 
     @classmethod
     def from_dict(cls, proj_dict):
-        """Make a CRS from a dictionary of PROJ parameters.
+        """
+        .. versionadded:: 2.2.0
+
+        Make a CRS from a dictionary of PROJ parameters.
 
         Parameters
         ----------
@@ -601,10 +617,10 @@ class CRS(_CRS):
     @classmethod
     def from_json(cls, crs_json):
         """
-        Create CRS from a CRS JSON string.
-
         .. versionadded:: 2.4.0
 
+        Create CRS from a CRS JSON string.
+
         Parameters
         ----------
         crs_json: str
@@ -619,10 +635,10 @@ class CRS(_CRS):
     @classmethod
     def from_json_dict(cls, crs_dict):
         """
-        Create CRS from a JSON dictionary.
-
         .. versionadded:: 2.4.0
 
+        Create CRS from a JSON dictionary.
+
         Parameters
         ----------
         crs_dict: dict



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/commit/8a50040ce42e961f4415de2987eaf0b36ea659b3

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/commit/8a50040ce42e961f4415de2987eaf0b36ea659b3
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/20190921/c3c20247/attachment-0001.html>


More information about the Pkg-grass-devel mailing list