同步操作将从 src-openEuler/python-Cartopy 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global pypi_name cartopy%global debug_package %{nil}%define _python_dist_allow_version_zero 1Name: python-%{pypi_name}Version: 0.25.0Release: 1Summary: Cartographic Python library with Matplotlib visualisationsLicense: LGPL-3.0-onlyURL: https://github.com/SciTools/cartopySource0: %{url}/archive/v%{version}/cartopy-%{version}.tar.gzSource1: siteconfig.pyBuildRequires: gcc-c++BuildRequires: projBuildRequires: python3-devel%global _description %{expand:Cartopy is a Python package designed to make drawing maps for data analysisand visualisation easy. It features:* object oriented projection definitions* point, line, polygon and image transformations between projections* integration to expose advanced mapping in Matplotlib with a simple andintuitive interface* powerful vector data handling by integrating shapefile reading with Shapelycapabilities}%description %{_description}%package -n python3-%{pypi_name}Summary: %{summary}Requires: python-%{pypi_name}-common = %{version}-%{release}Recommends: python3dist(cartopy[ows]) = %{version}-%{release}Recommends: python3dist(cartopy[plotting]) = %{version}-%{release}Recommends: python3dist(cartopy[speedups]) = %{version}-%{release}%description -n python3-%{pypi_name} %{_description}%package -n python-%{pypi_name}-commonSummary: Data files for %{pypi_name}BuildArch: noarchBuildRequires: python3-pipBuildRequires: python3-wheelBuildRequires: python3-hatchlingBuildRequires: python3-numpyBuildRequires: python3-Cython%description -n python-%{pypi_name}-commonData files for %{pypi_name}.%pyproject_extras_subpkg -n python3-cartopy ows plotting%prep%autosetup -n cartopy-%{version} -p1export FORCE_CYTHON=1 SETUPTOOLS_SCM_PRETEND_VERSION=%{version}cp -a %SOURCE1 lib/cartopy/sed -i -e 's/, "pytest-cov", "coveralls"//g' pyproject.toml%build%pyproject_build%install%pyproject_installmkdir -p %{buildroot}%{_datadir}/cartopy/shapefiles/natural_earth/for theme in physical cultural; doln -s %{_datadir}/natural-earth-map-data/${theme} \%{buildroot}%{_datadir}/cartopy/shapefiles/natural_earth/${theme}done%files -n python-%{pypi_name}-common%doc README.md%{_datadir}/cartopy/%files -n python3-%{pypi_name}%defattr(-,root,root)%doc README.md%license LICENSE%{_bindir}/cartopy_feature_download%{python3_sitearch}/cartopy-*.dist-info/%{python3_sitearch}/cartopy/%changelog* Thu Nov 20 2025 warlock <hunan@kylinos.cn> - 0.25.0-1- Update version to 0.25.0Introduce path_to_shapely and shapely_to_pathFIX: Add half-pixel shift to img_transform y coordinatefix: Gridliner Label Test and Docs Example* Tue Nov 12 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 0.24.1-1- Update version to 0.24.1Adds Python 3.13 wheels on PyPIAdd missing 'needs network' markersDrop py39 support and bump min package versionsFix failing gouraud shading mask creationAdd documentation, kwargs for ReaderAdd xfails to current owslib failures* Fri Aug 18 2023 chaozhangm <chaozhangm@isoftstone.com> - 0.22.0-1- Initial package.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。