pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-gitrev devel/hs-gitrev: import hs-gitrev-1.3.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2cd93eb52fd5
branches:  trunk
changeset: 374155:2cd93eb52fd5
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Feb 16 10:11:34 2022 +0000

description:
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.

diffstat:

 devel/hs-gitrev/DESCR         |   3 +++
 devel/hs-gitrev/Makefile      |  12 ++++++++++++
 devel/hs-gitrev/PLIST         |  19 +++++++++++++++++++
 devel/hs-gitrev/buildlink3.mk |  15 +++++++++++++++
 devel/hs-gitrev/distinfo      |   5 +++++
 5 files changed, 54 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r d198eb5c9251 -r 2cd93eb52fd5 devel/hs-gitrev/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-gitrev/DESCR     Wed Feb 16 10:11:34 2022 +0000
@@ -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.
diff -r d198eb5c9251 -r 2cd93eb52fd5 devel/hs-gitrev/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-gitrev/Makefile  Wed Feb 16 10:11:34 2022 +0000
@@ -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"
diff -r d198eb5c9251 -r 2cd93eb52fd5 devel/hs-gitrev/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-gitrev/PLIST     Wed Feb 16 10:11:34 2022 +0000
@@ -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
diff -r d198eb5c9251 -r 2cd93eb52fd5 devel/hs-gitrev/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-gitrev/buildlink3.mk     Wed Feb 16 10:11:34 2022 +0000
@@ -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
diff -r d198eb5c9251 -r 2cd93eb52fd5 devel/hs-gitrev/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-gitrev/distinfo  Wed Feb 16 10:11:34 2022 +0000
@@ -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