osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-turtle revision:17, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-turtle?expand=0&rev=38
This commit is contained in:
@@ -1,56 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 18 10:46:23 UTC 2020 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Replace %setup -q with the more modern %autosetup macro.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 16 02:01:46 UTC 2020 - psimons@suse.com
|
||||
|
||||
- Update turtle to version 1.5.21.
|
||||
1.5.21
|
||||
|
||||
* Build against `optparse-applicative-0.16.0.0`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 12 02:00:40 UTC 2020 - psimons@suse.com
|
||||
|
||||
- Update turtle to version 1.5.20.
|
||||
1.5.20
|
||||
|
||||
* Build against `doctest-0.17`
|
||||
* Only depend on `semigroups` for GHC < 8.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 16 11:14:45 UTC 2020 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Re-generate file with latest version of spec-cleaner.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 6 06:52:11 UTC 2020 - psimons@suse.com
|
||||
|
||||
- Update turtle to version 1.5.19.
|
||||
1.5.19
|
||||
|
||||
* Add pattern synonyms for `Size`
|
||||
|
||||
1.5.18
|
||||
|
||||
* Fix space leak
|
||||
|
||||
1.5.17
|
||||
|
||||
* Add `optionsExt`: Extended version of `options` with header, footer,
|
||||
porgram-description and version information in `--help` flag
|
||||
* Add `readlink`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 21 03:08:25 UTC 2020 - psimons@suse.com
|
||||
|
||||
- Update turtle to version 1.5.16.
|
||||
1.5.16
|
||||
|
||||
* Add `cptreeL`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 8 16:15:04 UTC 2019 - Peter Simons <psimons@suse.com>
|
||||
|
||||
|
||||
+7
-3
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-turtle
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,12 +19,13 @@
|
||||
%global pkg_name turtle
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.5.21
|
||||
Version: 1.5.15
|
||||
Release: 0
|
||||
Summary: Shell programming, Haskell-style
|
||||
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-ansi-wl-pprint-devel
|
||||
BuildRequires: ghc-async-devel
|
||||
@@ -40,6 +41,7 @@ BuildRequires: ghc-optional-args-devel
|
||||
BuildRequires: ghc-optparse-applicative-devel
|
||||
BuildRequires: ghc-process-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-semigroups-devel
|
||||
BuildRequires: ghc-stm-devel
|
||||
BuildRequires: ghc-streaming-commons-devel
|
||||
BuildRequires: ghc-system-fileio-devel
|
||||
@@ -52,6 +54,7 @@ BuildRequires: ghc-unix-compat-devel
|
||||
BuildRequires: ghc-unix-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-doctest-devel
|
||||
BuildRequires: ghc-fail-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -95,7 +98,8 @@ Requires(postun): ghc-compiler = %{ghc_version}
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ee5c9449e55f6c4331a1713966a1d5cb08711b0528da770ceae51125987e9379
|
||||
size 55508
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:66fcb989a8ad8ffb7aaf8158f6c0c4a2da7ea7055ba43b1ea3c12fbcabed6169
|
||||
size 56687
|
||||
+154
@@ -0,0 +1,154 @@
|
||||
Name: turtle
|
||||
Version: 1.5.15
|
||||
x-revision: 1
|
||||
Cabal-Version: >=1.10
|
||||
Build-Type: Simple
|
||||
License: BSD3
|
||||
License-File: LICENSE
|
||||
Copyright: 2015 Gabriel Gonzalez
|
||||
Author: Gabriel Gonzalez
|
||||
Maintainer: Gabriel439@gmail.com
|
||||
Tested-With: GHC == 7.10.2, GHC == 8.0.1
|
||||
Bug-Reports: https://github.com/Gabriel439/Haskell-Turtle-Library/issues
|
||||
Synopsis: Shell programming, Haskell-style
|
||||
Description: @turtle@ is a reimplementation of the Unix command line environment
|
||||
in Haskell so that you can use Haskell as both a shell and a scripting
|
||||
language.
|
||||
.
|
||||
Features include:
|
||||
.
|
||||
* Batteries included: Command an extended suite of predefined utilities
|
||||
.
|
||||
* Interoperability: You can still run external shell commands
|
||||
.
|
||||
* Portability: Works on Windows, OS X, and Linux
|
||||
.
|
||||
* Exception safety: Safely acquire and release resources
|
||||
.
|
||||
* Streaming: Transform or fold command output in constant space
|
||||
.
|
||||
* Patterns: Use typed regular expressions that can parse structured values
|
||||
.
|
||||
* Formatting: Type-safe @printf@-style text formatting
|
||||
.
|
||||
* Modern: Supports @text@ and @system-filepath@
|
||||
.
|
||||
Read "Turtle.Tutorial" for a detailed tutorial or "Turtle.Prelude" for a
|
||||
quick-start guide
|
||||
.
|
||||
@turtle@ is designed to be beginner-friendly, but as a result lacks certain
|
||||
features, like tracing commands. If you feel comfortable using @turtle@
|
||||
then you should also check out the @Shelly@ library which provides similar
|
||||
functionality.
|
||||
Category: System
|
||||
Extra-Source-Files:
|
||||
CHANGELOG.md
|
||||
Source-Repository head
|
||||
Type: git
|
||||
Location: https://github.com/Gabriel439/Haskell-Turtle-Library
|
||||
|
||||
Library
|
||||
HS-Source-Dirs: src
|
||||
Build-Depends:
|
||||
base >= 4.11 && < 5 ,
|
||||
ansi-wl-pprint >= 0.6 && < 0.7 ,
|
||||
async >= 2.0.0.0 && < 2.3 ,
|
||||
bytestring >= 0.9.1.8 && < 0.11,
|
||||
clock >= 0.4.1.2 && < 0.9 ,
|
||||
containers >= 0.5.0.0 && < 0.7 ,
|
||||
directory >= 1.0.7 && < 1.4 ,
|
||||
exceptions >= 0.4 && < 0.11,
|
||||
foldl >= 1.1 && < 1.5 ,
|
||||
hostname < 1.1 ,
|
||||
managed >= 1.0.3 && < 1.1 ,
|
||||
process >= 1.0.1.1 && < 1.7 ,
|
||||
semigroups >= 0.5.0 && < 0.20,
|
||||
system-filepath >= 0.3.1 && < 0.5 ,
|
||||
system-fileio >= 0.2.1 && < 0.4 ,
|
||||
stm < 2.6 ,
|
||||
streaming-commons < 0.3 ,
|
||||
temporary < 1.4 ,
|
||||
text >= 1.0.0 && < 1.3 ,
|
||||
time < 1.10,
|
||||
transformers >= 0.2.0.0 && < 0.6 ,
|
||||
optparse-applicative >= 0.13 && < 0.16,
|
||||
optional-args >= 1.0 && < 2.0 ,
|
||||
unix-compat >= 0.4 && < 0.6
|
||||
if os(windows)
|
||||
Build-Depends: Win32 >= 2.2.0.1 && < 2.9
|
||||
else
|
||||
Build-Depends: unix >= 2.5.1.0 && < 2.8
|
||||
if !impl(ghc >= 8.0)
|
||||
Build-Depends: fail >= 4.9.0.0 && < 4.10
|
||||
Exposed-Modules:
|
||||
Turtle,
|
||||
Turtle.Bytes,
|
||||
Turtle.Format,
|
||||
Turtle.Pattern,
|
||||
Turtle.Shell,
|
||||
Turtle.Options,
|
||||
Turtle.Line,
|
||||
Turtle.Prelude,
|
||||
Turtle.Tutorial
|
||||
Other-Modules:
|
||||
Turtle.Internal
|
||||
GHC-Options: -Wall
|
||||
Default-Language: Haskell2010
|
||||
|
||||
test-suite tests
|
||||
Type: exitcode-stdio-1.0
|
||||
HS-Source-Dirs: test
|
||||
Main-Is: Main.hs
|
||||
GHC-Options: -Wall
|
||||
Default-Language: Haskell2010
|
||||
Build-Depends:
|
||||
base >= 4 && < 5 ,
|
||||
doctest >= 0.7 && < 0.17
|
||||
|
||||
test-suite regression-broken-pipe
|
||||
Type: exitcode-stdio-1.0
|
||||
HS-Source-Dirs: test
|
||||
Main-Is: RegressionBrokenPipe.hs
|
||||
GHC-Options: -Wall -threaded
|
||||
Default-Language: Haskell2010
|
||||
Build-Depends:
|
||||
base >= 4 && < 5,
|
||||
turtle
|
||||
|
||||
test-suite regression-masking-exception
|
||||
Type: exitcode-stdio-1.0
|
||||
HS-Source-Dirs: test
|
||||
Main-Is: RegressionMaskingException.hs
|
||||
GHC-Options: -Wall -threaded
|
||||
Default-Language: Haskell2010
|
||||
Build-Depends:
|
||||
base >= 4 && < 5,
|
||||
turtle
|
||||
|
||||
test-suite cptree
|
||||
Type: exitcode-stdio-1.0
|
||||
HS-Source-Dirs: test
|
||||
Main-Is: cptree.hs
|
||||
GHC-Options: -Wall -threaded
|
||||
Default-Language: Haskell2010
|
||||
Build-Depends:
|
||||
base >= 4 && < 5,
|
||||
fail,
|
||||
temporary,
|
||||
system-filepath >= 0.4,
|
||||
turtle
|
||||
|
||||
benchmark bench
|
||||
Type: exitcode-stdio-1.0
|
||||
HS-Source-Dirs: bench
|
||||
Main-Is: Main.hs
|
||||
GHC-Options: -O2 -Wall -threaded
|
||||
Default-Language: Haskell2010
|
||||
Build-Depends:
|
||||
base >= 4 && < 5 ,
|
||||
text < 1.3,
|
||||
turtle
|
||||
if impl(ghc < 7.8)
|
||||
Build-Depends: criterion >= 0.4 && < 1.1.4.0
|
||||
else
|
||||
Build-Depends: criterion >= 0.4 && < 1.6
|
||||
Reference in New Issue
Block a user