pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/hs-jira-wiki-markup



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Jan 16 15:02:50 UTC 2020

Added Files:
        pkgsrc/textproc/hs-jira-wiki-markup: DESCR Makefile buildlink3.mk
            distinfo
        pkgsrc/textproc/hs-jira-wiki-markup/files: Setup.hs
        pkgsrc/textproc/hs-jira-wiki-markup/patches:
            patch-jira-wiki-markup.cabal

Log Message:
Import jira-wiki-markup-1.0.0

Parse jira wiki text into an abstract syntax tree for easy
transformation to other formats.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/hs-jira-wiki-markup/DESCR \
    pkgsrc/textproc/hs-jira-wiki-markup/Makefile \
    pkgsrc/textproc/hs-jira-wiki-markup/buildlink3.mk \
    pkgsrc/textproc/hs-jira-wiki-markup/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/hs-jira-wiki-markup/files/Setup.hs
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/hs-jira-wiki-markup/patches/patch-jira-wiki-markup.cabal

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

Added files:

Index: pkgsrc/textproc/hs-jira-wiki-markup/DESCR
diff -u /dev/null pkgsrc/textproc/hs-jira-wiki-markup/DESCR:1.1
--- /dev/null   Thu Jan 16 15:02:50 2020
+++ pkgsrc/textproc/hs-jira-wiki-markup/DESCR   Thu Jan 16 15:02:50 2020
@@ -0,0 +1,2 @@
+Parse jira wiki text into an abstract syntax tree for easy
+transformation to other formats.
Index: pkgsrc/textproc/hs-jira-wiki-markup/Makefile
diff -u /dev/null pkgsrc/textproc/hs-jira-wiki-markup/Makefile:1.1
--- /dev/null   Thu Jan 16 15:02:50 2020
+++ pkgsrc/textproc/hs-jira-wiki-markup/Makefile        Thu Jan 16 15:02:50 2020
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2020/01/16 15:02:50 pho Exp $
+
+DISTNAME=      jira-wiki-markup-1.0.0
+CATEGORIES=    textproc
+
+MAINTAINER=    pho%cielonegro.org@localhost
+COMMENT=       Handle Jira wiki markup
+LICENSE=       mit
+
+post-patch:
+       ${RUN}${CP} -f ${FILESDIR}/Setup.hs ${WRKSRC}/
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/hs-jira-wiki-markup/buildlink3.mk
diff -u /dev/null pkgsrc/textproc/hs-jira-wiki-markup/buildlink3.mk:1.1
--- /dev/null   Thu Jan 16 15:02:50 2020
+++ pkgsrc/textproc/hs-jira-wiki-markup/buildlink3.mk   Thu Jan 16 15:02:50 2020
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/16 15:02:50 pho Exp $
+
+BUILDLINK_TREE+=       hs-jira-wiki-markup
+
+.if !defined(HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK)
+HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-jira-wiki-markup+=    hs-jira-wiki-markup>=1.0.0
+BUILDLINK_ABI_DEPENDS.hs-jira-wiki-markup+=    hs-jira-wiki-markup>=1.0.0
+BUILDLINK_PKGSRCDIR.hs-jira-wiki-markup?=      ../../textproc/hs-jira-wiki-markup
+.endif # HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-jira-wiki-markup
Index: pkgsrc/textproc/hs-jira-wiki-markup/distinfo
diff -u /dev/null pkgsrc/textproc/hs-jira-wiki-markup/distinfo:1.1
--- /dev/null   Thu Jan 16 15:02:50 2020
+++ pkgsrc/textproc/hs-jira-wiki-markup/distinfo        Thu Jan 16 15:02:50 2020
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/01/16 15:02:50 pho Exp $
+
+SHA1 (jira-wiki-markup-1.0.0.tar.gz) = 19b3c5167068fc246ea859049ada5e53a75fb218
+RMD160 (jira-wiki-markup-1.0.0.tar.gz) = b63323772e72c60ae071c767b2b399890df519ac
+SHA512 (jira-wiki-markup-1.0.0.tar.gz) = 74df439b64939ebad80ecdc2888829d78a8ae030a855de8e50a8b0076e036c79e5a96eb07a943fc211645c8a89bf508c170b2af0c923ca8f53f4b5cd401a7549
+Size (jira-wiki-markup-1.0.0.tar.gz) = 18697 bytes
+SHA1 (patch-jira-wiki-markup.cabal) = 49620ff15fe210880e5941d878b9e58f1bb33a27

Index: pkgsrc/textproc/hs-jira-wiki-markup/files/Setup.hs
diff -u /dev/null pkgsrc/textproc/hs-jira-wiki-markup/files/Setup.hs:1.1
--- /dev/null   Thu Jan 16 15:02:50 2020
+++ pkgsrc/textproc/hs-jira-wiki-markup/files/Setup.hs  Thu Jan 16 15:02:50 2020
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain

Index: pkgsrc/textproc/hs-jira-wiki-markup/patches/patch-jira-wiki-markup.cabal
diff -u /dev/null pkgsrc/textproc/hs-jira-wiki-markup/patches/patch-jira-wiki-markup.cabal:1.1
--- /dev/null   Thu Jan 16 15:02:50 2020
+++ pkgsrc/textproc/hs-jira-wiki-markup/patches/patch-jira-wiki-markup.cabal    Thu Jan 16 15:02:50 2020
@@ -0,0 +1,22 @@
+$NetBSD: patch-jira-wiki-markup.cabal,v 1.1 2020/01/16 15:02:50 pho Exp $
+
+Don't build the executable "jira-wiki-markup". This package defines
+both a library and an executable, and the executable depends on the
+library. In this setup, either Cabal or GHC mistakenly embeds rpath to
+the ${WRKDIR}, not the final installation path of the library.
+
+The corresponding ticket has been closed without an actual fix, and
+its authors have suggested using --enable-relocatable, even though the
+option is supported only on Linux and MacOS X:
+https://github.com/haskell/cabal/issues/1568
+
+--- jira-wiki-markup.cabal.orig        2020-01-16 14:38:48.485995170 +0000
++++ jira-wiki-markup.cabal
+@@ -52,6 +52,7 @@ library
+   default-extensions:  OverloadedStrings
+ 
+ executable jira-wiki-markup
++  buildable:           False
+   hs-source-dirs:      app
+   main-is:             Main.hs
+ 



Home | Main Index | Thread Index | Old Index