From d9a1d37c20ae41541cc4ae74ce5bceebdb3e3420 Mon Sep 17 00:00:00 2001 From: ngn Date: Mon, 19 Aug 2024 15:12:26 +0300 Subject: [PATCH] fix: pygments version downgrade --- src/pypi-hatchling/pkg.sh | 2 +- src/pypi-pluggy/pkg.sh | 2 +- src/pypi-pygments/changes.md | 4 ++-- src/pypi-pygments/pkg.sh | 16 ++++++++-------- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/pypi-hatchling/pkg.sh b/src/pypi-hatchling/pkg.sh index a7830fa..21b20e2 100644 --- a/src/pypi-hatchling/pkg.sh +++ b/src/pypi-hatchling/pkg.sh @@ -15,7 +15,7 @@ PACKAGE() { cd "hatchling-${VERSION}" python3 -m build --wheel --skip-dependency-check --no-isolation - PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl + python3 -m installer --destdir="${ROOTDIR}" dist/*.whl cd .. && rm -r "hatchling-${VERSION}" } diff --git a/src/pypi-pluggy/pkg.sh b/src/pypi-pluggy/pkg.sh index 94abe26..2926596 100644 --- a/src/pypi-pluggy/pkg.sh +++ b/src/pypi-pluggy/pkg.sh @@ -12,7 +12,7 @@ PACKAGE() { cd "pluggy-${VERSION}" python3 -m build --wheel --skip-dependency-check --no-isolation - PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl + python3 -m installer --destdir="${ROOTDIR}" dist/*.whl cd .. && rm -r "pluggy-${VERSION}" } diff --git a/src/pypi-pygments/changes.md b/src/pypi-pygments/changes.md index 495a92b..00f01e7 100644 --- a/src/pypi-pygments/changes.md +++ b/src/pypi-pygments/changes.md @@ -1,5 +1,5 @@ -# 2.18.0 -Update to new upstream release +# 2.17.2 +Update to a newer upstream release # 2.16.1 First version diff --git a/src/pypi-pygments/pkg.sh b/src/pypi-pygments/pkg.sh index e146f61..63858ad 100644 --- a/src/pypi-pygments/pkg.sh +++ b/src/pypi-pygments/pkg.sh @@ -1,19 +1,19 @@ NAME="pypi-pygments" DESC="General syntax highlighter written in Python, for more than 300 languages" -VERSION="2.18.0" +VERSION="2.17.2" -FILES=("https://pypi.org/packages/source/p/pygments/pygments-${VERSION}.tar.gz") -HASHES=("786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199") +FILES=("https://files.pythonhosted.org/packages/source/P/Pygments/pygments-${VERSION}.tar.gz") +HASHES=("7c059773b0f4808f9402eb0650de6bd4") DEPENDS=("python3") -BUILD=("sphinx") +BUILD=() PACKAGE() { - tar xf "Pygments-${VERSION}.tar.gz" - cd "Pygments-${VERSION}" + tar xf "pygments-${VERSION}.tar.gz" + cd "pygments-${VERSION}" - python3 -m build --wheel --no-isolation + python3 -m build --wheel --skip-dependency-check --no-isolation python3 -m installer --destdir="${ROOTDIR}" dist/*.whl - cd .. && rm -r "Pygments-${VERSION}" + cd .. && rm -r "pygments-${VERSION}" }