[arch-commits] Commit in python-debugpy/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Wed Sep 8 07:47:31 UTC 2021


    Date: Wednesday, September 8, 2021 @ 07:47:31
  Author: arojas
Revision: 1012554

archrelease: copy trunk to community-x86_64

Added:
  python-debugpy/repos/community-x86_64/PKGBUILD
    (from rev 1012553, python-debugpy/trunk/PKGBUILD)
Deleted:
  python-debugpy/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   69 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 36 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-08 07:46:41 UTC (rev 1012553)
+++ PKGBUILD	2021-09-08 07:47:31 UTC (rev 1012554)
@@ -1,33 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: mark.blakeney at bullet-systems dot net
-
-_pipname=debugpy
-pkgname=python-$_pipname
-pkgver=1.4.1
-pkgrel=2
-pkgdesc='An implementation of the Debug Adapter Protocol for Python'
-arch=(x86_64)
-url='https://aka.ms/debugpy'
-license=(EPL MIT)
-depends=(python)
-makedepends=(python-setuptools)
-source=(https://pypi.io/packages/source/d/$_pipname/$_pipname-$pkgver.zip)
-sha256sums=('889316de0b8ff3732927cb058cfbd3371e4cd0002ecc170d34c755ad289c867c')
-
-prepare() {
-  cd $_pipname-$pkgver
-# remove precompiled libs
-  rm src/debugpy/_vendored/pydevd/pydevd_attach_to_process/*.{so,dll,dylib,exe,pdb}
-}
-
-build() {
-  cd $_pipname-$pkgver
-  python setup.py build
-}
-
-package() {
-  cd $_pipname-$pkgver
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-debugpy/repos/community-x86_64/PKGBUILD (from rev 1012553, python-debugpy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-08 07:47:31 UTC (rev 1012554)
@@ -0,0 +1,36 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: mark.blakeney at bullet-systems dot net
+
+_pipname=debugpy
+pkgname=python-$_pipname
+pkgver=1.4.1
+pkgrel=3
+pkgdesc='An implementation of the Debug Adapter Protocol for Python'
+arch=(x86_64)
+url='https://aka.ms/debugpy'
+license=(EPL MIT)
+depends=(python)
+makedepends=(python-setuptools)
+source=(https://pypi.io/packages/source/d/$_pipname/$_pipname-$pkgver.zip)
+sha256sums=('889316de0b8ff3732927cb058cfbd3371e4cd0002ecc170d34c755ad289c867c')
+
+prepare() {
+  cd $_pipname-$pkgver
+# remove precompiled libs
+  rm src/debugpy/_vendored/pydevd/pydevd_attach_to_process/*.{so,dll,dylib,exe,pdb}
+}
+
+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() {
+  cd $_pipname-$pkgver
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list