pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/hs-contravariant



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Jan  1 02:29:19 UTC 2020

Added Files:
        pkgsrc/math/hs-contravariant: DESCR Makefile buildlink3.mk distinfo

Log Message:
Import contravariant-1.5.2 from wip

Contravariant functors, sometimes referred to colloquially as
cofunctor, even though the dual of a functor is just a functor. As
with functor the definition of contravariant for a given ADT is
unambiguous.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/hs-contravariant/DESCR \
    pkgsrc/math/hs-contravariant/Makefile \
    pkgsrc/math/hs-contravariant/buildlink3.mk \
    pkgsrc/math/hs-contravariant/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/math/hs-contravariant/DESCR
diff -u /dev/null pkgsrc/math/hs-contravariant/DESCR:1.1
--- /dev/null   Wed Jan  1 02:29:19 2020
+++ pkgsrc/math/hs-contravariant/DESCR  Wed Jan  1 02:29:19 2020
@@ -0,0 +1,4 @@
+Contravariant functors, sometimes referred to colloquially as
+cofunctor, even though the dual of a functor is just a functor. As
+with functor the definition of contravariant for a given ADT is
+unambiguous.
Index: pkgsrc/math/hs-contravariant/Makefile
diff -u /dev/null pkgsrc/math/hs-contravariant/Makefile:1.1
--- /dev/null   Wed Jan  1 02:29:19 2020
+++ pkgsrc/math/hs-contravariant/Makefile       Wed Jan  1 02:29:19 2020
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2020/01/01 02:29:19 pho Exp $
+
+DISTNAME=      contravariant-1.5.2
+CATEGORIES=    math
+
+MAINTAINER=    pho%cielonegro.org@localhost
+COMMENT=       Contravariant functors
+LICENSE=       modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
+.include "../../devel/hs-StateVar/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/hs-contravariant/buildlink3.mk
diff -u /dev/null pkgsrc/math/hs-contravariant/buildlink3.mk:1.1
--- /dev/null   Wed Jan  1 02:29:19 2020
+++ pkgsrc/math/hs-contravariant/buildlink3.mk  Wed Jan  1 02:29:19 2020
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/01 02:29:19 pho Exp $
+
+BUILDLINK_TREE+=       hs-contravariant
+
+.if !defined(HS_CONTRAVARIANT_BUILDLINK3_MK)
+HS_CONTRAVARIANT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-contravariant+=       hs-contravariant>=1.5.2
+BUILDLINK_ABI_DEPENDS.hs-contravariant+=       hs-contravariant>=1.5.2
+BUILDLINK_PKGSRCDIR.hs-contravariant?= ../../math/hs-contravariant
+
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
+.include "../../devel/hs-StateVar/buildlink3.mk"
+.endif # HS_CONTRAVARIANT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-contravariant
Index: pkgsrc/math/hs-contravariant/distinfo
diff -u /dev/null pkgsrc/math/hs-contravariant/distinfo:1.1
--- /dev/null   Wed Jan  1 02:29:19 2020
+++ pkgsrc/math/hs-contravariant/distinfo       Wed Jan  1 02:29:19 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/01 02:29:19 pho Exp $
+
+SHA1 (contravariant-1.5.2.tar.gz) = 21782e04bd877921b13ba9cbf5a83132a6260bf8
+RMD160 (contravariant-1.5.2.tar.gz) = 142d8aa32515fe8db59c3ecde43b337c72343e75
+SHA512 (contravariant-1.5.2.tar.gz) = f59cfbb2c7b1dec7532c3ffb260b5788fc3fe160ad730c1b49ff85d57cc46c4af24e37ecc8cd46df112ff1e92b5b03f2064b81f8ccda88465e1fe695331f5410
+Size (contravariant-1.5.2.tar.gz) = 16006 bytes



Home | Main Index | Thread Index | Old Index