Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] hugo: enable `extended` option by default
@ 2021-04-25 22:08 FollieHiyuki
  2021-04-25 23:14 ` [PR PATCH] [Merged]: " ericonr
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: FollieHiyuki @ 2021-04-25 22:08 UTC (permalink / raw)
  To: ml

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

There is a new pull request by FollieHiyuki against master on the void-packages repository

https://github.com/FollieHiyuki/void-packages hugo-update
https://github.com/void-linux/void-packages/pull/30502

hugo: enable `extended` option by default
Sass support is nice to have even though most people might not
use it.
Also fix to use the right `Pygments` package name and
remove `git` in hostmakedepends.

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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/30502.patch is attached

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

From 3fceb4a36c98d43536f1621fae30a42800e72776 Mon Sep 17 00:00:00 2001
From: FollieHiyuki <folliekazetani@protonmail.com>
Date: Mon, 26 Apr 2021 01:04:18 +0300
Subject: [PATCH] hugo: enable `extended` option by default

Sass support is nice to have even though most people might not
use it. Also fix to use the right `Pygments` package name and
remove `git` in hostmakedepends.
---
 srcpkgs/hugo/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/hugo/template b/srcpkgs/hugo/template
index ee37134f2681..1a241f234e9b 100644
--- a/srcpkgs/hugo/template
+++ b/srcpkgs/hugo/template
@@ -1,12 +1,11 @@
 # Template file for 'hugo'
 pkgname=hugo
 version=0.82.1
-revision=1
+revision=2
 build_style=go
 go_import_path="github.com/gohugoio/hugo"
 go_build_tags="$(vopt_if extended extended)"
-hostmakedepends="git"
-depends="$(vopt_if pygments python-Pygments)"
+depends="$(vopt_if pygments python3-Pygments)"
 short_desc="Fast & Modern Static Website Engine"
 maintainer="Andrea Brancaleoni <abc@pompel.me>"
 license="Apache-2.0"
@@ -15,6 +14,7 @@ distfiles="https://github.com/gohugoio/hugo/archive/v${version}.tar.gz"
 checksum=3190ae848fdb1a04339c233faab5934c422d85cf85ea3b0c0b5a842239c84e75
 
 build_options="pygments extended"
+build_options_default="extended"
 desc_option_pygments="Alternative syntax highlighter"
 desc_option_extended="SASS/SCSS build support for Hugo"
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Merged]: hugo: enable `extended` option by default
  2021-04-25 22:08 [PR PATCH] hugo: enable `extended` option by default FollieHiyuki
@ 2021-04-25 23:14 ` ericonr
  2021-04-26  6:43 ` Piraty
  2021-04-26  7:56 ` FollieHiyuki
  2 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2021-04-25 23:14 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

hugo: enable `extended` option by default
https://github.com/void-linux/void-packages/pull/30502

Description:
Sass support is nice to have even though most people might not
use it.
Also fix to use the right `Pygments` package name and
remove `git` in hostmakedepends.

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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
-->


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: hugo: enable `extended` option by default
  2021-04-25 22:08 [PR PATCH] hugo: enable `extended` option by default FollieHiyuki
  2021-04-25 23:14 ` [PR PATCH] [Merged]: " ericonr
@ 2021-04-26  6:43 ` Piraty
  2021-04-26  7:56 ` FollieHiyuki
  2 siblings, 0 replies; 4+ messages in thread
From: Piraty @ 2021-04-26  6:43 UTC (permalink / raw)
  To: ml

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

New comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/30502#issuecomment-826551908

Comment:
the build option could have been removed completely as hugo is not the kind of package that people will rebuild to save on space or dependencies

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: hugo: enable `extended` option by default
  2021-04-25 22:08 [PR PATCH] hugo: enable `extended` option by default FollieHiyuki
  2021-04-25 23:14 ` [PR PATCH] [Merged]: " ericonr
  2021-04-26  6:43 ` Piraty
@ 2021-04-26  7:56 ` FollieHiyuki
  2 siblings, 0 replies; 4+ messages in thread
From: FollieHiyuki @ 2021-04-26  7:56 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/30502#issuecomment-826601442

Comment:
That sounds reasonable. I'll make a PR on it

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-26  7:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-25 22:08 [PR PATCH] hugo: enable `extended` option by default FollieHiyuki
2021-04-25 23:14 ` [PR PATCH] [Merged]: " ericonr
2021-04-26  6:43 ` Piraty
2021-04-26  7:56 ` FollieHiyuki

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).