diff --git a/python-pythran.spec b/python-pythran.spec new file mode 100644 index 0000000000000000000000000000000000000000..b892e198d3c20cadc53d42492d014f4626c41d7c --- /dev/null +++ b/python-pythran.spec @@ -0,0 +1,68 @@ +%global pypi_name pythran + +Name: python-%{pypi_name} +Version: 0.14.0 +Release: 1 +Summary: Ahead of Time compiler for numeric kernels + +License: BSD 3-Clause +URL: https://github.com/serge-sans-paille/pythran +Source0: https://files.pythonhosted.org/packages/2c/ab/a647b8cc3ac1aa07cde06875157696e4522958fb8363474bce21c302d4d8/pythran-0.14.0.tar.gz + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling + +%description +Pythran is an ahead of time compiler for a subset of the Python language, with +a focus on scientific computing. It takes a Python module annotated with a few +interface descriptions and turns it into a native Python module with the same +interface, but (hopefully) faster.It is meant to efficiently compile +**scientific programs**, and takes advantage of multi-cores and SIMD +instruction... + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + + +%description -n python3-%{pypi_name} +Pythran is an ahead of time compiler for a subset of the Python language, with +a focus on scientific computing. It takes a Python module annotated with a few +interface descriptions and turns it into a native Python module with the same +interface, but (hopefully) faster.It is meant to efficiently compile +**scientific programs**, and takes advantage of multi-cores and SIMD +instruction... + +%package -n python-%{pypi_name}-doc +Summary: pythran documentation +%description -n python-%{pypi_name}-doc +Documentation for pythran + +%prep +%autosetup -n %{pypi_name}-%{version} + + +%build +%pyproject_build + + +%install +%pyproject_install + +%files +%license LICENSE +%doc README.rst +%if %{with docs} +%doc docs/_build/html +%endif +%{_bindir}/%{pypi_name} +%{_bindir}/%{pypi_name}-config + + + +%changelog +* Fri Sep 22 2023 luolu12 - 0.14.0-1 +- Initial package. diff --git a/pythran-0.14.0.tar.gz b/pythran-0.14.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..5bc0076b24a36c673c91aabfff9c7dd4c3edbc0c Binary files /dev/null and b/pythran-0.14.0.tar.gz differ