From fe24022507d81a09096ab1a33c602db557b3eb65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=A5=D1=80?= =?UTF-8?q?=D0=B0=D0=BC=D0=BE=D0=B2?= Date: Mon, 4 Nov 2024 11:04:50 +0300 Subject: [PATCH] update --- python3-pygments/alr.sh | 64 ----------------------------------------- 1 file changed, 64 deletions(-) delete mode 100644 python3-pygments/alr.sh diff --git a/python3-pygments/alr.sh b/python3-pygments/alr.sh deleted file mode 100644 index 4a7df04..0000000 --- a/python3-pygments/alr.sh +++ /dev/null @@ -1,64 +0,0 @@ -name='python3-pygments' -version='2.18.0' -release='1' -desc='Python syntax highlighter' -homepage='https://pygments.org/' -maintainer="Евгений Храмов " -architectures=('all') -license=('BSD-2-Clause') -provides=('pygmentize') -conflicts=('pygmentize') - -deps=( - 'python' -) - -build_deps=( - 'python3-setuptools' - 'python3-sphinx' - 'python3-wcag-contrast-ratio' - 'python3-build' - 'python3-installer' - 'python3-wheel' - 'python3-hatchling' - 'python3-pytest' - 'python3-lxml' -) -build_deps_almalinux=( - 'python3-setuptools' - 'python3-sphinx' - 'python3-wcag-contrast-ratio' - 'python3-build' - 'python3-installer' - 'python3-setuptools-wheel' - 'python3-hatchling' - 'python3-pytest' - 'python3-lxml' -) - -sources=("https://pypi.org/packages/source/p/pygments/pygments-$version.tar.gz") -checksums=('SKIP') - -build() { - cd pygments-$version - python -m build --wheel --no-isolation - make -C doc html -} - -check() { - cd pygments-$version - PYTHONDONTWRITEBYTECODE=1 pytest -} - -package() { - cd pygments-$version - - python -m installer --destdir="$pkgdir" dist/*.whl - install-license LICENSE ./python3-pygments/LICENSE - - mkdir -p "$pkgdir/usr/share/doc" - cp -rT doc/_build/html "$pkgdir/usr/share/doc/$name" - install -Dm644 doc/pygmentize.1 -t "$pkgdir/usr/share/man/man1" - install -Dm644 external/pygments.bashcomp \ - "$pkgdir/usr/share/bash-completion/completions/pygmentize" -}