pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/hs-assoc Import assoc-1.0.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/811c58cd2170
branches: trunk
changeset: 450902:811c58cd2170
user: pho <pho%pkgsrc.org@localhost>
date: Fri Apr 23 08:07:25 2021 +0000
description:
Import assoc-1.0.2
diffstat:
devel/hs-assoc/DESCR | 3 +++
devel/hs-assoc/Makefile | 17 +++++++++++++++++
devel/hs-assoc/PLIST | 23 +++++++++++++++++++++++
devel/hs-assoc/buildlink3.mk | 16 ++++++++++++++++
devel/hs-assoc/distinfo | 7 +++++++
devel/hs-assoc/files/Setup.hs | 2 ++
devel/hs-assoc/patches/patch-assoc.cabal | 15 +++++++++++++++
7 files changed, 83 insertions(+), 0 deletions(-)
diffs (111 lines):
diff -r de361c2d2aec -r 811c58cd2170 devel/hs-assoc/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-assoc/DESCR Fri Apr 23 08:07:25 2021 +0000
@@ -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).
diff -r de361c2d2aec -r 811c58cd2170 devel/hs-assoc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-assoc/Makefile Fri Apr 23 08:07:25 2021 +0000
@@ -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"
diff -r de361c2d2aec -r 811c58cd2170 devel/hs-assoc/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-assoc/PLIST Fri Apr 23 08:07:25 2021 +0000
@@ -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
diff -r de361c2d2aec -r 811c58cd2170 devel/hs-assoc/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-assoc/buildlink3.mk Fri Apr 23 08:07:25 2021 +0000
@@ -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
diff -r de361c2d2aec -r 811c58cd2170 devel/hs-assoc/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-assoc/distinfo Fri Apr 23 08:07:25 2021 +0000
@@ -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
diff -r de361c2d2aec -r 811c58cd2170 devel/hs-assoc/files/Setup.hs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-assoc/files/Setup.hs Fri Apr 23 08:07:25 2021 +0000
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
diff -r de361c2d2aec -r 811c58cd2170 devel/hs-assoc/patches/patch-assoc.cabal
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-assoc/patches/patch-assoc.cabal Fri Apr 23 08:07:25 2021 +0000
@@ -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