pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-echo



Module Name:    pkgsrc
Committed By:   pho
Date:           Sat Jan 18 22:57:04 UTC 2020

Added Files:
        pkgsrc/devel/hs-echo: DESCR Makefile buildlink3.mk distinfo
        pkgsrc/devel/hs-echo/patches: patch-echo.cabal

Log Message:
Import echo-0.1.3

Exports functions that handle whether or not terminal input is echoed
in a way that should be portable across different platforms and
consoles.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-echo/DESCR \
    pkgsrc/devel/hs-echo/Makefile pkgsrc/devel/hs-echo/buildlink3.mk \
    pkgsrc/devel/hs-echo/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-echo/patches/patch-echo.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-echo/DESCR
diff -u /dev/null pkgsrc/devel/hs-echo/DESCR:1.1
--- /dev/null   Sat Jan 18 22:57:04 2020
+++ pkgsrc/devel/hs-echo/DESCR  Sat Jan 18 22:57:04 2020
@@ -0,0 +1,3 @@
+Exports functions that handle whether or not terminal input is echoed
+in a way that should be portable across different platforms and
+consoles.
Index: pkgsrc/devel/hs-echo/Makefile
diff -u /dev/null pkgsrc/devel/hs-echo/Makefile:1.1
--- /dev/null   Sat Jan 18 22:57:04 2020
+++ pkgsrc/devel/hs-echo/Makefile       Sat Jan 18 22:57:04 2020
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2020/01/18 22:57:04 pho Exp $
+
+DISTNAME=      echo-0.1.3
+CATEGORIES=    devel
+
+MAINTAINER=    pho%cielonegro.org@localhost
+COMMENT=       Cross-platform, cross-console way to handle echoing terminal input
+LICENSE=       modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-echo/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-echo/buildlink3.mk:1.1
--- /dev/null   Sat Jan 18 22:57:04 2020
+++ pkgsrc/devel/hs-echo/buildlink3.mk  Sat Jan 18 22:57:04 2020
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/18 22:57:04 pho Exp $
+
+BUILDLINK_TREE+=       hs-echo
+
+.if !defined(HS_ECHO_BUILDLINK3_MK)
+HS_ECHO_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-echo+=        hs-echo>=0.1.3
+BUILDLINK_ABI_DEPENDS.hs-echo+=        hs-echo>=0.1.3
+BUILDLINK_PKGSRCDIR.hs-echo?=  ../../devel/hs-echo
+.endif # HS_ECHO_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-echo
Index: pkgsrc/devel/hs-echo/distinfo
diff -u /dev/null pkgsrc/devel/hs-echo/distinfo:1.1
--- /dev/null   Sat Jan 18 22:57:04 2020
+++ pkgsrc/devel/hs-echo/distinfo       Sat Jan 18 22:57:04 2020
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/01/18 22:57:04 pho Exp $
+
+SHA1 (echo-0.1.3.tar.gz) = 6dfee8f0636f20bdcaf651ce82827477f1622b73
+RMD160 (echo-0.1.3.tar.gz) = d7abc341c7a87f4a72f75733ab4bf0467d15d1e8
+SHA512 (echo-0.1.3.tar.gz) = 26a2398af231a8805b6b0a866348f848b8b8f21fe95a2fa3c781aaeae150df978335df573d46d5b07d7e4df19d6377d997f85c77049abaf0c5cb3e9998439c6f
+Size (echo-0.1.3.tar.gz) = 5373 bytes
+SHA1 (patch-echo.cabal) = 4afe1dd950374c8f1192326245776808bf4218fb

Index: pkgsrc/devel/hs-echo/patches/patch-echo.cabal
diff -u /dev/null pkgsrc/devel/hs-echo/patches/patch-echo.cabal:1.1
--- /dev/null   Sat Jan 18 22:57:04 2020
+++ pkgsrc/devel/hs-echo/patches/patch-echo.cabal       Sat Jan 18 22:57:04 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-echo.cabal,v 1.1 2020/01/18 22:57:04 pho Exp $
+
+Fix build with GHC 8.8
+
+--- echo.cabal.orig    2017-01-31 02:37:53.000000000 +0000
++++ echo.cabal
+@@ -39,7 +39,7 @@ library
+                        System.IO.Echo.Internal
+ 
+   build-depends:       base    >= 4.3     && < 5
+-                     , process >= 1.0.1.1 && < 1.5
++                     , process >= 1.0.1.1 && < 1.7
+   if os(windows)
+     cpp-options:       "-DWINDOWS"
+     build-depends:     mintty >= 0.1 && < 0.2



Home | Main Index | Thread Index | Old Index