[arch-commits] Commit in python-debugpy (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Thu Aug 12 09:38:40 UTC 2021


    Date: Thursday, August 12, 2021 @ 09:38:40
  Author: arojas
Revision: 997516

archrelease: copy trunk to community-x86_64

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

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

Copied: python-debugpy/repos/community-x86_64/PKGBUILD (from rev 997515, python-debugpy/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2021-08-12 09:38:40 UTC (rev 997516)
@@ -0,0 +1,33 @@
+# 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
+}



More information about the arch-commits mailing list