Commit 988a71b
0
plików
+0
dodanych
-0
usuniętych
@@ -1,12 +1,18 @@
1
1
pkgname: python
2
2
pkgver: '3.14.7'
3
-pkgrel: '1'
3
+pkgrel: '2'
4
4
pkgdesc: Next generation of the python high-level scripting language
5
5
url: 'https://www.python.org'
6
6
arch: x86_64
7
7
license:
8
8
- PSF-2.0
9
-depends: []
9
+depends:
10
+- openssl
11
+# OpenSSL jest twardą zależnością RUNTIME: moduł _ssl (a więc cały HTTPS w
12
+# urllib/requests) linkuje do libssl.so.4/libcrypto.so.4 z pakietu openssl.
13
+# Bez wpisu w depends `pag install python` nie dociągał OpenSSL, a na systemie
14
+# zostawał sam libssl.so.3 → `import ssl` → „cannot open shared object file:
15
+# libssl.so.4”, a `pag self-update` — „unknown url type: https”.
10
16
# Wirtualna nazwa `python3` – w repo pakiet nazywa się `python`, ale `pag`
11
17
# i `ca-certificates` deklarują zależność `python3` (konwencja LFS/BLFS).
12
18
# Bez tego `pag install pag` szuka pakietu `python3` i nie znajduje go,
@@ -15,6 +21,7 @@ depends: []
15
21
provides:
16
22
- python3
17
23
makedepends:
24
+- openssl
18
25
- bzip2
19
26
- xz
20
27
- gdbm
@@ -5811,6 +5818,6 @@ footprint: "drwxr-xr-x\troot/root\tusr/\ndrwxr-xr-x\troot/root\tusr/bin/\nlrwxrw
5811
5818
footprint_python_man: "drwxr-xr-x\troot/root\tusr/share/man/\ndrwxr-xr-x\troot/root\tusr/share/man/man1/\nlrwxrwxrwx\troot/root\t\
5812
5819
usr/share/man/man1/python.1.gz -> python3.14.1.gz\nlrwxrwxrwx\troot/root\tusr/share/man/man1/python3.1.gz -> python3.14.1.gz\n\
5813
5820
-rw-r--r--\troot/root\tusr/share/man/man1/python3.14.1.gz\n"
5814
-build: "bsdtar -xf Python-${pkgver}.tar.xz\ncd Python-${pkgver}\npatch -Np1 -i ../${pkgname}-${pkgver}-openssl_4-1.patch\nCXX=\"/usr/bin/g++\" \\\n./configure --prefix=/usr \\\n --enable-shared \\\n --with-system-expat \\\n --with-ensurepip=no\nmake\n\nmake DESTDIR=${PKGDIR} install\n\nchmod -v 755 ${PKGDIR}/usr/lib/libpython3.14.so\nchmod -v 755 ${PKGDIR}//usr/lib/libpython3.so\n\nln -s python3 ${PKGDIR}/usr/bin/python\nln -s python3-config ${PKGDIR}/usr/bin/python-config\nln -s idle3 ${PKGDIR}/usr/bin/idle\nln -s pydoc3 ${PKGDIR}/usr/bin/pydoc\nfor i in pep517 tomli\ndo\n\n\tln -s /usr/lib/python3.14/site-packages/pip/_vendor/$i \\\n\t\t${PKGDIR}//usr/lib/python3.14/site-packages/$i\ndone\nln -s python3.14.1 ${PKGDIR}/usr/share/man/man1/python.1\n\n# Install all HTML Docs files with desktop menu integration\n\n install -v -dm755 ${PKGDIR}/usr/share/doc/${pkgname}/html\n cd .\n tar --strip-components=1 \\\n --no-same-owner \\\n --no-same-permissions \\\n -C ${PKGDIR}/usr/share/doc/${pkgname}/html \\\n -xvf ../python-${pkgver}-docs-html.tar.bz2 || true\n\n find ${PKGDIR}/usr/share/doc/${pkgname} -type d -exec chmod 0755 {} \\;\n find ${PKGDIR}/usr/share/doc/${pkgname} -type f -exec chmod 0644 {} \\;\n\n mkdir -p ${PKGDIR}/usr/share/applications\n echo \"[Desktop Entry]\nCategories=Development;Documentation\nExec=xdg-open file:///usr/share/doc/${pkgname}/html/index.html\nIcon=${pkgname}\nStartupNotify=false\nTerminal=false\nType=Application\nName=Python Documentation\nName[fr]=Documentation Python\" > ${PKGDIR}/usr/share/applications/${pkgname}.desktop\n install -Dm644 ../${pkgname}.png \\\n ${PKGDIR}/usr/share/icons/hicolor/16x16/apps/${pkgname}.png\n"
5821
+build: "bsdtar -xf Python-${pkgver}.tar.xz\ncd Python-${pkgver}\npatch -Np1 -i ../${pkgname}-${pkgver}-openssl_4-1.patch\nCXX=\"/usr/bin/g++\" \\\n./configure --prefix=/usr \\\n --enable-shared \\\n --with-system-expat \\\n --with-ensurepip=no\nmake\n\nmake DESTDIR=${PKGDIR} install\n\nchmod -v 755 ${PKGDIR}/usr/lib/libpython3.14.so\nchmod -v 755 ${PKGDIR}//usr/lib/libpython3.so\n\nln -s python3 ${PKGDIR}/usr/bin/python\nln -s python3-config ${PKGDIR}/usr/bin/python-config\nln -s idle3 ${PKGDIR}/usr/bin/idle\nln -s pydoc3 ${PKGDIR}/usr/bin/pydoc\nfor i in pep517 tomli\ndo\n\n\tln -s /usr/lib/python3.14/site-packages/pip/_vendor/$i \\\n\t\t${PKGDIR}//usr/lib/python3.14/site-packages/$i\ndone\nln -s python3.14.1 ${PKGDIR}/usr/share/man/man1/python.1\n\n# Install all HTML Docs files with desktop menu integration\n\n install -v -dm755 ${PKGDIR}/usr/share/doc/${pkgname}/html\n cd .\n tar --strip-components=1 \\\n --no-same-owner \\\n --no-same-permissions \\\n -C ${PKGDIR}/usr/share/doc/${pkgname}/html \\\n -xvf ../python-${pkgver}-docs-html.tar.bz2 || true\n\n find ${PKGDIR}/usr/share/doc/${pkgname} -type d -exec chmod 0755 {} \\;\n find ${PKGDIR}/usr/share/doc/${pkgname} -type f -exec chmod 0644 {} \\;\n\n mkdir -p ${PKGDIR}/usr/share/applications\n echo \"[Desktop Entry]\nCategories=Development;Documentation\nExec=xdg-open file:///usr/share/doc/${pkgname}/html/index.html\nIcon=${pkgname}\nStartupNotify=false\nTerminal=false\nType=Application\nName=Python Documentation\nName[fr]=Documentation Python\" > ${PKGDIR}/usr/share/applications/${pkgname}.desktop\n install -Dm644 ../${pkgname}.png \\\n ${PKGDIR}/usr/share/icons/hicolor/16x16/apps/${pkgname}.png\n\n# Sanity: _ssl musi istnieć – inaczej HTTPS w Pythonie nie działa\n# (urllib/requests, pip, a więc i `pag self-update`).\nif ! ls ${PKGDIR}/usr/lib/python3.14/lib-dynload/_ssl*.so >/dev/null 2>&1; then\n echo \"❌ python: brak modułu _ssl – OpenSSL nie wykryty przy budowie\" >&2\n exit 1\nfi\n"
5815
5822
package: |
5816
5823
true