pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-hls-change-type-signature-plugin



Module Name:    pkgsrc
Committed By:   pho
Date:           Tue Jan 31 17:22:07 UTC 2023

Added Files:
        pkgsrc/devel/hs-hls-change-type-signature-plugin: DESCR Makefile PLIST
            buildlink3.mk distinfo

Log Message:
devel/hs-hls-change-type-signature-plugin: import hs-hls-change-type-signature-plugin-1.1.0.0

The change type signature plugin provides a code action to change a user's
current type signature to it's actual type signature. The plugin does not
work in all error scenarios. Currently, the plugin uses GHC diagnostic
messages to recover the actual type of a function. If the plugin receives
enough information it can correctly change the signature.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-hls-change-type-signature-plugin/DESCR \
    pkgsrc/devel/hs-hls-change-type-signature-plugin/Makefile \
    pkgsrc/devel/hs-hls-change-type-signature-plugin/PLIST \
    pkgsrc/devel/hs-hls-change-type-signature-plugin/buildlink3.mk \
    pkgsrc/devel/hs-hls-change-type-signature-plugin/distinfo

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

Added files:

Index: pkgsrc/devel/hs-hls-change-type-signature-plugin/DESCR
diff -u /dev/null pkgsrc/devel/hs-hls-change-type-signature-plugin/DESCR:1.1
--- /dev/null   Tue Jan 31 17:22:07 2023
+++ pkgsrc/devel/hs-hls-change-type-signature-plugin/DESCR      Tue Jan 31 17:22:07 2023
@@ -0,0 +1,5 @@
+The change type signature plugin provides a code action to change a user's
+current type signature to it's actual type signature. The plugin does not
+work in all error scenarios. Currently, the plugin uses GHC diagnostic
+messages to recover the actual type of a function. If the plugin receives
+enough information it can correctly change the signature.
Index: pkgsrc/devel/hs-hls-change-type-signature-plugin/Makefile
diff -u /dev/null pkgsrc/devel/hs-hls-change-type-signature-plugin/Makefile:1.1
--- /dev/null   Tue Jan 31 17:22:07 2023
+++ pkgsrc/devel/hs-hls-change-type-signature-plugin/Makefile   Tue Jan 31 17:22:07 2023
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2023/01/31 17:22:07 pho Exp $
+
+DISTNAME=      hls-change-type-signature-plugin-1.1.0.0
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Change a declarations type signature with a Code Action
+LICENSE=       apache-2.0
+
+.include "../../devel/hs-ghcide/buildlink3.mk"
+.include "../../devel/hs-hls-plugin-api/buildlink3.mk"
+.include "../../devel/hs-lsp-types/buildlink3.mk"
+.include "../../textproc/hs-regex-tdfa/buildlink3.mk"
+.include "../../devel/hs-syb/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-hls-change-type-signature-plugin/PLIST
diff -u /dev/null pkgsrc/devel/hs-hls-change-type-signature-plugin/PLIST:1.1
--- /dev/null   Tue Jan 31 17:22:07 2023
+++ pkgsrc/devel/hs-hls-change-type-signature-plugin/PLIST      Tue Jan 31 17:22:07 2023
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2023/01/31 17:22:07 pho Exp $
+lib/hls-change-type-signature-plugin-${PKGVERSION}/${HS_VERSION}/package-description
+lib/hls-change-type-signature-plugin-${PKGVERSION}/${HS_VERSION}/package-id
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Ide/Plugin/ChangeTypeSignature.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ide/Plugin/ChangeTypeSignature.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Ide/Plugin/ChangeTypeSignature.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-change-type-signature-plugin-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-change-type-signature-plugin-${PKGVERSION}/html/Ide-Plugin-ChangeTypeSignature.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-change-type-signature-plugin-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-change-type-signature-plugin-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-change-type-signature-plugin-${PKGVERSION}/html/hls-change-type-signature-plugin.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-change-type-signature-plugin-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-change-type-signature-plugin-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-change-type-signature-plugin-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-change-type-signature-plugin-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/hls-change-type-signature-plugin-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-hls-change-type-signature-plugin/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-hls-change-type-signature-plugin/buildlink3.mk:1.1
--- /dev/null   Tue Jan 31 17:22:07 2023
+++ pkgsrc/devel/hs-hls-change-type-signature-plugin/buildlink3.mk      Tue Jan 31 17:22:07 2023
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/01/31 17:22:07 pho Exp $
+
+BUILDLINK_TREE+=       hs-hls-change-type-signature-plugin
+
+.if !defined(HS_HLS_CHANGE_TYPE_SIGNATURE_PLUGIN_BUILDLINK3_MK)
+HS_HLS_CHANGE_TYPE_SIGNATURE_PLUGIN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-hls-change-type-signature-plugin+=    hs-hls-change-type-signature-plugin>=1.1.0
+BUILDLINK_ABI_DEPENDS.hs-hls-change-type-signature-plugin+=    hs-hls-change-type-signature-plugin>=1.1.0.0
+BUILDLINK_PKGSRCDIR.hs-hls-change-type-signature-plugin?=      ../../devel/hs-hls-change-type-signature-plugin
+
+.include "../../devel/hs-ghcide/buildlink3.mk"
+.include "../../devel/hs-hls-plugin-api/buildlink3.mk"
+.include "../../devel/hs-lsp-types/buildlink3.mk"
+.include "../../textproc/hs-regex-tdfa/buildlink3.mk"
+.include "../../devel/hs-syb/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.endif # HS_HLS_CHANGE_TYPE_SIGNATURE_PLUGIN_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-hls-change-type-signature-plugin
Index: pkgsrc/devel/hs-hls-change-type-signature-plugin/distinfo
diff -u /dev/null pkgsrc/devel/hs-hls-change-type-signature-plugin/distinfo:1.1
--- /dev/null   Tue Jan 31 17:22:07 2023
+++ pkgsrc/devel/hs-hls-change-type-signature-plugin/distinfo   Tue Jan 31 17:22:07 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/01/31 17:22:07 pho Exp $
+
+BLAKE2s (hls-change-type-signature-plugin-1.1.0.0.tar.gz) = 07b8307121f834b502677544d0465a6a45efcf25aa7b745e77f11cdbff7b5630
+SHA512 (hls-change-type-signature-plugin-1.1.0.0.tar.gz) = 80a3dbedc32d8c17d95a2543847e45c99a3e2c030b91cf18e46e76135285466e38fea4601b68d4dba088b4f22ff0b1f53b68f0e85b0354666425eaa77c78133e
+Size (hls-change-type-signature-plugin-1.1.0.0.tar.gz) = 10875 bytes



Home | Main Index | Thread Index | Old Index