diff options
author | Erich Eckner <git@eckner.net> | 2024-06-22 15:58:27 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2024-06-22 15:58:27 +0200 |
commit | 84ff859c3bc8ef5f68cb32b7d65ac79bd053df63 (patch) | |
tree | fcf2a67ad37b10b48e1297a4bcb76ac65130e2c4 | |
parent | 2c5f8bedf29b5691d5f30c239ca3c1a98e9e36fa (diff) | |
download | archlinuxewe-84ff859c3bc8ef5f68cb32b7d65ac79bd053df63.tar.xz |
python-pyinstrument: removed, unneeded
-rw-r--r-- | python-pyinstrument/PKGBUILD | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/python-pyinstrument/PKGBUILD b/python-pyinstrument/PKGBUILD deleted file mode 100644 index f419cbbec..000000000 --- a/python-pyinstrument/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Luis Martinez <luis dot martinez at disroot dot org> -# Contributor: Kaizhao Zhang <zhangkaizhao@gmail.com> - -pkgname=python-pyinstrument -_pkg="${pkgname#python-}" -pkgver=4.1.1 -pkgrel=7 -pkgdesc="Call stack profiler for Python" -arch=('x86_64') -url="https://github.com/joerick/pyinstrument" -license=('BSD') -_pinned_dependencies=( - 'glibc>=2.36' -) -depends=('python>=3.12' 'python<3.13' "${_pinned_dependencies[@]}") -makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') -# checkdepends=( -# 'python-pytest' -# 'python-pytest-asyncio' -# 'python-flaky' -# 'python-trio' -# 'python-django' -# 'python-sphinx' -# 'python-myst-parser' -# 'python-greenlet') -source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkg::1}/$_pkg/$_pkg-$pkgver.tar.gz") -sha256sums=('1dc2791d2cd2fd3459cb55010004a5cc2a9a8b4625a0cbea45a4b1aebbe2c3a2') - -build() { - cd "$_pkg-$pkgver" - python -m build --wheel --no-isolation -} - -# check() { -# cd "$_pkg-$pkgver" -# local _ver="$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')" -# PYTHONPATH="$PWD/build/lib.linux-$CARCH-$_ver" pytest -x -# } - -package() { - cd "$_pkg-$pkgver" - PYTHONHASHSEED=0 python -m installer --destdir="$pkgdir/" dist/*.whl - install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" - local _site="$(python -c 'import site; print(site.getsitepackages()[0])')" - install -d "$pkgdir/usr/share/licenses/$pkgname/" - ln -s "$_site/$_pkg-$pkgver.dist-info/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/" -} |