Skip to content

Commit 9277f19

Browse files
committed
py-gwcs: update to 0.21.0.
0.21.0 (2024-03-10) ------------------- - Improve documentation. [#483] - Add a minimum version requirement for ``asdf-wcs-schemas``. [#491] - Fix ``WCS.__str__`` for instances without transforms. [#489] 0.20.0 (2023-11-29) ------------------- - Replace ``pkg_resources`` with ``importlib.metadata``. [#478] - Serialize and deserialize ``pixel_shape`` with asdf. [#480] 0.19.0 (2023-09-15) ------------------- Bug Fixes ^^^^^^^^^ - Synchronize ``array_shape`` and ``pixel_shape`` attributes of WCS objects. [#439] - Fix failures and warnings with numpy 2.0. [#472] other ^^^^^ - Remove deprecated old ``bounding_box``. The new implementation is released with astropy v 5.3. [#458] - Refactor ``CoordinateFrame.axis_physical_types``. [#459] - ``StokesFrame`` uses now ``astropy.coordinates.StokesCoord``. [#452] - Dropped support for Python 3.8. [#451] - Fixed a call to ``astropy.coordinates`` in ``wcstools.wcs_from_points``. [#448] - Code and docstrings clean up. [#460] - Register all available asdf extension manifests from ``asdf-wcs-schemas`` except 1.0.0 (which contains duplicate tag versions). [#469] - Register empty extension for 1.0.0 to avoid warning about a missing extension when opening old files. [#475] 0.18.3 (2022-12-23) ------------------- Bug Fixes ^^^^^^^^^ - Fixed a bug in the estimate of pixel scale in the iterative inverse code. [#423] - Fixed constant term in the polynomial used for SIP fitting. Improved stability and accuracy of the SIP fitting code. [#427] 0.18.2 (2022-09-07) ------------------- Bug Fixes ^^^^^^^^^ - Corrected the reported requested forward SIP accuracy and reported fit residuals by ``to_fits_sip()`` and ``to_fits()``. [#413, #419] - Fixed a bug due to which the check for divergence in ``_fit_2D_poly()`` and hence in ``to_fits()`` and ``to_fits_sip()`` was ignored. [#414] New Features ^^^^^^^^^^^^ 0.18.1 (2022-03-15) ------------------- Bug Fixes ^^^^^^^^^ - Remove references to the ``six`` package. [#402] 0.18.0 (2021-12-22) ------------------- Bug Fixes ^^^^^^^^^ - Updated code in ``region.py`` with latest improvements and bug fixes from ``stsci.skypac.regions.py`` [#382] - Added support to ``_compute_lon_pole()`` for computation of ``lonpole`` for all projections from ``astropy.modeling.projections``. This also extends support for different projections in ``wcs_from_fiducial()``. [#389] New Features ^^^^^^^^^^^^ - Enabled ``CompoundBoundingBox`` support for wcs. [#375] - Moved schemas to standalone package ``asdf-wcs-schemas``. Reworked the serialization code to use ASDF converters. [#388] 0.17.1 (2021-11-27) ------------------- Bug Fixes ^^^^^^^^^ - Fixed a bug with StokesProfile and array types. [#384] 0.17.0 (2021-11-17) ------------------- Bug Fixes ^^^^^^^^^ - `world_axis_object_components` and `world_axis_object_classes` now ensure unique keys in `CompositeFrame` and `CoordinateFrame`. [#356] - Fix issue where RuntimeWarning is raised when there are NaNs in coordinates in angle wrapping code [#367] - Fix deprecation warning when wcs is initialized with a pipeline [#368] - Use ``CD`` formalism in ``WCS.to_fits_sip()``. [#380] New Features ^^^^^^^^^^^^ - ``wcs_from_points`` now includes fitting for the inverse transform. [#349] - Generalized ``WCS.to_fits_sip`` to be able to create a 2D celestial FITS WCS from celestial subspace of the ``WCS``. Also, now `WCS.to_fits_sip`` supports arbitrary order of output axes. [#357] API Changes ^^^^^^^^^^^ - Modified interface to ``wcs_from_points`` function to better match analogous function in astropy. [#349] - ``Model._BoundingBox`` was renamed to ``Model.ModelBoundingBox``. [#376, #377] 0.16.1 (2020-12-20) ------------------- Bug Fixes ^^^^^^^^^ - Fix a regression with ``pixel_to_world`` for output frames with one axis. [#342] 0.16.0 (2020-12-18) ------------------- New Features ^^^^^^^^^^^^ - Added an option to `to_fits_sip()` to be able to specify the reference point (``crpix``) of the FITS WCS. [#337] - Added support for providing custom range of degrees in ``to_fits_sip``. [#339] Bug Fixes ^^^^^^^^^ - ``bounding_box`` now works with tuple of ``Quantities``. [#331] - Fix a formula for estimating ``crpix`` in ``to_fits_sip()`` so that ``crpix`` is near the center of the bounding box. [#337] - Allow sub-pixel sampling of the WCS model when computing SIP approximation in ``to_fits_sip()``. [#338] - Fixed a bug in ``to_fits_sip`` due to which ``inv_degree`` was ignored. [#339]
1 parent 96a4ba2 commit 9277f19

File tree

3 files changed

+65
-78
lines changed

3 files changed

+65
-78
lines changed

math/py-gwcs/Makefile

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# $NetBSD: Makefile,v 1.6 2023/08/01 23:20:46 wiz Exp $
1+
# $NetBSD: Makefile,v 1.7 2024/05/15 07:01:41 wiz Exp $
22

3-
DISTNAME= gwcs-0.15.0
3+
DISTNAME= gwcs-0.21.0
44
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5-
PKGREVISION= 1
65
CATEGORIES= math python
76
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gwcs/}
87

@@ -11,12 +10,18 @@ HOMEPAGE= https://gwcs.readthedocs.io/en/latest/
1110
COMMENT= Generalized World Coordinate System
1211
LICENSE= modified-bsd
1312

14-
DEPENDS+= ${PYPKGPREFIX}-scipy>=1.1:../../math/py-scipy
15-
DEPENDS+= ${PYPKGPREFIX}-astropy>=4.2:../../math/py-astropy
16-
DEPENDS+= ${PYPKGPREFIX}-asdf>=2.7.1:../../math/py-asdf
13+
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
14+
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=0:../../devel/py-setuptools_scm
15+
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
16+
DEPENDS+= ${PYPKGPREFIX}-asdf>=2.8.1:../../math/py-asdf
17+
DEPENDS+= ${PYPKGPREFIX}-asdf_astropy>=0.2.0:../../math/py-asdf_astropy
18+
DEPENDS+= ${PYPKGPREFIX}-asdf_wcs_schemas>=0.4.0:../../math/py-asdf_wcs_schemas
19+
DEPENDS+= ${PYPKGPREFIX}-astropy>=5.3:../../math/py-astropy
20+
DEPENDS+= ${PYPKGPREFIX}-scipy>=0:../../math/py-scipy
21+
TEST_DEPENDS+= ${PYPKGPREFIX}-test-doctestplus>=0:../../devel/py-test-doctestplus
1722

1823
PYTHON_VERSIONS_INCOMPATIBLE= 27 38
1924

2025
.include "../../math/py-numpy/buildlink3.mk"
21-
.include "../../lang/python/egg.mk"
26+
.include "../../lang/python/wheel.mk"
2227
.include "../../mk/bsd.pkg.mk"

math/py-gwcs/PLIST

Lines changed: 49 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,42 @@
1-
@comment $NetBSD: PLIST,v 1.1 2020/12/19 14:54:00 mef Exp $
2-
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3-
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4-
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5-
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
6-
${PYSITELIB}/${EGG_INFODIR}/requires.txt
7-
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
1+
@comment $NetBSD: PLIST,v 1.2 2024/05/15 07:01:41 wiz Exp $
2+
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
3+
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
4+
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
5+
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
6+
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
87
${PYSITELIB}/gwcs/__init__.py
98
${PYSITELIB}/gwcs/__init__.pyc
109
${PYSITELIB}/gwcs/__init__.pyo
1110
${PYSITELIB}/gwcs/api.py
1211
${PYSITELIB}/gwcs/api.pyc
1312
${PYSITELIB}/gwcs/api.pyo
13+
${PYSITELIB}/gwcs/converters/__init__.py
14+
${PYSITELIB}/gwcs/converters/__init__.pyc
15+
${PYSITELIB}/gwcs/converters/__init__.pyo
16+
${PYSITELIB}/gwcs/converters/geometry.py
17+
${PYSITELIB}/gwcs/converters/geometry.pyc
18+
${PYSITELIB}/gwcs/converters/geometry.pyo
19+
${PYSITELIB}/gwcs/converters/selector.py
20+
${PYSITELIB}/gwcs/converters/selector.pyc
21+
${PYSITELIB}/gwcs/converters/selector.pyo
22+
${PYSITELIB}/gwcs/converters/spectroscopy.py
23+
${PYSITELIB}/gwcs/converters/spectroscopy.pyc
24+
${PYSITELIB}/gwcs/converters/spectroscopy.pyo
25+
${PYSITELIB}/gwcs/converters/tests/__init__.py
26+
${PYSITELIB}/gwcs/converters/tests/__init__.pyc
27+
${PYSITELIB}/gwcs/converters/tests/__init__.pyo
28+
${PYSITELIB}/gwcs/converters/tests/test_selector.py
29+
${PYSITELIB}/gwcs/converters/tests/test_selector.pyc
30+
${PYSITELIB}/gwcs/converters/tests/test_selector.pyo
31+
${PYSITELIB}/gwcs/converters/tests/test_transforms.py
32+
${PYSITELIB}/gwcs/converters/tests/test_transforms.pyc
33+
${PYSITELIB}/gwcs/converters/tests/test_transforms.pyo
34+
${PYSITELIB}/gwcs/converters/tests/test_wcs.py
35+
${PYSITELIB}/gwcs/converters/tests/test_wcs.pyc
36+
${PYSITELIB}/gwcs/converters/tests/test_wcs.pyo
37+
${PYSITELIB}/gwcs/converters/wcs.py
38+
${PYSITELIB}/gwcs/converters/wcs.pyc
39+
${PYSITELIB}/gwcs/converters/wcs.pyo
1440
${PYSITELIB}/gwcs/coordinate_frames.py
1541
${PYSITELIB}/gwcs/coordinate_frames.pyc
1642
${PYSITELIB}/gwcs/coordinate_frames.pyo
@@ -20,81 +46,31 @@ ${PYSITELIB}/gwcs/extension.pyo
2046
${PYSITELIB}/gwcs/geometry.py
2147
${PYSITELIB}/gwcs/geometry.pyc
2248
${PYSITELIB}/gwcs/geometry.pyo
23-
${PYSITELIB}/gwcs/gwcs_types.py
24-
${PYSITELIB}/gwcs/gwcs_types.pyc
25-
${PYSITELIB}/gwcs/gwcs_types.pyo
2649
${PYSITELIB}/gwcs/region.py
2750
${PYSITELIB}/gwcs/region.pyc
2851
${PYSITELIB}/gwcs/region.pyo
29-
${PYSITELIB}/gwcs/schemas/__init__.py
30-
${PYSITELIB}/gwcs/schemas/__init__.pyc
31-
${PYSITELIB}/gwcs/schemas/__init__.pyo
32-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/celestial_frame-1.0.0.yaml
33-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/composite_frame-1.0.0.yaml
34-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/direction_cosines-1.0.0.yaml
35-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/direction_cosines-1.1.0.yaml
36-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/frame-1.0.0.yaml
37-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/frame2d-1.0.0.yaml
38-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/grating_equation-1.0.0.yaml
39-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/grating_equation-1.1.0.yaml
40-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/label_mapper-1.0.0.yaml
41-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/label_mapper-1.1.0.yaml
42-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/regions_selector-1.0.0.yaml
43-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/regions_selector-1.1.0.yaml
44-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/sellmeier_glass-1.0.0.yaml
45-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/sellmeier_glass-1.1.0.yaml
46-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/sellmeier_zemax-1.0.0.yaml
47-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/sellmeier_zemax-1.1.0.yaml
48-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/snell3d-1.0.0.yaml
49-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/snell3d-1.1.0.yaml
50-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/spectral_frame-1.0.0.yaml
51-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/spherical_cartesian-1.0.0.yaml
52-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/spherical_cartesian-1.1.0.yaml
53-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/step-1.0.0.yaml
54-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/step-1.1.0.yaml
55-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/stokes_frame-1.0.0.yaml
56-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/temporal_frame-1.0.0.yaml
57-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/wcs-1.0.0.yaml
58-
${PYSITELIB}/gwcs/schemas/stsci.edu/gwcs/wcs-1.1.0.yaml
5952
${PYSITELIB}/gwcs/selector.py
6053
${PYSITELIB}/gwcs/selector.pyc
6154
${PYSITELIB}/gwcs/selector.pyo
6255
${PYSITELIB}/gwcs/spectroscopy.py
6356
${PYSITELIB}/gwcs/spectroscopy.pyc
6457
${PYSITELIB}/gwcs/spectroscopy.pyo
65-
${PYSITELIB}/gwcs/tags/__init__.py
66-
${PYSITELIB}/gwcs/tags/__init__.pyc
67-
${PYSITELIB}/gwcs/tags/__init__.pyo
68-
${PYSITELIB}/gwcs/tags/geometry_models.py
69-
${PYSITELIB}/gwcs/tags/geometry_models.pyc
70-
${PYSITELIB}/gwcs/tags/geometry_models.pyo
71-
${PYSITELIB}/gwcs/tags/selectortags.py
72-
${PYSITELIB}/gwcs/tags/selectortags.pyc
73-
${PYSITELIB}/gwcs/tags/selectortags.pyo
74-
${PYSITELIB}/gwcs/tags/spectroscopy_models.py
75-
${PYSITELIB}/gwcs/tags/spectroscopy_models.pyc
76-
${PYSITELIB}/gwcs/tags/spectroscopy_models.pyo
77-
${PYSITELIB}/gwcs/tags/tests/__init__.py
78-
${PYSITELIB}/gwcs/tags/tests/__init__.pyc
79-
${PYSITELIB}/gwcs/tags/tests/__init__.pyo
80-
${PYSITELIB}/gwcs/tags/tests/test_selector.py
81-
${PYSITELIB}/gwcs/tags/tests/test_selector.pyc
82-
${PYSITELIB}/gwcs/tags/tests/test_selector.pyo
83-
${PYSITELIB}/gwcs/tags/tests/test_transforms.py
84-
${PYSITELIB}/gwcs/tags/tests/test_transforms.pyc
85-
${PYSITELIB}/gwcs/tags/tests/test_transforms.pyo
86-
${PYSITELIB}/gwcs/tags/tests/test_wcs.py
87-
${PYSITELIB}/gwcs/tags/tests/test_wcs.pyc
88-
${PYSITELIB}/gwcs/tags/tests/test_wcs.pyo
89-
${PYSITELIB}/gwcs/tags/wcs.py
90-
${PYSITELIB}/gwcs/tags/wcs.pyc
91-
${PYSITELIB}/gwcs/tags/wcs.pyo
9258
${PYSITELIB}/gwcs/tests/__init__.py
9359
${PYSITELIB}/gwcs/tests/__init__.pyc
9460
${PYSITELIB}/gwcs/tests/__init__.pyo
9561
${PYSITELIB}/gwcs/tests/conftest.py
9662
${PYSITELIB}/gwcs/tests/conftest.pyc
9763
${PYSITELIB}/gwcs/tests/conftest.pyo
64+
${PYSITELIB}/gwcs/tests/data/__init__.py
65+
${PYSITELIB}/gwcs/tests/data/__init__.pyc
66+
${PYSITELIB}/gwcs/tests/data/__init__.pyo
67+
${PYSITELIB}/gwcs/tests/data/acs.hdr
68+
${PYSITELIB}/gwcs/tests/data/acs_wfc.hdr
69+
${PYSITELIB}/gwcs/tests/data/miri_lrs_wcs.asdf
70+
${PYSITELIB}/gwcs/tests/data/miriwcs.asdf
71+
${PYSITELIB}/gwcs/tests/data/nircamwcs.asdf
72+
${PYSITELIB}/gwcs/tests/data/simple_wcs2.hdr
73+
${PYSITELIB}/gwcs/tests/data/stokes.txt
9874
${PYSITELIB}/gwcs/tests/test_api.py
9975
${PYSITELIB}/gwcs/tests/test_api.pyc
10076
${PYSITELIB}/gwcs/tests/test_api.pyo
@@ -104,6 +80,9 @@ ${PYSITELIB}/gwcs/tests/test_api_slicing.pyo
10480
${PYSITELIB}/gwcs/tests/test_coordinate_systems.py
10581
${PYSITELIB}/gwcs/tests/test_coordinate_systems.pyc
10682
${PYSITELIB}/gwcs/tests/test_coordinate_systems.pyo
83+
${PYSITELIB}/gwcs/tests/test_extension.py
84+
${PYSITELIB}/gwcs/tests/test_extension.pyc
85+
${PYSITELIB}/gwcs/tests/test_extension.pyo
10786
${PYSITELIB}/gwcs/tests/test_geometry.py
10887
${PYSITELIB}/gwcs/tests/test_geometry.pyc
10988
${PYSITELIB}/gwcs/tests/test_geometry.pyo
@@ -119,6 +98,9 @@ ${PYSITELIB}/gwcs/tests/test_utils.pyo
11998
${PYSITELIB}/gwcs/tests/test_wcs.py
12099
${PYSITELIB}/gwcs/tests/test_wcs.pyc
121100
${PYSITELIB}/gwcs/tests/test_wcs.pyo
101+
${PYSITELIB}/gwcs/tests/utils.py
102+
${PYSITELIB}/gwcs/tests/utils.pyc
103+
${PYSITELIB}/gwcs/tests/utils.pyo
122104
${PYSITELIB}/gwcs/utils.py
123105
${PYSITELIB}/gwcs/utils.pyc
124106
${PYSITELIB}/gwcs/utils.pyo

math/py-gwcs/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.3 2021/10/26 10:56:01 nia Exp $
1+
$NetBSD: distinfo,v 1.4 2024/05/15 07:01:41 wiz Exp $
22

3-
BLAKE2s (gwcs-0.15.0.tar.gz) = 4349470fa10466347f5e93361c90a4ff50c8deb8cab713a927319b7176e23741
4-
SHA512 (gwcs-0.15.0.tar.gz) = 3ae8f9ea6e46666bd578a098b942099bbe53918009dd0a8e52fec252f6e5216d0271effd49d193ed850e5e164667fcc8b464bfe128c6899b0e8c39b27362a146
5-
Size (gwcs-0.15.0.tar.gz) = 167453 bytes
3+
BLAKE2s (gwcs-0.21.0.tar.gz) = c366d39f2d59aa569e7e972825619b85c960a38abf8f4355d4c25f61f0c0b96a
4+
SHA512 (gwcs-0.21.0.tar.gz) = cccc914f4a74f1e306bbe88169178be5090240ffddd0b9a2006d67be659dc66b7fd33458a1b6e94e72da4dd731d8587456e3ab69add48036226130eaf728ab6b
5+
Size (gwcs-0.21.0.tar.gz) = 195866 bytes

0 commit comments

Comments
 (0)