Rebuild with python 3.14
This commit is contained in:
@@ -1,16 +1,21 @@
|
|||||||
name: python-cython
|
name: python-cython
|
||||||
description: Optimising static compiler for the Python programming language and the extended Cython programming language
|
description: Optimising static compiler for the Python programming language and the extended Cython programming language
|
||||||
version: 3.2.4
|
version: 3.2.4
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://cython.org/
|
url: https://cython.org/
|
||||||
license: Apache-2.0
|
license: Apache-2.0
|
||||||
|
maintainers:
|
||||||
|
- [email protected]
|
||||||
architecture: any
|
architecture: any
|
||||||
type: source
|
type: source
|
||||||
depends:
|
depends:
|
||||||
- glibc
|
- glibc
|
||||||
- python3
|
- python3=3.14.*
|
||||||
make_depends:
|
|
||||||
- python-setuptools
|
- python-setuptools
|
||||||
|
make_depends:
|
||||||
|
- python-build
|
||||||
|
- python-installer
|
||||||
|
- python-wheel
|
||||||
downloads:
|
downloads:
|
||||||
- url: https://github.com/cython/cython/archive/refs/tags/${BPM_PKG_VERSION/_/-}.tar.gz
|
- url: https://github.com/cython/cython/archive/refs/tags/${BPM_PKG_VERSION/_/-}.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
|
|||||||
@@ -5,13 +5,14 @@
|
|||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py build
|
python -m build --wheel --no-isolation .
|
||||||
}
|
}
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
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