pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-gitrev



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Feb 16 10:11:34 UTC 2022

Added Files:
        pkgsrc/devel/hs-gitrev: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
devel/hs-gitrev: import hs-gitrev-1.3.1

Some handy Template Haskell splices for including the current git hash and
branch in the code of your project. Useful for including in panic messages,
--version output, or diagnostic info for more informative bug reports.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-gitrev/DESCR \
    pkgsrc/devel/hs-gitrev/Makefile pkgsrc/devel/hs-gitrev/PLIST \
    pkgsrc/devel/hs-gitrev/buildlink3.mk pkgsrc/devel/hs-gitrev/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-gitrev/DESCR
diff -u /dev/null pkgsrc/devel/hs-gitrev/DESCR:1.1
--- /dev/null   Wed Feb 16 10:11:34 2022
+++ pkgsrc/devel/hs-gitrev/DESCR        Wed Feb 16 10:11:34 2022
@@ -0,0 +1,3 @@
+Some handy Template Haskell splices for including the current git hash and
+branch in the code of your project. Useful for including in panic messages,
+--version output, or diagnostic info for more informative bug reports.
Index: pkgsrc/devel/hs-gitrev/Makefile
diff -u /dev/null pkgsrc/devel/hs-gitrev/Makefile:1.1
--- /dev/null   Wed Feb 16 10:11:34 2022
+++ pkgsrc/devel/hs-gitrev/Makefile     Wed Feb 16 10:11:34 2022
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 10:11:34 pho Exp $
+
+DISTNAME=      gitrev-1.3.1
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Compile git revision info into Haskell projects
+LICENSE=       modified-bsd
+
+.include "../../devel/hs-base-compat/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-gitrev/PLIST
diff -u /dev/null pkgsrc/devel/hs-gitrev/PLIST:1.1
--- /dev/null   Wed Feb 16 10:11:34 2022
+++ pkgsrc/devel/hs-gitrev/PLIST        Wed Feb 16 10:11:34 2022
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 10:11:34 pho Exp $
+lib/gitrev-${PKGVERSION}/${HS_VERSION}/package-description
+lib/gitrev-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Development/GitRev.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Development/GitRev.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Development/GitRev.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}/gitrev-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/gitrev-${PKGVERSION}/html/Development-GitRev.html
+share/doc/${HS_PLATFORM}/gitrev-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/gitrev-${PKGVERSION}/html/gitrev.haddock
+share/doc/${HS_PLATFORM}/gitrev-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/gitrev-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/gitrev-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/gitrev-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/gitrev-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/gitrev-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-gitrev/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-gitrev/buildlink3.mk:1.1
--- /dev/null   Wed Feb 16 10:11:34 2022
+++ pkgsrc/devel/hs-gitrev/buildlink3.mk        Wed Feb 16 10:11:34 2022
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 10:11:34 pho Exp $
+
+BUILDLINK_TREE+=       hs-gitrev
+
+.if !defined(HS_GITREV_BUILDLINK3_MK)
+HS_GITREV_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-gitrev+=      hs-gitrev>=1.3.1
+BUILDLINK_ABI_DEPENDS.hs-gitrev+=      hs-gitrev>=1.3.1
+BUILDLINK_PKGSRCDIR.hs-gitrev?=                ../../devel/hs-gitrev
+
+.include "../../devel/hs-base-compat/buildlink3.mk"
+.endif # HS_GITREV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-gitrev
Index: pkgsrc/devel/hs-gitrev/distinfo
diff -u /dev/null pkgsrc/devel/hs-gitrev/distinfo:1.1
--- /dev/null   Wed Feb 16 10:11:34 2022
+++ pkgsrc/devel/hs-gitrev/distinfo     Wed Feb 16 10:11:34 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 10:11:34 pho Exp $
+
+BLAKE2s (gitrev-1.3.1.tar.gz) = 13a6e1b93c035b90e92252b247925b2b56648c99fcc037080632fdaa1253747f
+SHA512 (gitrev-1.3.1.tar.gz) = 8639e356490fba3461f8d7030326a6913846427255524213a73ee2ac5abf708f75efed99a0d9d574a73a2db88833814d1b634e6a5ec93c4bc03052435e0ea4cd
+Size (gitrev-1.3.1.tar.gz) = 3756 bytes



Home | Main Index | Thread Index | Old Index