blob: fb2ee4d2aada91c7f606293281b67be09ed02e35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
name=python
version=3.12.3
release=1
source="https://www.$name.org/ftp/$name/$version/Python-$version.tar.xz"
build_opt="--without-ensurepip
--enable-shared
--with-system-expat
--with-system-ffi
--enable-optimizations"
prebuild() {
# Remove tests
rm -rvf Lib/test Lib/*/test Lib/*/tests Lib/*/idle_test
}
postbuild() {
ln -s python3 $PKG/usr/bin/python
}
|