femos3: hi

This commit is contained in:
2026-06-20 01:27:12 +02:00
parent b280a4e163
commit f9b440f570
505 changed files with 1525 additions and 527 deletions
Regular → Executable
+6 -5
View File
@@ -1,5 +1,5 @@
pkgname = "python"
pkgver = "3.14.2"
pkgver = "3.14.6"
Pkgver = pkgver[:4]
atomic = True
source = f"https://www.python.org/ftp/python/{pkgver}/Python-{pkgver}.tar.xz"
@@ -12,9 +12,10 @@ deps = []
build = [
# Extract
f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/Python-{pkgver}.tar.xz",
f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/Python-{pkgver}.tar.xz && wget "
f"https://www.linuxfromscratch.org/patches/blfs/svn/Python-{pkgver}-openssl_4-1.patch",
f"cd {builddir} && ./configure --prefix=/usr --enable-shared --with-system-expat --enable-optimizations --without-static-libpython",
f"cd {builddir} && patch -Np1 -i ../Python-{pkgver}-openssl_4-1.patch && ./configure --prefix=/usr --enable-shared --with-system-expat --enable-optimizations --without-static-libpython",
f"cd {builddir} && make -j$(nproc)",
f"cd {builddir} && make DESTDIR={destdir} install",
f"cd {builddir} && install -d -m 755 {destdir}/etc",
@@ -34,11 +35,11 @@ build = [
triggers = [
f"cd /tmp && find /usr/lib -maxdepth 1 -type d -name \"python3*\" ! -name \"python{Pkgver}\" -exec rm -rf {{}} +",
f"python3 -m ensurepip",
f"rm -rf /usr/bin/python3.13 /usr/bin/pip3.13 || true",
f"rm -rf /usr/bin/python3.13 /usr/bin/pip3.13 || true", # NOTE change this manually
f"cd /tmp && pip3 install requests build installer materialyoucolor pillow setuptools wheel meson dbus-python meson_python "
f"flit-core packaging markupsafe Jinja2 pluggy PyYAML pathspec Mako trove-classifiers editables hatchling python-dbusmock "
f"brotli pyproject_metadata Cython pyparsing ply docutils PyGObject Pygments tqdm httplib2==0.21.0 certifi chardet charset_normalizer "
f"doxypypy doxyqml idna urllib3 psutil pygdbmi sentry-sdk pyxdg colorama",
f"doxypypy doxyqml idna urllib3 psutil pygdbmi sentry-sdk pyxdg colorama parameterized markdown typogrify blueprint-compiler",
{"rebuild_package": ["caelestia-cli", "kapidox", "glib", "libxml2", "newt", "pycairo", "xcb-proto", "libpwquality", "flatpost"]},
]