Rebuild with python 3.14
This commit is contained in:
@@ -1,16 +1,21 @@
|
||||
name: python-cython
|
||||
description: Optimising static compiler for the Python programming language and the extended Cython programming language
|
||||
version: 3.2.4
|
||||
revision: 1
|
||||
revision: 2
|
||||
url: https://cython.org/
|
||||
license: Apache-2.0
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
type: source
|
||||
depends:
|
||||
- glibc
|
||||
- python3
|
||||
make_depends:
|
||||
- python3=3.14.*
|
||||
- python-setuptools
|
||||
make_depends:
|
||||
- python-build
|
||||
- python-installer
|
||||
- python-wheel
|
||||
downloads:
|
||||
- url: https://github.com/cython/cython/archive/refs/tags/${BPM_PKG_VERSION/_/-}.tar.gz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
|
||||
@@ -5,13 +5,14 @@
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
python3 setup.py build
|
||||
python -m build --wheel --no-isolation .
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
python3 setup.py install --root="$BPM_OUTPUT" --prefix=/usr
|
||||
python3 -m installer --destdir="$BPM_OUTPUT" dist/*.whl
|
||||
|
||||
install -Dm644 LICENSE.txt "$BPM_OUTPUT"/usr/share/licenses/cython/LICENSE.txt
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/LICENSE.txt "$BPM_OUTPUT"/usr/share/licenses/cython/LICENSE.txt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user