Built Python
This commit is contained in:
parent
d6e538f62e
commit
3ca3b09681
@ -66,6 +66,7 @@ Maple Linux is built upon software created by various developers, and is distrib
|
||||
| GNU patch | Free Software Foundation, Inc. | GNU General Public License version 3 | Copyleft |
|
||||
| Perl | Larry Wall and others | GNU General Public License version 1 | Copyleft |
|
||||
| pkgconf | Various | ISC License | Free |
|
||||
| Python | Python Software Foundation, BeOpen, and CWI | Python Software Foundation License Version 2 | Copyleft |
|
||||
| GNU sed | Free Software Foundation, Inc. | GNU General Public License version 3 | Copyleft |
|
||||
| GNU tar | Free Software Foundation, Inc. | GNU General Public License version 3 | Copyleft |
|
||||
| xz | Various | Mostly BSD 0-Clause license | Slightly Copyleft |
|
||||
|
||||
@ -57,6 +57,7 @@ Definitions:
|
||||
| `perl` | Yes | Yes |
|
||||
| `pkgconf` | Yes | Yes |
|
||||
| `pipewire` |
|
||||
| `python` | Yes | Yes |
|
||||
| `sed` | Yes | Yes |
|
||||
| `shadow` |
|
||||
| `tar` | Yes | Yes |
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
<svg height="16" version="1.1" width="1024" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect fill="black" height="100%" width="100%" />
|
||||
<rect fill="blue" height="10" width="541" x="3" y="3" />
|
||||
<rect fill="cornflowerblue" height="10" width="87" x="544" y="3" />
|
||||
<rect fill="white" height="10" width="368" x="631" y="3" />
|
||||
<rect fill="mediumpurple" height="10" width="0" x="999" y="3" />
|
||||
<rect fill="indianred" height="10" width="22" x="999" y="3" />
|
||||
<rect fill="blue" height="10" width="551" x="3" y="3" />
|
||||
<rect fill="cornflowerblue" height="10" width="85" x="554" y="3" />
|
||||
<rect fill="white" height="10" width="361" x="639" y="3" />
|
||||
<rect fill="mediumpurple" height="10" width="0" x="1000" y="3" />
|
||||
<rect fill="indianred" height="10" width="21" x="1000" y="3" />
|
||||
<rect fill="crimson" height="10" width="0" x="1021" y="3" />
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 510 B After Width: | Height: | Size: 512 B |
24
sources/python/python.spec
Normal file
24
sources/python/python.spec
Normal file
@ -0,0 +1,24 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834"
|
||||
SRC_NAME="python"
|
||||
SRC_URL="https://www.python.org/ftp/python/3.9.25/Python-3.9.25.tar.xz"
|
||||
SRC_VERSION="3.9.25"
|
||||
|
||||
# NOTE: Yes, this is end-of-life, but it's the last version of Python that
|
||||
# supports LibreSSL, so we're stuck with it for now. ~ahill
|
||||
# See also: https://peps.python.org/pep-0644/
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd Python-$SRC_VERSION/
|
||||
# NOTE: Python must do some clang-specific checks because it attempts to
|
||||
# find and link with libclang_rt.profile.a, which unfortunately does
|
||||
# not exist at the moment. Since it only attempts to link when
|
||||
# CC=clang, we just override CC for the configuration portion. ~ahill
|
||||
CC=cc ./configure $TT_AUTOCONF_COMMON --enable-optimizations
|
||||
make -O -j $TT_PROCS
|
||||
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
|
||||
# Bad Python! Bad! ~ahill
|
||||
mv $TT_INSTALLDIR/include/python3.9/* $TT_INSTALLDIR/usr/include/python3.9/
|
||||
rm -rf $TT_INSTALLDIR/include
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user