pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/hs-assoc
Module Name: pkgsrc
Committed By: pho
Date: Fri Apr 23 08:07:25 UTC 2021
Added Files:
pkgsrc/devel/hs-assoc: DESCR Makefile PLIST buildlink3.mk distinfo
pkgsrc/devel/hs-assoc/files: Setup.hs
pkgsrc/devel/hs-assoc/patches: patch-assoc.cabal
Log Message:
Import assoc-1.0.2
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-assoc/DESCR \
pkgsrc/devel/hs-assoc/Makefile pkgsrc/devel/hs-assoc/PLIST \
pkgsrc/devel/hs-assoc/buildlink3.mk pkgsrc/devel/hs-assoc/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-assoc/files/Setup.hs
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-assoc/patches/patch-assoc.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-assoc/DESCR
diff -u /dev/null pkgsrc/devel/hs-assoc/DESCR:1.1
--- /dev/null Fri Apr 23 08:07:25 2021
+++ pkgsrc/devel/hs-assoc/DESCR Fri Apr 23 08:07:25 2021
@@ -0,0 +1,3 @@
+Provides generalisations of swap :: (a,b) -> (b,a) and assoc ::
+((a,b),c) -> (a,(b,c)) to Bifunctors supporting similar operations
+(e.g. Either, These).
Index: pkgsrc/devel/hs-assoc/Makefile
diff -u /dev/null pkgsrc/devel/hs-assoc/Makefile:1.1
--- /dev/null Fri Apr 23 08:07:25 2021
+++ pkgsrc/devel/hs-assoc/Makefile Fri Apr 23 08:07:25 2021
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2021/04/23 08:07:25 pho Exp $
+
+DISTNAME= assoc-1.0.2
+CATEGORIES= devel
+
+MAINTAINER= pho%cielonegro.org@localhost
+COMMENT= Symmetric and Semigroupy Bifunctors
+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 "../../math/hs-bifunctors/buildlink3.mk"
+.include "../../devel/hs-tagged/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-assoc/PLIST
diff -u /dev/null pkgsrc/devel/hs-assoc/PLIST:1.1
--- /dev/null Fri Apr 23 08:07:25 2021
+++ pkgsrc/devel/hs-assoc/PLIST Fri Apr 23 08:07:25 2021
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1 2021/04/23 08:07:25 pho Exp $
+lib/assoc-${PKGVERSION}/${HS_VERSION}/package-description
+lib/assoc-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Bifunctor/Assoc.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Bifunctor/Assoc.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Bifunctor/Assoc.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Bifunctor/Swap.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Bifunctor/Swap.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Bifunctor/Swap.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}/assoc-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/assoc-${PKGVERSION}/html/Data-Bifunctor-Assoc.html
+share/doc/${HS_PLATFORM}/assoc-${PKGVERSION}/html/Data-Bifunctor-Swap.html
+share/doc/${HS_PLATFORM}/assoc-${PKGVERSION}/html/assoc.haddock
+share/doc/${HS_PLATFORM}/assoc-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/assoc-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/assoc-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/assoc-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/assoc-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/assoc-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/assoc-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-assoc/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-assoc/buildlink3.mk:1.1
--- /dev/null Fri Apr 23 08:07:25 2021
+++ pkgsrc/devel/hs-assoc/buildlink3.mk Fri Apr 23 08:07:25 2021
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/04/23 08:07:25 pho Exp $
+
+BUILDLINK_TREE+= hs-assoc
+
+.if !defined(HS_ASSOC_BUILDLINK3_MK)
+HS_ASSOC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-assoc+= hs-assoc>=1.0.2
+BUILDLINK_ABI_DEPENDS.hs-assoc+= hs-assoc>=1.0.2
+BUILDLINK_PKGSRCDIR.hs-assoc?= ../../devel/hs-assoc
+
+.include "../../math/hs-bifunctors/buildlink3.mk"
+.include "../../devel/hs-tagged/buildlink3.mk"
+.endif # HS_ASSOC_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-assoc
Index: pkgsrc/devel/hs-assoc/distinfo
diff -u /dev/null pkgsrc/devel/hs-assoc/distinfo:1.1
--- /dev/null Fri Apr 23 08:07:25 2021
+++ pkgsrc/devel/hs-assoc/distinfo Fri Apr 23 08:07:25 2021
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/04/23 08:07:25 pho Exp $
+
+SHA1 (assoc-1.0.2.tar.gz) = bffae5600300802d131082f2ccc389f6b42ff1e3
+RMD160 (assoc-1.0.2.tar.gz) = bddc57af7707d1e53fff87d0636f5f116fdc0731
+SHA512 (assoc-1.0.2.tar.gz) = 20fd0056dcc2dff9504e090be5c2ef27692a795133620e60b9382cfdfbaf26d1019617acf48f0f762e22d699068bc4dbd35a714177ce3a36761c0065708b9168
+Size (assoc-1.0.2.tar.gz) = 3047 bytes
+SHA1 (patch-assoc.cabal) = 76eb9a7b7b3be8f1391c8a176b78812e0f2b6ef2
Index: pkgsrc/devel/hs-assoc/files/Setup.hs
diff -u /dev/null pkgsrc/devel/hs-assoc/files/Setup.hs:1.1
--- /dev/null Fri Apr 23 08:07:25 2021
+++ pkgsrc/devel/hs-assoc/files/Setup.hs Fri Apr 23 08:07:25 2021
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
Index: pkgsrc/devel/hs-assoc/patches/patch-assoc.cabal
diff -u /dev/null pkgsrc/devel/hs-assoc/patches/patch-assoc.cabal:1.1
--- /dev/null Fri Apr 23 08:07:25 2021
+++ pkgsrc/devel/hs-assoc/patches/patch-assoc.cabal Fri Apr 23 08:07:25 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-assoc.cabal,v 1.1 2021/04/23 08:07:25 pho Exp $
+
+Fix build with GHC 9.
+
+--- assoc.cabal.orig 2001-09-09 01:46:40.000000000 +0000
++++ assoc.cabal
+@@ -39,7 +39,7 @@ library
+ default-language: Haskell2010
+ hs-source-dirs: src
+ build-depends:
+- base >=4.3 && <4.15
++ base >=4.3 && <5
+ , bifunctors >=5.5.5 && <5.6
+ , tagged >=0.8.6 && <0.9
+
Home |
Main Index |
Thread Index |
Old Index