From 4db90089727a6287b443554b98c214636702209b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 21 Oct 2021 08:31:05 +0700 Subject: [PATCH 1/3] changed_templates: use $GIT_CMD instead of git everywhere --- common/travis/changed_templates.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/travis/changed_templates.sh b/common/travis/changed_templates.sh index 8c5d8a880a685a..686436ce4327f1 100755 --- a/common/travis/changed_templates.sh +++ b/common/travis/changed_templates.sh @@ -8,13 +8,13 @@ elif command -v git >/dev/null 2>&1; then GIT_CMD=$(command -v git) fi -tip="$(git rev-list -1 --parents HEAD)" +tip="$($GIT_CMD rev-list -1 --parents HEAD)" case "$tip" in *" "*" "*) tip="${tip##* }" ;; *) tip="${tip%% *}" ;; esac -base="$(git merge-base FETCH_HEAD "$tip")" || { +base="$($GIT_CMD merge-base FETCH_HEAD "$tip")" || { echo "Your branches is based on too old copy." echo "Please rebase to newest copy." exit 1 From f9347796696c090696ff7edfbc45e9f3a46244fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 21 Oct 2021 08:39:00 +0700 Subject: [PATCH 2/3] github/workflow: don't install git --- .github/workflows/build.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 08445b74217779..8ecd4d0e658ae3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -57,8 +57,6 @@ jobs: xbps-install -Syu || xbps-install -yu xbps # Upgrade again (in case there was a xbps update) xbps-install -yu - # Install git - xbps-install -y git - uses: actions/checkout@v1 with: @@ -71,8 +69,6 @@ jobs: common/travis/fetch_upstream.sh && common/travis/fetch-xtools.sh - run: common/travis/changed_templates.sh - - name: Remove git after checkout to not interfere with build - run: xbps-remove -yR git - name: Build and check packages run: | From a7911e11d03c2e510e4750c77f504250fb5325b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 21 Oct 2021 08:40:06 +0700 Subject: [PATCH 3/3] python3-pypandoc: update to 1.6.4. --- srcpkgs/python3-pypandoc/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-pypandoc/template b/srcpkgs/python3-pypandoc/template index 1b172c843f917e..1a4f16673cfa56 100644 --- a/srcpkgs/python3-pypandoc/template +++ b/srcpkgs/python3-pypandoc/template @@ -1,18 +1,18 @@ # Template file for 'python3-pypandoc' pkgname=python3-pypandoc -version=1.6.3 -revision=2 +version=1.6.4 +revision=1 wrksrc=pypandoc-$version build_style=python3-module hostmakedepends="python3-setuptools" depends="pandoc python3" checkdepends="pandoc texlive" short_desc="Python thin wrapper for pandoc" -maintainer="Đoàn Trần Công Danh " +maintainer="Orphaned " license="MIT" homepage="https://github.com/bebraw/pypandoc" distfiles="$PYPI_SITE/p/pypandoc/pypandoc-$version.tar.gz" -checksum=95a331f5ef74adb9557e9961d784c30ba73bd0d62e7736bb5d9ce74888b9f438 +checksum=6ea03c8e92d561b0b47ff91ee9a777c50a8d3a325f3272ea4fefef4bb6562b91 post_install() { vlicense LICENSE