[arch-commits] Commit in python-debugpy/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Wed Sep 8 07:46:41 UTC 2021


    Date: Wednesday, September 8, 2021 @ 07:46:41
  Author: arojas
Revision: 1012553

Fix missing attach library (FS#72070)

Modified:
  python-debugpy/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-08 07:46:20 UTC (rev 1012552)
+++ PKGBUILD	2021-09-08 07:46:41 UTC (rev 1012553)
@@ -4,7 +4,7 @@
 _pipname=debugpy
 pkgname=python-$_pipname
 pkgver=1.4.1
-pkgrel=2
+pkgrel=3
 pkgdesc='An implementation of the Debug Adapter Protocol for Python'
 arch=(x86_64)
 url='https://aka.ms/debugpy'
@@ -23,6 +23,9 @@
 build() {
   cd $_pipname-$pkgver
   python setup.py build
+# Compile attach libraries
+  cd build/lib/debugpy/_vendored/pydevd/pydevd_attach_to_process
+  g++ ${CXXFLAGS} -m64 -shared -o attach_linux_amd64.so -fPIC -nostartfiles linux_and_mac/attach.cpp ${LDFLAGS}
 }
 
 package() {



More information about the arch-commits mailing list