Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] cheat: update to 3.2.2
@ 2020-01-09 20:26 voidlinux-github
  2020-01-10  8:20 ` [PR PATCH] [Updated] " voidlinux-github
  2020-01-10 18:19 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 2 replies; 3+ messages in thread
From: voidlinux-github @ 2020-01-09 20:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mustaqimM/void-packages update_cheat
https://github.com/void-linux/void-packages/pull/18146

cheat: update to 3.2.2
This package has been rewritten in go.
The manpage is no longer provided.
Cheatsheets are now in a separate repo.
The `conf` file is generated via command.

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

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

From ce8afc6ea08b52a5147ad4091ceb9c1da3678516 Mon Sep 17 00:00:00 2001
From: mustaqim <mustaqim@pm.me>
Date: Thu, 9 Jan 2020 22:19:26 +0200
Subject: [PATCH] cheat: update to 3.2.2

---
 srcpkgs/cheat/INSTALL.msg | 10 ++++++++++
 srcpkgs/cheat/template    | 25 ++++++++++---------------
 2 files changed, 20 insertions(+), 15 deletions(-)
 create mode 100644 srcpkgs/cheat/INSTALL.msg

diff --git a/srcpkgs/cheat/INSTALL.msg b/srcpkgs/cheat/INSTALL.msg
new file mode 100644
index 00000000000..7f5186505c0
--- /dev/null
+++ b/srcpkgs/cheat/INSTALL.msg
@@ -0,0 +1,10 @@
+cheatsheets aren't provided and should be set at a suitable location:
+
+Create the config file:
+mkdir -p ~/.config/cheat && cheat --init > ~/.config/cheat/conf.yml
+
+Clone the cheatsheets repo:
+git clone https://github.com/cheat/cheatsheets ~/.config/cheat/cheatsheets
+
+Configure the cheatsheets path in conf.yaml:
+path: ~/.config/cheat/cheatsheets
diff --git a/srcpkgs/cheat/template b/srcpkgs/cheat/template
index f1e419c3c5a..32a87030ad7 100644
--- a/srcpkgs/cheat/template
+++ b/srcpkgs/cheat/template
@@ -1,26 +1,21 @@
 # Template file for 'cheat'
 pkgname=cheat
-version=2.5.1
-revision=2
-build_style=python3-module
-pycompile_module="cheat"
-conf_files="/etc/cheat"
-hostmakedepends="python3"
-depends="python3-docopt python3-termcolor python3-Pygments"
+version=3.2.2
+revision=1
+build_style=go
+wrksrc="${pkgname}-${version}"
+go_import_path="github.com/cheat/cheat/cmd/cheat"
 short_desc="Create and view interactive cheatsheets on the command-line"
 maintainer="bra1nwave <brainwave@openmailbox.org>"
-license="GPL-3.0-or-later, MIT"
+license="MIT"
 homepage="https://github.com/cheat/cheat"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=9ae44cfc79478a7ba604871f3253e176f2bf3e1a4e698c9466e58a39d279effd
+checksum=9a756b249ae9a9ea7beb2149a57a6556b145075e97c4c90b52ea6492334a5c7e
 
 post_install() {
-	vinstall cheat/autocompletion/cheat.bash 644 \
+	vinstall scripts/cheat-autocompletion.bash 644 \
 		usr/share/bash-completion/completions cheat
-	vinstall cheat/autocompletion/cheat.zsh 644 \
-		usr/share/zsh/site-functions _cheat
-	vinstall cheat/autocompletion/cheat.fish 644 \
+	vinstall scripts/cheat-autocompletion.fish 644 \
 		usr/share/fish/completions
-	vman man1/cheat.1.gz
-	vlicense licenses/mit.txt LICENSE
+	vlicense LICENSE.txt
 }

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

* Re: [PR PATCH] [Updated] cheat: update to 3.2.2
  2020-01-09 20:26 [PR PATCH] cheat: update to 3.2.2 voidlinux-github
@ 2020-01-10  8:20 ` voidlinux-github
  2020-01-10 18:19 ` [PR PATCH] [Merged]: " voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2020-01-10  8:20 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mustaqimM/void-packages update_cheat
https://github.com/void-linux/void-packages/pull/18146

cheat: update to 3.2.2
This package has been rewritten in go.
The manpage is no longer provided.
Cheatsheets are now in a separate repo.
The `conf` file is generated via command.

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

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

From 37c44432032c9cef166a51aa5e490d38beab1923 Mon Sep 17 00:00:00 2001
From: mustaqim <mustaqim@pm.me>
Date: Thu, 9 Jan 2020 22:19:26 +0200
Subject: [PATCH] cheat: update to 3.2.2

---
 srcpkgs/cheat/template | 24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)

diff --git a/srcpkgs/cheat/template b/srcpkgs/cheat/template
index f1e419c3c5a..b9cacf51e14 100644
--- a/srcpkgs/cheat/template
+++ b/srcpkgs/cheat/template
@@ -1,26 +1,20 @@
 # Template file for 'cheat'
 pkgname=cheat
-version=2.5.1
-revision=2
-build_style=python3-module
-pycompile_module="cheat"
-conf_files="/etc/cheat"
-hostmakedepends="python3"
-depends="python3-docopt python3-termcolor python3-Pygments"
+version=3.2.2
+revision=1
+build_style=go
+go_import_path="github.com/cheat/cheat/cmd/cheat"
 short_desc="Create and view interactive cheatsheets on the command-line"
 maintainer="bra1nwave <brainwave@openmailbox.org>"
-license="GPL-3.0-or-later, MIT"
+license="MIT"
 homepage="https://github.com/cheat/cheat"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=9ae44cfc79478a7ba604871f3253e176f2bf3e1a4e698c9466e58a39d279effd
+checksum=9a756b249ae9a9ea7beb2149a57a6556b145075e97c4c90b52ea6492334a5c7e
 
 post_install() {
-	vinstall cheat/autocompletion/cheat.bash 644 \
+	vinstall scripts/cheat-autocompletion.bash 644 \
 		usr/share/bash-completion/completions cheat
-	vinstall cheat/autocompletion/cheat.zsh 644 \
-		usr/share/zsh/site-functions _cheat
-	vinstall cheat/autocompletion/cheat.fish 644 \
+	vinstall scripts/cheat-autocompletion.fish 644 \
 		usr/share/fish/completions
-	vman man1/cheat.1.gz
-	vlicense licenses/mit.txt LICENSE
+	vlicense LICENSE.txt
 }

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

* Re: [PR PATCH] [Merged]: cheat: update to 3.2.2
  2020-01-09 20:26 [PR PATCH] cheat: update to 3.2.2 voidlinux-github
  2020-01-10  8:20 ` [PR PATCH] [Updated] " voidlinux-github
@ 2020-01-10 18:19 ` voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2020-01-10 18:19 UTC (permalink / raw)
  To: ml

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

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

cheat: update to 3.2.2
https://github.com/void-linux/void-packages/pull/18146

Description:
This package has been rewritten in go.
The manpage is no longer provided.
Cheatsheets are now in a separate repo.
The `conf` file is generated via command.

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

end of thread, other threads:[~2020-01-10 18:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09 20:26 [PR PATCH] cheat: update to 3.2.2 voidlinux-github
2020-01-10  8:20 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-10 18:19 ` [PR PATCH] [Merged]: " voidlinux-github

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