Initial commit
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [
|
||||
"--without-static-libpython",
|
||||
"--enable-shared",
|
||||
"--without-ensurepip",
|
||||
"--with-system-expat",
|
||||
"--enable-optimizations",
|
||||
"--enable-ipv6",
|
||||
"--enable-loadable-sqlite-extensions",
|
||||
"--with-tzpath=/usr/share/zoneinfo",
|
||||
"--with-computed-gotos",
|
||||
"--with-system-libmpdec",
|
||||
"--with-dbmliborder=gdbm:ndbm"
|
||||
]
|
||||
skip_tests = true
|
||||
post_install = [
|
||||
"install -Dm644 $DEPOT_SPECDIR/EXTERNALLY-MANAGED -t $DESTDIR/usr/lib/python3.14/",
|
||||
"ln -s python3 $DESTDIR/usr/bin/python",
|
||||
"ln -s python3-config $DESTDIR/usr/bin/python-config",
|
||||
"ln -s idle3 $DESTDIR/usr/bin/idle",
|
||||
"ln -s pydoc3 $DESTDIR/usr/bin/pydoc",
|
||||
"ln -s python3.13.1 $DESTDIR/usr/share/man/man1/python.1",
|
||||
"install -dm755 $DESTDIR/usr/lib/python3.13/Tools/i18n",
|
||||
"install -dm755 $DESTDIR/usr/lib/python3.13/Tools/scripts",
|
||||
"install -m755 Tools/i18n/msgfmt.py $DESTDIR/usr/lib/python3.13/Tools/i18n/",
|
||||
"install -m755 Tools/i18n/pygettext.py $DESTDIR/usr/lib/python3.13/Tools/i18n/",
|
||||
"install -m755 Tools/scripts/README $DESTDIR/usr/lib/python3.13/Tools/scripts/",
|
||||
"install -m755 Tools/scripts/*.py $DESTDIR/usr/lib/python3.13/Tools/scripts/",
|
||||
]
|
||||
replace_cflags = [ "-02=-03" ]
|
||||
cflags += [ "-ffat-lto-objects" ]
|
||||
|
||||
[dependencies]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"sh",
|
||||
"expat",
|
||||
"openssl",
|
||||
"zlib-ng",
|
||||
"ncurses",
|
||||
"bzip2",
|
||||
"gdbm",
|
||||
"libffi",
|
||||
"libxcrypt",
|
||||
"libunwind",
|
||||
"mpdecimal",
|
||||
"tzdata",
|
||||
"zstd"
|
||||
]
|
||||
build = [ "sqlite" ]
|
||||
|
||||
[package]
|
||||
description = "Python development environment"
|
||||
homepage = "https://www.python.org/"
|
||||
license = "PSF-2.0"
|
||||
name = "python"
|
||||
version = "3.14.3"
|
||||
revision = 3
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b"
|
||||
url = "https://www.python.org/ftp/python/$version/Python-$version.tar.xz"
|
||||
post_extract = [ "rm -r Modules/expat", "rm -r Modules/_decimal/libmpdec" ]
|
||||
|
||||
[[manual_sources]]
|
||||
file = "EXTERNALLY-MANAGED"
|
||||
Reference in New Issue
Block a user