Re: git: daf426a93323 - 2023Q2 - editors/sly-asdf: Update to the latest version (0.2.0 + 1 one commit)

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Fri, 02 Jun 2023 07:31:16 UTC
Hello Robert,

Other nice way to do it is:

clone program
git describe --tags 6f9d751
v0.2.0-1-g6f9d751
port:
DISTVERSION=    0.2.0-1
DISTVERSIONSUFFIX=      -g6f9d751

https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github
Example 18. Using USE_GITHUB to Access a Commit Between Two Versions

Cheers,

Robert Clausecker <fuz@freebsd.org> escreveu no dia terça, 30/05/2023 à(s)
00:34:

> The branch 2023Q2 has been updated by fuz:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=daf426a933230f57eabda11909068c9bdb72d882
>
> commit daf426a933230f57eabda11909068c9bdb72d882
> Author:     Olivier Certner <olce.freebsd@certner.fr>
> AuthorDate: 2023-05-26 12:46:51 +0000
> Commit:     Robert Clausecker <fuz@FreeBSD.org>
> CommitDate: 2023-05-29 23:33:36 +0000
>
>     editors/sly-asdf: Update to the latest version (0.2.0 + 1 one commit)
>
>     As the port seems to be using explicit versioning, switch to a
> "version-date"
>     scheme and bump PORTEPOCH.
>
>     Changes: A fix for query-replace across a system, a possible ECL fix,
> fix
>     jumping to source for errors.
>
>     Changelog:
> https://github.com/mmgeorge/sly-asdf/compare/bcaeba9b...6f9d7514
>
>     PR:             271654
>
>     (cherry picked from commit 2bc331659d6921f8ac6ebad1429b02d987021494)
> ---
>  editors/sly-asdf/Makefile                |  6 +++---
>  editors/sly-asdf/distinfo                |  6 +++---
>  editors/sly-asdf/files/patch-README.md   | 16 ----------------
>  editors/sly-asdf/files/patch-sly-asdf.el |  4 ++--
>  editors/sly-asdf/pkg-message             |  8 ++++----
>  5 files changed, 12 insertions(+), 28 deletions(-)
>
> diff --git a/editors/sly-asdf/Makefile b/editors/sly-asdf/Makefile
> index 2e4eaa6b8330..d38712e19a9b 100644
> --- a/editors/sly-asdf/Makefile
> +++ b/editors/sly-asdf/Makefile
> @@ -1,6 +1,6 @@
>  PORTNAME=      sly-asdf
> -PORTVERSION=   20210308
> -PORTREVISION=  6
> +DISTVERSION=   0.2.0-20221119
> +PORTEPOCH=     1
>  CATEGORIES=    editors elisp
>  PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
>
> @@ -17,7 +17,7 @@ RUN_DEPENDS=  ${MY_DEPENDS}
>  USES=          emacs
>  USE_GITHUB=    yes
>  GH_ACCOUNT=    mmgeorge
> -GH_TAGNAME=    bcaeba9b73b582ae1c4fadc23c71ee7e38d9a64e
> +GH_TAGNAME=    6f9d751469bb82530db1673c22e7437ca6c95f45
>
>  NO_ARCH=       yes
>
> diff --git a/editors/sly-asdf/distinfo b/editors/sly-asdf/distinfo
> index bc8b2a7fb57d..9110e7c92e0e 100644
> --- a/editors/sly-asdf/distinfo
> +++ b/editors/sly-asdf/distinfo
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1615760525
> -SHA256
> (mmgeorge-sly-asdf-20210308-bcaeba9b73b582ae1c4fadc23c71ee7e38d9a64e_GH0.tar.gz)
> = c23141f2c9a0dfff9a6452c7753f2c3d236ef0b36c5b1c967f61b898a3ab4ed7
> -SIZE
> (mmgeorge-sly-asdf-20210308-bcaeba9b73b582ae1c4fadc23c71ee7e38d9a64e_GH0.tar.gz)
> = 42843
> +TIMESTAMP = 1685099209
> +SHA256
> (mmgeorge-sly-asdf-0.2.0-20221119-6f9d751469bb82530db1673c22e7437ca6c95f45_GH0.tar.gz)
> = 4f21b946892296de9b26022e2d7765f01215f983f89d0f4adf8418c34d1b4d6b
> +SIZE
> (mmgeorge-sly-asdf-0.2.0-20221119-6f9d751469bb82530db1673c22e7437ca6c95f45_GH0.tar.gz)
> = 42754
> diff --git a/editors/sly-asdf/files/patch-README.md
> b/editors/sly-asdf/files/patch-README.md
> deleted file mode 100644
> index 35af6b7ef00e..000000000000
> --- a/editors/sly-asdf/files/patch-README.md
> +++ /dev/null
> @@ -1,16 +0,0 @@
> ---- README.md.orig     2021-03-08 03:32:35 UTC
> -+++ README.md
> -@@ -16,9 +16,8 @@ Installing manually will require the contrib be regist
> - ```
> - (add-to-list 'sly-contribs 'sly-asdf 'append)
> - ```
> -+
> - ## Experimental
> --SLY-ASDF currently supports a very experimental system-aware checker
> that builds on flymake. This loads the system in a separate process and
> highlights any compilation/load errors for currently opened buffers. Only
> tested with SBCL. Enable this with
> --```
> --(setq sly-asdf-enable-experimental-syntax-checking t)
> --(require 'sly-asdf-flymake)
> --```
> -+Upstream currently supports a very experimental system-aware checker that
> -+builds on flymake. It is not available in this port (please use some ELPA
> -+package instead).
> diff --git a/editors/sly-asdf/files/patch-sly-asdf.el
> b/editors/sly-asdf/files/patch-sly-asdf.el
> index 4340586fd101..0ec1c31c4111 100644
> --- a/editors/sly-asdf/files/patch-sly-asdf.el
> +++ b/editors/sly-asdf/files/patch-sly-asdf.el
> @@ -1,6 +1,6 @@
> ---- sly-asdf.el.orig   2021-03-08 03:32:35 UTC
> +--- sly-asdf.el.orig   2023-05-26 11:13:10 UTC
>  +++ sly-asdf.el
> -@@ -354,10 +354,5 @@ in the directory of the current buffer."
> +@@ -355,10 +355,5 @@ in the directory of the current buffer."
>
>
>
> diff --git a/editors/sly-asdf/pkg-message b/editors/sly-asdf/pkg-message
> index ddf7840442ea..caf487b6c42f 100644
> --- a/editors/sly-asdf/pkg-message
> +++ b/editors/sly-asdf/pkg-message
> @@ -2,7 +2,7 @@
>  { type: install
>    message: <<EOM
>  To use the sly-asdf contrib, you must:
> -1. Register sly-asdf into SLY. You just have to add this line to some init
> +1. Register sly-asdf into SLY.  You just have to add this line to some
> init
>     file:
>  (require 'sly-asdf)
>     Doing this is not strictly necessary if you want to automatically
> activate
> @@ -11,9 +11,9 @@ To use the sly-asdf contrib, you must:
>     upstream does.
>  2. Ensure that ASDF is loaded by your Common Lisp implementation.
>
> -If you want sly-asdf to be automatically activated on each new SLY
> -session, put it in the `sly-contribs' list. E.g., you can add something
> like
> -this in some Emacs' init file:
> +If you want sly-asdf to be automatically activated on each new SLY
> session, put
> +it in the `sly-contribs' list.  E.g., you can add something like this in
> some
> +Emacs' init file:
>  (setq sly-contribs '(sly-fancy sly-asdf))
>  or customize the variable.
>
>

-- 
Nuno Teixeira
FreeBSD Committer (ports)