forked from pool/ghc-echo
Accepting request 877624 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/877624 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-echo?expand=0&rev=12
This commit is contained in:
commit
0e30254034
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:704f07310f8272d170f8ab7fb2a2c13f15d8501ef8310801e36964c8eff485ef
|
||||
size 5373
|
3
echo-0.1.4.tar.gz
Normal file
3
echo-0.1.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c9fe1bf2904825a65b667251ec644f197b71dc5c209d2d254be5de3d496b0e43
|
||||
size 5501
|
62
echo.cabal
62
echo.cabal
@ -1,62 +0,0 @@
|
||||
name: echo
|
||||
version: 0.1.3
|
||||
x-revision: 1
|
||||
synopsis: A cross-platform, cross-console way to handle echoing terminal input
|
||||
description: The @base@ library exposes the @hGetEcho@ and @hSetEcho@ functions
|
||||
for querying and setting echo status, but unfortunately, neither
|
||||
function works with MinTTY consoles on Windows. This is a serious
|
||||
issue, since @hGetEcho@ and @hSetEcho@ are often used to disable
|
||||
input echoing when a program prompts for a password, so many
|
||||
programs will reveal your password as you type it on MinTTY!
|
||||
.
|
||||
This library provides an alternative interface which works
|
||||
with both MinTTY and other consoles. An example is included
|
||||
which demonstrates how one might prompt for a password using
|
||||
this library. To build it, make sure to configure with the
|
||||
@-fexample@ flag.
|
||||
homepage: https://github.com/RyanGlScott/echo
|
||||
bug-reports: https://github.com/RyanGlScott/echo/issues
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Ryan Scott
|
||||
maintainer: Ryan Scott <ryan.gl.scott@gmail.com>
|
||||
stability: Provisional
|
||||
copyright: (C) 2016-2017 Ryan Scott
|
||||
category: System
|
||||
build-type: Simple
|
||||
extra-source-files: CHANGELOG.md, README.md
|
||||
cabal-version: >=1.10
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/RyanGlScott/echo
|
||||
|
||||
flag example
|
||||
description: Build the bundled example program.
|
||||
default: False
|
||||
|
||||
library
|
||||
exposed-modules: System.IO.Echo
|
||||
System.IO.Echo.Internal
|
||||
|
||||
build-depends: base >= 4.3 && < 5
|
||||
, process >= 1.0.1.1 && < 1.7
|
||||
if os(windows)
|
||||
cpp-options: "-DWINDOWS"
|
||||
build-depends: mintty >= 0.1 && < 0.2
|
||||
, Win32 >= 2 && < 3
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
||||
executable password
|
||||
if !flag(example)
|
||||
buildable: False
|
||||
|
||||
main-is: Password.hs
|
||||
build-depends: base >= 4.3 && < 5
|
||||
, echo
|
||||
hs-source-dirs: example
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 20 00:08:00 UTC 2021 - psimons@suse.com
|
||||
|
||||
- Update echo to version 0.1.4.
|
||||
Upstream has edited the change log file since the last release in
|
||||
a non-trivial way, i.e. they did more than just add a new entry
|
||||
at the top. You can review the file at:
|
||||
http://hackage.haskell.org/package/echo-0.1.4/src/CHANGELOG.md
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-echo
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,13 +18,12 @@
|
||||
|
||||
%global pkg_name echo
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.1.3
|
||||
Version: 0.1.4
|
||||
Release: 0
|
||||
Summary: A cross-platform, cross-console way to handle echoing terminal input
|
||||
License: BSD-3-Clause
|
||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-process-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
@ -54,7 +53,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
Loading…
x
Reference in New Issue
Block a user