pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(editors/dash-el) New package, Modern list api for Emacs. No cl require



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara (CF-SX3) <makoto%ki.nu@localhost>
Pushed By:	mef
Date:		Fri Dec 27 23:09:29 2019 +0900
Changeset:	1186b1bc051acdc4a0e324396a920c6b35fe4525

Added Files:
	dash-el/DESCR
	dash-el/Makefile
	dash-el/PLIST
	dash-el/distinfo
	dash-el/patches/patch-pre-commit.sh
	dash-el/patches/patch-run-tests.sh

Log Message:
(editors/dash-el) New package, Modern list api for Emacs. No cl require

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1186b1bc051acdc4a0e324396a920c6b35fe4525

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 dash-el/DESCR                       |  1 +
 dash-el/Makefile                    | 20 ++++++++++++++++++++
 dash-el/PLIST                       |  2 ++
 dash-el/distinfo                    |  8 ++++++++
 dash-el/patches/patch-pre-commit.sh | 15 +++++++++++++++
 dash-el/patches/patch-run-tests.sh  | 15 +++++++++++++++
 6 files changed, 61 insertions(+)

diffs:
diff --git a/dash-el/DESCR b/dash-el/DESCR
new file mode 100644
index 0000000000..0b9ccb3259
--- /dev/null
+++ b/dash-el/DESCR
@@ -0,0 +1 @@
+A modern list api for Emacs. No 'cl required.
diff --git a/dash-el/Makefile b/dash-el/Makefile
new file mode 100644
index 0000000000..8cdd469f40
--- /dev/null
+++ b/dash-el/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	dash.el-2.16.0
+CATEGORIES=	editors
+MASTER_SITES=	${MASTER_SITE_GITHUB:=magnars/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/magnars/dash.el/releases/tag/ # TODO: check
+COMMENT=	Modern list api for Emacs. No 'cl required
+LICENSE=	gnu-gpl-v3
+
+NO_BUILD=	yes
+
+INSTALLATION_DIRS=	${PREFIX}/share/emacs/site-lisp
+
+do-install:
+	${INSTALL} ${WRKSRC}/dash.el ${DESTDIR}${PREFIX}/share/emacs/site-lisp/
+
+.include "../../editors/emacs/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/dash-el/PLIST b/dash-el/PLIST
new file mode 100644
index 0000000000..2798a21080
--- /dev/null
+++ b/dash-el/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+${EMACS_LISPPREFIX}/dash.el
diff --git a/dash-el/distinfo b/dash-el/distinfo
new file mode 100644
index 0000000000..2f03a7830d
--- /dev/null
+++ b/dash-el/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+SHA1 (dash.el-2.16.0.tar.gz) = d83d24f6558961d73963f7d071c5d34252137209
+RMD160 (dash.el-2.16.0.tar.gz) = 6ad6765796d962c2fae07d68f053f46800d411e4
+SHA512 (dash.el-2.16.0.tar.gz) = a0196327c8e81d1b343bb56de00a3c2f59b1d3f86dc4e923cf350658590fa106aa0be933aa0f51ff3c02d9aff8450c5e055d169ae8fb876be068bf15a52af216
+Size (dash.el-2.16.0.tar.gz) = 148151 bytes
+SHA1 (patch-pre-commit.sh) = 747d63ab915b89e14633a66c965e21f87d3d792c
+SHA1 (patch-run-tests.sh) = 42b81d8337c957ba9a0d83397e98254177cbca82
diff --git a/dash-el/patches/patch-pre-commit.sh b/dash-el/patches/patch-pre-commit.sh
new file mode 100644
index 0000000000..154222d09f
--- /dev/null
+++ b/dash-el/patches/patch-pre-commit.sh
@@ -0,0 +1,15 @@
+$NetBSD$
+
+CHECK_PORTABILITY
+
+--- pre-commit.sh.orig	2019-04-25 03:04:40.000000000 +0900
++++ pre-commit.sh	2019-12-27 22:00:39.398628357 +0900
+@@ -3,7 +3,7 @@
+ git stash -q --keep-index
+ ./run-tests.sh
+ RESULT=$?
+-[ $RESULT == 0 ] && ./create-docs.sh && git add ./README.md
++[ $RESULT = 0 ] && ./create-docs.sh && git add ./README.md
+ git stash pop -q
+ [ $RESULT -ne 0 ] && exit 1
+ exit 0
diff --git a/dash-el/patches/patch-run-tests.sh b/dash-el/patches/patch-run-tests.sh
new file mode 100644
index 0000000000..c04ea74d6e
--- /dev/null
+++ b/dash-el/patches/patch-run-tests.sh
@@ -0,0 +1,15 @@
+$NetBSD$
+
+CHECK_PORTABILITY
+
+--- run-tests.sh.orig	2019-12-27 21:57:12.854280102 +0900
++++ run-tests.sh	2019-12-27 21:55:18.150666839 +0900
+@@ -25,7 +25,7 @@ $EMACS -batch \
+ 
+ VERSION=`$EMACS -version | head -1 | cut -d" " -f3`
+ 
+-if [[ $VERSION == "24.1.1" ]] || [[ $VERSION == "24.2.1" ]] ; then
++if [[ $VERSION = "24.1.1" ]] || [[ $VERSION = "24.2.1" ]] ; then
+     echo Skipping byte compile check for early Emacs version
+ else
+     $EMACS -Q --batch \


Home | Main Index | Thread Index | Old Index