Package Details: python-dbg 3.11.8-1

Git Clone URL: https://aur.archlinux.org/python-dbg.git (read-only, click to copy)
Package Base: python-dbg
Description: Python 3 interpreter (debug).
Upstream URL: http://www.python.org/
Keywords: debug-symbols python
Licenses: custom
Submitter: daskol
Maintainer: kevr (ei-grad)
Last Packager: kevr
Votes: 4
Popularity: 0.048282
First Submitted: 2018-07-13 15:29 (UTC)
Last Updated: 2024-03-21 23:51 (UTC)

Latest Comments

« First ‹ Previous 1 2

user202729 commented on 2020-02-14 04:39 (UTC)

I can compile this for Python 3.8 with the following modifications:

diff --git a/PKGBUILD b/PKGBUILD
index 0148f21..560523f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Daniel Bershatsky <bepshatsky@yandex.ru>

 pkgname=python-dbg
-pkgver=3.7.0
+pkgver=3.8.0
 pkgrel=1
 epoch=0
 pkgdesc="Python 3 debug symbols."
@@ -20,14 +20,14 @@ options=(!debug !strip)

 source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"
         dont-make-libpython-readonly.patch)
-md5sums=('eb8c2a6b1447d50813c02714af4681f3'
+md5sums=('SKIP'
          '60c9f7d02384f22834df06de5eb9c46a')

 prepare() {
     cd Python-${pkgver}

     # FS#45809
-    patch -p1 -i ../dont-make-libpython-readonly.patch
+    #patch -p1 -i ../dont-make-libpython-readonly.patch # fixed in 3.8

     # FS#23997
     sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py
@@ -56,8 +56,8 @@ build() {
                 --with-system-ffi \
                 --with-system-libmpdec \
                 --with-threads \
-                --with-valgrind \
                 --without-ensurepip
+                #--with-valgrind \


     # Obtain next free server number for xvfb-run; this even works in a chroot environment.

Regarding the removal of --with-valgrind: it's also possible to install valgrind instead.

servimo commented on 2019-12-28 12:41 (UTC)

I couldn't compile it