osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-shelly revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-shelly?expand=0&rev=7
This commit is contained in:
parent
b5ca52cd35
commit
af1caa1349
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 30 02:05:45 UTC 2019 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update shelly to version 1.9.0.
|
||||||
|
Upstream has not updated the file "ChangeLog.md" since the last
|
||||||
|
release.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 20 11:26:04 UTC 2018 - Peter Simons <psimons@suse.com>
|
Sat Oct 20 11:26:04 UTC 2018 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-shelly
|
# spec file for package ghc-shelly
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,14 +19,13 @@
|
|||||||
%global pkg_name shelly
|
%global pkg_name shelly
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 1.8.1
|
Version: 1.9.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Shell-like (systems) programming in Haskell
|
Summary: Shell-like (systems) programming in Haskell
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/Haskell
|
Group: Development/Libraries/Haskell
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
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-Cabal-devel
|
||||||
BuildRequires: ghc-async-devel
|
BuildRequires: ghc-async-devel
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
@ -34,14 +33,13 @@ BuildRequires: ghc-containers-devel
|
|||||||
BuildRequires: ghc-directory-devel
|
BuildRequires: ghc-directory-devel
|
||||||
BuildRequires: ghc-enclosed-exceptions-devel
|
BuildRequires: ghc-enclosed-exceptions-devel
|
||||||
BuildRequires: ghc-exceptions-devel
|
BuildRequires: ghc-exceptions-devel
|
||||||
|
BuildRequires: ghc-filepath-devel
|
||||||
BuildRequires: ghc-lifted-async-devel
|
BuildRequires: ghc-lifted-async-devel
|
||||||
BuildRequires: ghc-lifted-base-devel
|
BuildRequires: ghc-lifted-base-devel
|
||||||
BuildRequires: ghc-monad-control-devel
|
BuildRequires: ghc-monad-control-devel
|
||||||
BuildRequires: ghc-mtl-devel
|
BuildRequires: ghc-mtl-devel
|
||||||
BuildRequires: ghc-process-devel
|
BuildRequires: ghc-process-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-system-fileio-devel
|
|
||||||
BuildRequires: ghc-system-filepath-devel
|
|
||||||
BuildRequires: ghc-text-devel
|
BuildRequires: ghc-text-devel
|
||||||
BuildRequires: ghc-time-devel
|
BuildRequires: ghc-time-devel
|
||||||
BuildRequires: ghc-transformers-base-devel
|
BuildRequires: ghc-transformers-base-devel
|
||||||
@ -50,7 +48,6 @@ BuildRequires: ghc-unix-compat-devel
|
|||||||
BuildRequires: ghc-unix-devel
|
BuildRequires: ghc-unix-devel
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-HUnit-devel
|
BuildRequires: ghc-HUnit-devel
|
||||||
BuildRequires: ghc-filepath-devel
|
|
||||||
BuildRequires: ghc-hspec-contrib-devel
|
BuildRequires: ghc-hspec-contrib-devel
|
||||||
BuildRequires: ghc-hspec-devel
|
BuildRequires: ghc-hspec-devel
|
||||||
%endif
|
%endif
|
||||||
@ -66,7 +63,7 @@ demonstration of elegance.
|
|||||||
|
|
||||||
* maintains its own environment, making it thread-safe.
|
* maintains its own environment, making it thread-safe.
|
||||||
|
|
||||||
* is modern, using Text and system-filepath/system-fileio
|
* is modern, using Text filepath/directory
|
||||||
|
|
||||||
Shelly is originally forked from the Shellish package.
|
Shelly is originally forked from the Shellish package.
|
||||||
|
|
||||||
@ -88,7 +85,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:de8814879c7a5e7f1f7f0d9c56c1dfee30d6d63ba1140946e5ed158dd75e6e08
|
|
||||||
size 73224
|
|
3
shelly-1.9.0.tar.gz
Normal file
3
shelly-1.9.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5eb5fd4fc105e218cef6cfa10971d299ad660324e6a6006b8cccc31edf39aace
|
||||||
|
size 73344
|
202
shelly.cabal
202
shelly.cabal
@ -1,202 +0,0 @@
|
|||||||
Name: shelly
|
|
||||||
|
|
||||||
Version: 1.8.1
|
|
||||||
x-revision: 1
|
|
||||||
Synopsis: shell-like (systems) programming in Haskell
|
|
||||||
|
|
||||||
Description: Shelly provides convenient systems programming in Haskell,
|
|
||||||
similar in spirit to POSIX shells. Shelly:
|
|
||||||
.
|
|
||||||
* is aimed at convenience and getting things done rather than
|
|
||||||
being a demonstration of elegance.
|
|
||||||
.
|
|
||||||
* has detailed and useful error messages
|
|
||||||
.
|
|
||||||
* maintains its own environment, making it thread-safe.
|
|
||||||
.
|
|
||||||
* is modern, using Text and system-filepath/system-fileio
|
|
||||||
.
|
|
||||||
Shelly is originally forked from the Shellish package.
|
|
||||||
.
|
|
||||||
See the shelly-extra package for additional functionality.
|
|
||||||
.
|
|
||||||
An overview is available in the README: <https://github.com/yesodweb/Shelly.hs/blob/master/README.md>
|
|
||||||
|
|
||||||
|
|
||||||
Homepage: https://github.com/yesodweb/Shelly.hs
|
|
||||||
License: BSD3
|
|
||||||
License-file: LICENSE
|
|
||||||
Author: Greg Weber, Petr Rockai
|
|
||||||
Maintainer: Greg Weber <greg@gregweber.info>
|
|
||||||
Category: Development
|
|
||||||
Build-type: Simple
|
|
||||||
Cabal-version: >=1.8
|
|
||||||
|
|
||||||
-- for the sdist of the test suite
|
|
||||||
extra-source-files: test/src/*.hs
|
|
||||||
test/examples/*.sh
|
|
||||||
test/examples/*.hs
|
|
||||||
test/data/zshrc
|
|
||||||
test/data/nonascii.txt
|
|
||||||
test/data/symlinked_dir/hoge_file
|
|
||||||
test/testall
|
|
||||||
README.md
|
|
||||||
ChangeLog.md
|
|
||||||
|
|
||||||
Library
|
|
||||||
Exposed-modules: Shelly, Shelly.Lifted, Shelly.Pipe, Shelly.Unix
|
|
||||||
other-modules: Shelly.Base, Shelly.Find, Shelly.Directory
|
|
||||||
hs-source-dirs: src
|
|
||||||
other-extensions: InstanceSigs
|
|
||||||
|
|
||||||
Build-depends:
|
|
||||||
containers >= 0.4.2.0,
|
|
||||||
time >= 1.3 && < 1.9,
|
|
||||||
directory >= 1.3.0.0 && < 1.4.0.0,
|
|
||||||
mtl >= 2,
|
|
||||||
process >= 1.0,
|
|
||||||
unix-compat < 0.6,
|
|
||||||
unix,
|
|
||||||
system-filepath >= 0.4.7 && < 0.5,
|
|
||||||
system-fileio < 0.4,
|
|
||||||
monad-control >= 0.3.2 && < 1.1,
|
|
||||||
lifted-base,
|
|
||||||
lifted-async,
|
|
||||||
exceptions >= 0.6,
|
|
||||||
enclosed-exceptions,
|
|
||||||
text, bytestring, async, transformers, transformers-base
|
|
||||||
|
|
||||||
if impl(ghc >= 7.6.1)
|
|
||||||
build-depends:
|
|
||||||
base >= 4.6 && < 5
|
|
||||||
else
|
|
||||||
build-depends:
|
|
||||||
base >= 4 && < 5
|
|
||||||
|
|
||||||
ghc-options: -Wall
|
|
||||||
|
|
||||||
if impl(ghc >= 7.6.1)
|
|
||||||
CPP-Options: -DNO_PRELUDE_CATCH
|
|
||||||
|
|
||||||
extensions:
|
|
||||||
CPP
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: https://github.com/yesodweb/Shelly.hs
|
|
||||||
|
|
||||||
Flag lifted
|
|
||||||
Description: run the tests against Shelly.Lifted
|
|
||||||
Default: False
|
|
||||||
|
|
||||||
Test-Suite shelly-testsuite
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
hs-source-dirs: src test/src
|
|
||||||
main-is: TestMain.hs
|
|
||||||
other-modules:
|
|
||||||
CopySpec
|
|
||||||
EnvSpec
|
|
||||||
FailureSpec
|
|
||||||
FindSpec
|
|
||||||
Help
|
|
||||||
LiftedSpec
|
|
||||||
MoveSpec
|
|
||||||
ReadFileSpec
|
|
||||||
RmSpec
|
|
||||||
RunSpec
|
|
||||||
SshSpec
|
|
||||||
Shelly
|
|
||||||
Shelly.Base
|
|
||||||
Shelly.Find
|
|
||||||
Shelly.Lifted
|
|
||||||
TestInit
|
|
||||||
WhichSpec
|
|
||||||
WriteSpec
|
|
||||||
|
|
||||||
ghc-options: -O2 -Wall -fwarn-tabs -funbox-strict-fields -threaded
|
|
||||||
-fno-warn-unused-do-bind -fno-warn-type-defaults
|
|
||||||
|
|
||||||
|
|
||||||
extensions: OverloadedStrings, ExtendedDefaultRules
|
|
||||||
|
|
||||||
if flag(lifted)
|
|
||||||
cpp-options: -DLIFTED
|
|
||||||
|
|
||||||
build-depends:
|
|
||||||
base >= 4.6,
|
|
||||||
text >= 0.11,
|
|
||||||
async,
|
|
||||||
bytestring >= 0.10,
|
|
||||||
containers >= 0.5.0.0,
|
|
||||||
directory >= 1.3.0.0 && < 1.4.0.0,
|
|
||||||
process >= 1.1.0,
|
|
||||||
unix-compat < 0.6,
|
|
||||||
unix,
|
|
||||||
system-filepath >= 0.4.7 && < 0.5,
|
|
||||||
system-fileio < 0.4,
|
|
||||||
time >= 1.3 && < 1.9,
|
|
||||||
mtl >= 2,
|
|
||||||
HUnit >= 1.2,
|
|
||||||
hspec >= 2.0,
|
|
||||||
hspec-contrib,
|
|
||||||
transformers,
|
|
||||||
transformers-base,
|
|
||||||
filepath,
|
|
||||||
monad-control,
|
|
||||||
lifted-base,
|
|
||||||
lifted-async,
|
|
||||||
enclosed-exceptions,
|
|
||||||
exceptions
|
|
||||||
|
|
||||||
extensions:
|
|
||||||
CPP
|
|
||||||
|
|
||||||
Flag build-examples
|
|
||||||
Description: build some example programs
|
|
||||||
Default: False
|
|
||||||
Manual: True
|
|
||||||
|
|
||||||
-- demonstarated that command output in Shellish was not shown until after the command finished
|
|
||||||
-- not necessary anymore
|
|
||||||
Executable drain
|
|
||||||
hs-source-dirs: test/examples
|
|
||||||
main-is: drain.hs
|
|
||||||
if flag(build-examples)
|
|
||||||
buildable: True
|
|
||||||
|
|
||||||
build-depends: base >= 4.6
|
|
||||||
, shelly
|
|
||||||
, text
|
|
||||||
|
|
||||||
extensions:
|
|
||||||
CPP
|
|
||||||
else
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
Executable run-handles
|
|
||||||
hs-source-dirs: test/examples
|
|
||||||
main-is: run-handles.hs
|
|
||||||
if flag(build-examples)
|
|
||||||
buildable: True
|
|
||||||
|
|
||||||
build-depends: base >= 4.6
|
|
||||||
, shelly
|
|
||||||
, text
|
|
||||||
|
|
||||||
extensions:
|
|
||||||
CPP
|
|
||||||
else
|
|
||||||
buildable: False
|
|
||||||
|
|
||||||
Executable Color
|
|
||||||
hs-source-dirs: test/examples
|
|
||||||
main-is: color.hs
|
|
||||||
if flag(build-examples)
|
|
||||||
buildable: True
|
|
||||||
|
|
||||||
build-depends: base >= 4.6
|
|
||||||
, process
|
|
||||||
, shelly
|
|
||||||
, text
|
|
||||||
else
|
|
||||||
buildable: False
|
|
Loading…
x
Reference in New Issue
Block a user