Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2024 13:48:24 GMT
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c58b3de838c9 - main - www/gitlab: fix regression from 40691dbd41e40322ae815af89216b2f459784cb6
Message-ID:  <202411221348.4AMDmO2h028259@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c58b3de838c9ab534a53e3ecfbae0ba5c123eab4

commit c58b3de838c9ab534a53e3ecfbae0ba5c123eab4
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2024-11-22 13:30:21 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2024-11-22 13:43:10 +0000

    www/gitlab: fix regression from 40691dbd41e40322ae815af89216b2f459784cb6
    
    Gitlab requires kramdown version 2.4.x
---
 devel/rubygem-danger/Makefile                      |  4 ++--
 textproc/Makefile                                  |  2 ++
 textproc/rubygem-kramdown-gitlab/Makefile          | 24 ++++++++++++++++++++++
 textproc/rubygem-kramdown-gitlab/distinfo          |  3 +++
 textproc/rubygem-kramdown-gitlab/pkg-descr         |  2 ++
 .../rubygem-kramdown-parser-gfm-gitlab/Makefile    | 20 ++++++++++++++++++
 .../rubygem-kramdown-parser-gfm-gitlab/distinfo    |  3 +++
 .../rubygem-kramdown-parser-gfm-gitlab/pkg-descr   |  2 ++
 www/gitlab/Makefile                                |  2 +-
 9 files changed, 59 insertions(+), 3 deletions(-)

diff --git a/devel/rubygem-danger/Makefile b/devel/rubygem-danger/Makefile
index 46a09b5145f3..33c68db066c5 100644
--- a/devel/rubygem-danger/Makefile
+++ b/devel/rubygem-danger/Makefile
@@ -18,8 +18,8 @@ RUN_DEPENDS=	rubygem-claide>=1.0<2:devel/rubygem-claide \
 		rubygem-faraday-gitlab>=0.9.0<3.0:www/rubygem-faraday-gitlab \
 		rubygem-faraday-http-cache>=2.0.0<3:www/rubygem-faraday-http-cache \
 		rubygem-git>=1.13<2:devel/rubygem-git \
-		rubygem-kramdown>=2.3<3:textproc/rubygem-kramdown \
-		rubygem-kramdown-parser-gfm>=1.0<2:textproc/rubygem-kramdown-parser-gfm \
+		rubygem-kramdown-gitlab>=2.3<3:textproc/rubygem-kramdown-gitlab \
+		rubygem-kramdown-parser-gfm-gitlab>=1.0<2:textproc/rubygem-kramdown-parser-gfm-gitlab \
 		rubygem-octokit-gitlab>=4:net/rubygem-octokit-gitlab \
 		rubygem-terminal-table>=1<4:textproc/rubygem-terminal-table
 
diff --git a/textproc/Makefile b/textproc/Makefile
index 14e76e48d625..be54e1a7e319 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1879,7 +1879,9 @@
     SUBDIR += rubygem-js_regex
     SUBDIR += rubygem-jsmin
     SUBDIR += rubygem-kramdown
+    SUBDIR += rubygem-kramdown-gitlab
     SUBDIR += rubygem-kramdown-parser-gfm
+    SUBDIR += rubygem-kramdown-parser-gfm-gitlab
     SUBDIR += rubygem-kramdown1
     SUBDIR += rubygem-kramdown23
     SUBDIR += rubygem-kwalify
diff --git a/textproc/rubygem-kramdown-gitlab/Makefile b/textproc/rubygem-kramdown-gitlab/Makefile
new file mode 100644
index 000000000000..9a15100f7518
--- /dev/null
+++ b/textproc/rubygem-kramdown-gitlab/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	kramdown
+PORTVERSION=	2.4.0
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-gitlab
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	Yet-another-markdown-parser but fast, pure Ruby
+WWW=		https://kramdown.gettalong.org/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+RUN_DEPENDS=	rubygem-rexml>=0:textproc/rubygem-rexml
+
+USES=		cpe gem
+
+CPE_VENDOR=	kramdown_project
+
+NO_ARCH=	yes
+
+PLIST_FILES=	bin/kramdown
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-kramdown-gitlab/distinfo b/textproc/rubygem-kramdown-gitlab/distinfo
new file mode 100644
index 000000000000..6e91e0689970
--- /dev/null
+++ b/textproc/rubygem-kramdown-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1732282069
+SHA256 (rubygem/kramdown-2.4.0.gem) = b62e5bcbd6ea20c7a6730ebbb2a107237856e14f29cebf5b10c876cc1a2481c5
+SIZE (rubygem/kramdown-2.4.0.gem) = 122368
diff --git a/textproc/rubygem-kramdown-gitlab/pkg-descr b/textproc/rubygem-kramdown-gitlab/pkg-descr
new file mode 100644
index 000000000000..1b3a962c4ec0
--- /dev/null
+++ b/textproc/rubygem-kramdown-gitlab/pkg-descr
@@ -0,0 +1,2 @@
+kramdown is yet-another-markdown-parser but fast, pure Ruby, using a strict
+syntax definition and supporting several common extensions.
diff --git a/textproc/rubygem-kramdown-parser-gfm-gitlab/Makefile b/textproc/rubygem-kramdown-parser-gfm-gitlab/Makefile
new file mode 100644
index 000000000000..ad80a40a348b
--- /dev/null
+++ b/textproc/rubygem-kramdown-parser-gfm-gitlab/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	kramdown-parser-gfm
+PORTVERSION=	1.1.0
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-gitlab
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	Kramdown parser for the GFM dialect of Markdown
+WWW=		https://github.com/kramdown/parser-gfm
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+RUN_DEPENDS=	rubygem-kramdown-gitlab>=2.0<3:textproc/rubygem-kramdown-gitlab
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-kramdown-parser-gfm-gitlab/distinfo b/textproc/rubygem-kramdown-parser-gfm-gitlab/distinfo
new file mode 100644
index 000000000000..41dcbef3ee66
--- /dev/null
+++ b/textproc/rubygem-kramdown-parser-gfm-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1567842450
+SHA256 (rubygem/kramdown-parser-gfm-1.1.0.gem) = fb39745516427d2988543bf01fc4cf0ab1149476382393e0e9c48592f6581729
+SIZE (rubygem/kramdown-parser-gfm-1.1.0.gem) = 11776
diff --git a/textproc/rubygem-kramdown-parser-gfm-gitlab/pkg-descr b/textproc/rubygem-kramdown-parser-gfm-gitlab/pkg-descr
new file mode 100644
index 000000000000..84a7675156d9
--- /dev/null
+++ b/textproc/rubygem-kramdown-parser-gfm-gitlab/pkg-descr
@@ -0,0 +1,2 @@
+This is a parser for kramdown that converts Markdown documents in the GFM
+dialect to HTML.
diff --git a/www/gitlab/Makefile b/www/gitlab/Makefile
index 57d79ef27f6f..265e52f54f05 100644
--- a/www/gitlab/Makefile
+++ b/www/gitlab/Makefile
@@ -145,7 +145,7 @@ MY_DEPENDS=	git>=2.41.0:devel/git \
 	rubygem-deckar01-task_list>=2.3.4<2.4:www/rubygem-deckar01-task_list \
 	rubygem-gitlab-markup>=1.9.0<1.10.0:textproc/rubygem-gitlab-markup \
 	rubygem-commonmarker0>=0.23.10<0.24:textproc/rubygem-commonmarker0 \
-	rubygem-kramdown>=2.4.0<2.5:textproc/rubygem-kramdown \
+	rubygem-kramdown-gitlab>=2.4.0<2.5:textproc/rubygem-kramdown-gitlab \
 	rubygem-redcloth>=4.3.3<4.4.0:www/rubygem-redcloth \
 	rubygem-org-ruby>=0.9.12<0.10.0:textproc/rubygem-org-ruby \
 	rubygem-creole>=0.5.0<0.6.0:textproc/rubygem-creole \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411221348.4AMDmO2h028259>