pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-hls-qualify-imported-names-plugin



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Feb 16 10:17:37 UTC 2022

Added Files:
        pkgsrc/devel/hs-hls-qualify-imported-names-plugin: DESCR Makefile PLIST
            buildlink3.mk distinfo

Log Message:
devel/hs-hls-qualify-imported-names-plugin: import hs-hls-qualify-imported-names-plugin-1.0.1.0

You've imported a number of modules, and have written a lot of code with
unqualified names. You want to import a new module but you know there will
be a number name clashes so you want to switch your current usage of names
to be qualified. It would be nice if you could change

  import Blah

to

  import Blah as Bloo

then magically qualify all the previous names imported from Blah with
Bloo. After doing that you could then change

  import Blah as Bloo

to

  import qualified Blah as Bloo

and import your the new module using names from it without worry. Well, now
you can...


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/hs-hls-qualify-imported-names-plugin/DESCR \
    pkgsrc/devel/hs-hls-qualify-imported-names-plugin/Makefile \
    pkgsrc/devel/hs-hls-qualify-imported-names-plugin/PLIST \
    pkgsrc/devel/hs-hls-qualify-imported-names-plugin/buildlink3.mk \
    pkgsrc/devel/hs-hls-qualify-imported-names-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-qualify-imported-names-plugin/DESCR
diff -u /dev/null pkgsrc/devel/hs-hls-qualify-imported-names-plugin/DESCR:1.1
--- /dev/null   Wed Feb 16 10:17:37 2022
+++ pkgsrc/devel/hs-hls-qualify-imported-names-plugin/DESCR     Wed Feb 16 10:17:37 2022
@@ -0,0 +1,22 @@
+You've imported a number of modules, and have written a lot of code with
+unqualified names. You want to import a new module but you know there will
+be a number name clashes so you want to switch your current usage of names
+to be qualified. It would be nice if you could change
+
+  import Blah
+
+to
+
+  import Blah as Bloo
+
+then magically qualify all the previous names imported from Blah with
+Bloo. After doing that you could then change
+
+  import Blah as Bloo
+
+to
+
+  import qualified Blah as Bloo
+
+and import your the new module using names from it without worry. Well, now
+you can...
Index: pkgsrc/devel/hs-hls-qualify-imported-names-plugin/Makefile
diff -u /dev/null pkgsrc/devel/hs-hls-qualify-imported-names-plugin/Makefile:1.1
--- /dev/null   Wed Feb 16 10:17:37 2022
+++ pkgsrc/devel/hs-hls-qualify-imported-names-plugin/Makefile  Wed Feb 16 10:17:37 2022
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 10:17:37 pho Exp $
+
+DISTNAME=      hls-qualify-imported-names-plugin-1.0.1.0
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Haskell Language Server plugin that qualifies imported names
+LICENSE=       apache-2.0
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../devel/hs-dlist/buildlink3.mk"
+.include "../../devel/hs-ghcide/buildlink3.mk"
+.include "../../devel/hs-hls-graph/buildlink3.mk"
+.include "../../devel/hs-hls-plugin-api/buildlink3.mk"
+.include "../../devel/hs-lsp/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-hls-qualify-imported-names-plugin/PLIST
diff -u /dev/null pkgsrc/devel/hs-hls-qualify-imported-names-plugin/PLIST:1.1
--- /dev/null   Wed Feb 16 10:17:37 2022
+++ pkgsrc/devel/hs-hls-qualify-imported-names-plugin/PLIST     Wed Feb 16 10:17:37 2022
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 10:17:37 pho Exp $
+lib/hls-qualify-imported-names-plugin-${PKGVERSION}/${HS_VERSION}/package-description
+lib/hls-qualify-imported-names-plugin-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Ide/Plugin/QualifyImportedNames.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ide/Plugin/QualifyImportedNames.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Ide/Plugin/QualifyImportedNames.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+share/doc/${HS_PLATFORM}/hls-qualify-imported-names-plugin-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/hls-qualify-imported-names-plugin-${PKGVERSION}/html/Ide-Plugin-QualifyImportedNames.html
+share/doc/${HS_PLATFORM}/hls-qualify-imported-names-plugin-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/hls-qualify-imported-names-plugin-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/hls-qualify-imported-names-plugin-${PKGVERSION}/html/hls-qualify-imported-names-plugin.haddock
+share/doc/${HS_PLATFORM}/hls-qualify-imported-names-plugin-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/hls-qualify-imported-names-plugin-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/hls-qualify-imported-names-plugin-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/hls-qualify-imported-names-plugin-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/hls-qualify-imported-names-plugin-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-hls-qualify-imported-names-plugin/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-hls-qualify-imported-names-plugin/buildlink3.mk:1.1
--- /dev/null   Wed Feb 16 10:17:37 2022
+++ pkgsrc/devel/hs-hls-qualify-imported-names-plugin/buildlink3.mk     Wed Feb 16 10:17:37 2022
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 10:17:37 pho Exp $
+
+BUILDLINK_TREE+=       hs-hls-qualify-imported-names-plugin
+
+.if !defined(HS_HLS_QUALIFY_IMPORTED_NAMES_PLUGIN_BUILDLINK3_MK)
+HS_HLS_QUALIFY_IMPORTED_NAMES_PLUGIN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-hls-qualify-imported-names-plugin+=   hs-hls-qualify-imported-names-plugin>=1.0.1
+BUILDLINK_ABI_DEPENDS.hs-hls-qualify-imported-names-plugin+=   hs-hls-qualify-imported-names-plugin>=1.0.1.0
+BUILDLINK_PKGSRCDIR.hs-hls-qualify-imported-names-plugin?=     ../../devel/hs-hls-qualify-imported-names-plugin
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../devel/hs-dlist/buildlink3.mk"
+.include "../../devel/hs-ghcide/buildlink3.mk"
+.include "../../devel/hs-hls-graph/buildlink3.mk"
+.include "../../devel/hs-hls-plugin-api/buildlink3.mk"
+.include "../../devel/hs-lsp/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.endif # HS_HLS_QUALIFY_IMPORTED_NAMES_PLUGIN_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-hls-qualify-imported-names-plugin
Index: pkgsrc/devel/hs-hls-qualify-imported-names-plugin/distinfo
diff -u /dev/null pkgsrc/devel/hs-hls-qualify-imported-names-plugin/distinfo:1.1
--- /dev/null   Wed Feb 16 10:17:37 2022
+++ pkgsrc/devel/hs-hls-qualify-imported-names-plugin/distinfo  Wed Feb 16 10:17:37 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 10:17:37 pho Exp $
+
+BLAKE2s (hls-qualify-imported-names-plugin-1.0.1.0.tar.gz) = 3f604a35a91abc472cf731c4ffcb1ff88c27b05b6cc7810df5c63bad93c277f5
+SHA512 (hls-qualify-imported-names-plugin-1.0.1.0.tar.gz) = 9d2f52495f277574b4ffb4c47283654b1752769c8b50e69125e5a94f39fb525fe64f8d201ee30a870579b1fc5af92a0abe01c96dc023c41bee004fa060d12b55
+Size (hls-qualify-imported-names-plugin-1.0.1.0.tar.gz) = 263730 bytes



Home | Main Index | Thread Index | Old Index