Github messages for voidlinux
 help / color / mirror / Atom feed
From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] zola: update to 0.17.0
Date: Thu, 16 Feb 2023 23:20:28 +0100	[thread overview]
Message-ID: <20230216222028.GLcq7ugtZKZhvnkXNp0qSJO8vc-i98bplrt6ZqMjI4w@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42320@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1256 bytes --]

There is an updated pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages zola
https://github.com/void-linux/void-packages/pull/42320

zola: update to 0.17.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/42320.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zola-42320.patch --]
[-- Type: text/x-diff, Size: 1987 bytes --]

From b7a8337b96af3c9d79456dfd851c55dcf364b927 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Thu, 16 Feb 2023 22:39:37 +0100
Subject: [PATCH] zola: update to 0.17.0

---
 srcpkgs/zola/template | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/zola/template b/srcpkgs/zola/template
index a8196b8170da..2f470cb564dc 100644
--- a/srcpkgs/zola/template
+++ b/srcpkgs/zola/template
@@ -1,35 +1,36 @@
 # Template file for 'zola'
 pkgname=zola
-version=0.16.1
-revision=2
+version=0.17.0
+revision=1
 build_style=cargo
+build_helper=qemu
 hostmakedepends="pkg-config"
-makedepends="libsass-devel oniguruma-devel"
-short_desc="Fast opinionated static site generator written in rust"
+makedepends="oniguruma-devel"
+short_desc="Fast opinionated static site generator"
 maintainer="Carson Page <pagem.carson@gmail.com>"
 license="MIT"
 homepage="https://github.com/getzola/zola"
 changelog="https://raw.githubusercontent.com/getzola/zola/master/CHANGELOG.md"
-distfiles="https://github.com/getzola/zola/archive/v${version}.tar.gz"
-checksum=c153fd0cc1435930a4871165e6ad4865e3528465f3f41d0671a9837121688ac7
+distfiles="https://github.com/getzola/zola/archive/refs/tags/v${version}.tar.gz"
+checksum=a7254554e61f2c737bc3981a6278e0fbac5dc685e5d90c014fc60eced99bf55c
 
 case "$XBPS_TARGET_MACHINE" in
 	x86_64*|i686*|arm*|aarch64*) ;;
 	*) broken="ftbfs in ring" ;;
 esac
 
-pre_build() {
-	export PKG_CONFIG_ALL_DYNAMIC=1
-	export RUSTONIG_SYSTEM_LIBONIG=1
-}
+export PKG_CONFIG_ALL_DYNAMIC=1
+export RUSTONIG_SYSTEM_LIBONIG=1
 
 post_install() {
+	for shell in bash fish zsh; do
+		vtargetrun ${DESTDIR}/usr/bin/zola completion ${shell} > zola.${shell}
+		vcompletion zola.${shell} ${shell}
+	done
+
 	vlicense LICENSE
 
 	ln -s zola ${DESTDIR}/usr/bin/gutenberg
-	vcompletion completions/_zola zsh
-	vcompletion completions/zola.bash bash
-	vcompletion completions/zola.fish fish
 }
 
 gutenberg_package() {

  parent reply	other threads:[~2023-02-16 22:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-16 21:45 [PR PATCH] " tranzystorek-io
2023-02-16 21:46 ` [PR REVIEW] " classabbyamp
2023-02-16 21:49 ` [PR PATCH] [Updated] " tranzystorek-io
2023-02-16 21:49 ` [PR REVIEW] " classabbyamp
2023-02-16 22:20 ` tranzystorek-io [this message]
2023-02-16 22:47 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230216222028.GLcq7ugtZKZhvnkXNp0qSJO8vc-i98bplrt6ZqMjI4w@z \
    --to=tranzystorek-io@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).