Package Details: python-dbg 3.7.0-3

Git Clone URL: https://aur.archlinux.org/python-dbg.git (read-only, click to copy)
Package Base: python-dbg
Description: Python 3 debug symbols.
Upstream URL: http://www.python.org/
Licenses: custom
Provides: python
Submitter: daskol
Maintainer: daskol (ei-grad)
Last Packager: daskol
Votes: 2
Popularity: 0.145474
First Submitted: 2018-07-13 15:29
Last Updated: 2018-08-31 19:51

Required by (1000)

Sources (2)

Latest Comments

user202729 commented on 2020-02-14 04:39

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

I couldn't compile it