pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-these



Module Name:    pkgsrc
Committed By:   pho
Date:           Fri Apr 23 08:18:25 UTC 2021

Added Files:
        pkgsrc/devel/hs-these: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/devel/hs-these/files: Setup.hs
        pkgsrc/devel/hs-these/patches: patch-these.cabal

Log Message:
Import these-1.1.1.1


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

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-these/DESCR
diff -u /dev/null pkgsrc/devel/hs-these/DESCR:1.1
--- /dev/null   Fri Apr 23 08:18:25 2021
+++ pkgsrc/devel/hs-these/DESCR Fri Apr 23 08:18:25 2021
@@ -0,0 +1,4 @@
+This package provides a data type These a b which can hold a value of
+either type or values of each type. This is usually thought of as an
+"inclusive or" type (contrasting Either a b as "exclusive or") or as
+an "outer join" type (contrasting (a, b) as "inner join").
Index: pkgsrc/devel/hs-these/Makefile
diff -u /dev/null pkgsrc/devel/hs-these/Makefile:1.1
--- /dev/null   Fri Apr 23 08:18:25 2021
+++ pkgsrc/devel/hs-these/Makefile      Fri Apr 23 08:18:25 2021
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2021/04/23 08:18:25 pho Exp $
+
+DISTNAME=      these-1.1.1.1
+CATEGORIES=    devel
+
+MAINTAINER=    pho%cielonegro.org@localhost
+COMMENT=       Either-or-both data type
+LICENSE=       modified-bsd
+
+# Setup.hs is missing from the package.
+post-patch:
+       ${CP} -f ${FILESDIR}/Setup.hs ${WRKSRC}/Setup.hs
+
+.include "../../mk/haskell.mk"
+.include "../../devel/hs-assoc/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-these/PLIST
diff -u /dev/null pkgsrc/devel/hs-these/PLIST:1.1
--- /dev/null   Fri Apr 23 08:18:25 2021
+++ pkgsrc/devel/hs-these/PLIST Fri Apr 23 08:18:25 2021
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1 2021/04/23 08:18:25 pho Exp $
+lib/these-${PKGVERSION}/${HS_VERSION}/package-description
+lib/these-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Functor/These.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Functor/These.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Functor/These.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/These.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/These.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/These.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/These/Combinators.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/These/Combinators.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/These/Combinators.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/these-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/these-${PKGVERSION}/html/Data-Functor-These.html
+share/doc/${HS_PLATFORM}/these-${PKGVERSION}/html/Data-These-Combinators.html
+share/doc/${HS_PLATFORM}/these-${PKGVERSION}/html/Data-These.html
+share/doc/${HS_PLATFORM}/these-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/these-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/these-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/these-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/these-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/these-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/these-${PKGVERSION}/html/synopsis.png
+share/doc/${HS_PLATFORM}/these-${PKGVERSION}/html/these.haddock
Index: pkgsrc/devel/hs-these/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-these/buildlink3.mk:1.1
--- /dev/null   Fri Apr 23 08:18:25 2021
+++ pkgsrc/devel/hs-these/buildlink3.mk Fri Apr 23 08:18:25 2021
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/04/23 08:18:25 pho Exp $
+
+BUILDLINK_TREE+=       hs-these
+
+.if !defined(HS_THESE_BUILDLINK3_MK)
+HS_THESE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-these+=       hs-these>=1.1.1
+BUILDLINK_ABI_DEPENDS.hs-these+=       hs-these>=1.1.1.1
+BUILDLINK_PKGSRCDIR.hs-these?=         ../../devel/hs-these
+
+.include "../../devel/hs-assoc/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.endif # HS_THESE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-these
Index: pkgsrc/devel/hs-these/distinfo
diff -u /dev/null pkgsrc/devel/hs-these/distinfo:1.1
--- /dev/null   Fri Apr 23 08:18:25 2021
+++ pkgsrc/devel/hs-these/distinfo      Fri Apr 23 08:18:25 2021
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/04/23 08:18:25 pho Exp $
+
+SHA1 (these-1.1.1.1.tar.gz) = 2b6006e1dee3084058ee1cfa8e01a9d711c2992e
+RMD160 (these-1.1.1.1.tar.gz) = 0bf6fc2545a0cb451feca9fa23ffb40b25c4461b
+SHA512 (these-1.1.1.1.tar.gz) = 23246164648bf4cb028719e7cb2e5f450ab55558af9e1dc7f0ddec323ca4ce124afbfd3bf367446c2d69ec91abe42daf77e11a26a13f2898275dafbc095637d5
+Size (these-1.1.1.1.tar.gz) = 9804 bytes
+SHA1 (patch-these.cabal) = 26eb01714f3953b2d3d2b11c1635d434c9ecf9de

Index: pkgsrc/devel/hs-these/files/Setup.hs
diff -u /dev/null pkgsrc/devel/hs-these/files/Setup.hs:1.1
--- /dev/null   Fri Apr 23 08:18:25 2021
+++ pkgsrc/devel/hs-these/files/Setup.hs        Fri Apr 23 08:18:25 2021
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain

Index: pkgsrc/devel/hs-these/patches/patch-these.cabal
diff -u /dev/null pkgsrc/devel/hs-these/patches/patch-these.cabal:1.1
--- /dev/null   Fri Apr 23 08:18:25 2021
+++ pkgsrc/devel/hs-these/patches/patch-these.cabal     Fri Apr 23 08:18:25 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-these.cabal,v 1.1 2021/04/23 08:18:25 pho Exp $
+
+Fix build with GHC 9.
+
+--- these.cabal.orig   2001-09-09 01:46:40.000000000 +0000
++++ these.cabal
+@@ -67,7 +67,7 @@ library
+ 
+   -- ghc boot libs
+   build-depends:
+-      base     >=4.5.1.0 && <4.15
++      base     >=4.5.1.0 && <5
+     , binary   >=0.5.1.0 && <0.10
+     , deepseq  >=1.3.0.0 && <1.5
+ 



Home | Main Index | Thread Index | Old Index