python: bump version and add triples when building
This commit is contained in:
parent
d6e6298d70
commit
4161b09f40
1 changed files with 4 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
||||||
pkgname=python
|
pkgname=python
|
||||||
pkgver=3.9.1
|
pkgver=3.9.5
|
||||||
bad=""
|
bad=""
|
||||||
ext="doc"
|
ext="doc"
|
||||||
|
|
||||||
fetch() {
|
fetch() {
|
||||||
curl "https://www.python.org/ftp/python/3.9.1/Python-3.9.1.tar.xz" -o $pkgname-$pkgver.tar.xz
|
curl "https://www.python.org/ftp/python/$pkgver/Python-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
||||||
tar -xf $pkgname-$pkgver.tar.xz
|
tar -xf $pkgname-$pkgver.tar.xz
|
||||||
mv Python-$pkgver $pkgname-$pkgver
|
mv Python-$pkgver $pkgname-$pkgver
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,8 @@ build() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--build=x86_64-unknown-linux-musl \
|
||||||
|
--host=x86_64-unknown-linux-musl \
|
||||||
--with-system-ffi=true \
|
--with-system-ffi=true \
|
||||||
ax_cv_c_float_words_bigendian=no
|
ax_cv_c_float_words_bigendian=no
|
||||||
make
|
make
|
||||||
|
|
Loading…
Reference in a new issue