1 Star 0 Fork 5

zoujiancang/python-shapely

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-shapely.spec 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
zoujiancang 提交于 2023-09-06 15:03 . Add check for the pkg spec
%global _empty_manifest_terminate_build 0
%global pypi_name shapely
Name: python-%{pypi_name}
Version: 2.0.1
Release: 2
Summary: Shapely is a BSD-licensed Python package for manipulation and analysis of planar geometric objects.
License: BSD 3-Clause
URL: https://github.com/shapely/shapely
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-virtualenv
BuildRequires: python3-poetry-core
BuildRequires: python3-Cython
BuildRequires: python3-numpy
BuildRequires: gcc
BuildRequires: geos-devel
BuildRequires: python3-pytest
BuildRequires: python3-shapely
%description
Shapely is a BSD-licensed Python package for manipulation and analysis of planar geometric objects.
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name}
Shapely is a BSD-licensed Python package for manipulation and analysis of planar geometric objects.
%prep
%autosetup -p1 -n %{pypi_name}-%{version}
find shapely -type f -name '*.c' -print -delete
%build
%pyproject_build
%install
%pyproject_install
%check
%pytest
%files -n python3-%{pypi_name}
%doc README.rst
%license LICENSE.txt
%{python3_sitearch}/shapely*.dist-info/
%{python3_sitearch}/shapely
%changelog
* Wed Sep 6 2023 zoujiancang<jczou@isoftstone.com> - 2.0.1-2
- Add check for the pkg
* Tue Aug 22 2023 zoujiancang<jczou@isoftstone.com> - 2.0.1-1
- Initial package
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zoujiancang/python-shapely.git
git@gitee.com:zoujiancang/python-shapely.git
zoujiancang
python-shapely
python-shapely
master

搜索帮助