Date: Monday, October 18, 2021 @ 21:17:17 Author: arojas Revision: 1030911
archrelease: copy trunk to community-x86_64 Added: python-debugpy/repos/community-x86_64/PKGBUILD (from rev 1030910, python-debugpy/trunk/PKGBUILD) Deleted: python-debugpy/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-10-18 21:17:08 UTC (rev 1030910) +++ PKGBUILD 2021-10-18 21:17:17 UTC (rev 1030911) @@ -1,36 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: mark.blakeney at bullet-systems dot net - -_pipname=debugpy -pkgname=python-$_pipname -pkgver=1.5.0 -pkgrel=1 -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://github.com/microsoft/debugpy/archive/v$pkgver/$pkgname-$pkgver.tar.gz) -sha256sums=('13b85f3d498f270ea0ea421ee7ca55319cdc5f4cf49d00ede58990a152c2576b') - -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 -} Copied: python-debugpy/repos/community-x86_64/PKGBUILD (from rev 1030910, python-debugpy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-10-18 21:17:17 UTC (rev 1030911) @@ -0,0 +1,36 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: mark.blakeney at bullet-systems dot net + +_pipname=debugpy +pkgname=python-$_pipname +pkgver=1.5.1 +pkgrel=1 +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://github.com/microsoft/debugpy/archive/v$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('86c8a957269a49fe5955f47233609b896ac48033e4f5e94c5b5a908f7230cf19') + +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 +}