Hello community,

here is the log from the commit of package ghc-optparse-applicative for 
openSUSE:Factory checked in at 2017-04-14 13:38:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-optparse-applicative (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-optparse-applicative.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-optparse-applicative"

Fri Apr 14 13:38:39 2017 rev:6 rq:485148 version:0.13.2.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-optparse-applicative/ghc-optparse-applicative.changes
        2017-03-14 10:05:42.395517468 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-optparse-applicative.new/ghc-optparse-applicative.changes
   2017-04-14 13:38:40.291331688 +0200
@@ -1,0 +2,5 @@
+Tue Mar 14 09:26:01 UTC 2017 - [email protected]
+
+- Update to version 0.13.2.0 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  optparse-applicative-0.13.1.0.tar.gz

New:
----
  optparse-applicative-0.13.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-optparse-applicative.spec ++++++
--- /var/tmp/diff_new_pack.IY1AGb/_old  2017-04-14 13:38:41.199203378 +0200
+++ /var/tmp/diff_new_pack.IY1AGb/_new  2017-04-14 13:38:41.199203378 +0200
@@ -19,7 +19,7 @@
 %global pkg_name optparse-applicative
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.13.1.0
+Version:        0.13.2.0
 Release:        0
 Summary:        Utilities and combinators for parsing command line options
 License:        BSD-3-Clause
@@ -38,45 +38,15 @@
 %endif
 
 %description
-Here is a simple example of an applicative option parser:
+Optparse-applicative is a haskell library for parsing options on the command
+line, providing a powerful applicative interface for composing these options.
 
-' data Sample = Sample   { hello :: String   , quiet :: Bool
-}
+optparse-applicative takes care of reading and validating the arguments passed
+to the command line, handling and reporting errors, generating a usage line, a
+comprehensive help screen, and enabling context-sensitive bash completions.
 
-sample :: Parser Sample sample = Sample &#x20; <$> strOption &#x20; ( long
-"hello" &#x20; <> metavar "TARGET" &#x20; <> help "Target for the greeting" )
-&#x20; <*> switch &#x20; ( long "quiet" &#x20; <> help "Whether to be quiet" )
-'
-
-The parser is built using applicative style starting from a set of basic
-combinators. In this example, 'hello' is defined as an 'option' with a 'String'
-argument, while 'quiet' is a boolean 'flag' (called 'switch').
-
-A parser can be used like this:
-
-' greet :: Sample -> IO () greet (Sample h False) = putStrLn $ "Hello, " ++ h
-greet _ = return ()
-
-main :: IO () main = execParser opts >>= greet &#x20; where &#x20; opts = info
-(helper <*> sample) &#x20; ( fullDesc &#x20; <> progDesc "Print a greeting for
-TARGET" &#x20; <> header "hello - a test for optparse-applicative" ) '
-
-The 'greet' function is the entry point of the program, while 'opts' is a
-complete description of the program, used when generating a help text.
-The 'helper' combinator takes any parser, and adds a 'help' option to it (which
-always fails).
-
-The 'hello' option in this example is mandatory (since it doesn't have a
-default value), so running the program without any argument will display a help
-text:
-
->hello - a test for optparse-applicative > >Usage: hello --hello TARGET
-[--quiet] > Print a greeting for TARGET > >Available options: > -h,--help Show
-this help text > --hello TARGET Target for the greeting > --quiet Whether to be
-quiet
-
-containing a short usage summary, and a detailed list of options with
-descriptions.
+See the included README for detailed instructions and examples, which is also
+available on github <https://github.com/pcapriotti/optparse-applicative>.
 
 %package devel
 Summary:        Haskell %{pkg_name} library development files

++++++ optparse-applicative-0.13.1.0.tar.gz -> 
optparse-applicative-0.13.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/optparse-applicative-0.13.1.0/CHANGELOG.md 
new/optparse-applicative-0.13.2.0/CHANGELOG.md
--- old/optparse-applicative-0.13.1.0/CHANGELOG.md      2017-02-10 
07:23:18.000000000 +0100
+++ new/optparse-applicative-0.13.2.0/CHANGELOG.md      2017-03-09 
02:02:13.000000000 +0100
@@ -1,3 +1,9 @@
+## Version 0.13.2.0 (9 Mar 2017)
+
+- Updated dependency bounds.
+
+- Doc
+
 ## Version 0.13.1.0 (10 Feb 2017)
 
 - Updated dependency bounds.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/optparse-applicative-0.13.1.0/Options/Applicative/Help.hs 
new/optparse-applicative-0.13.2.0/Options/Applicative/Help.hs
--- old/optparse-applicative-0.13.1.0/Options/Applicative/Help.hs       
2017-02-10 07:23:18.000000000 +0100
+++ new/optparse-applicative-0.13.2.0/Options/Applicative/Help.hs       
2017-03-09 02:02:13.000000000 +0100
@@ -1,8 +1,24 @@
 module Options.Applicative.Help (
-  module X
+  -- | This is an empty module which re-exports
+  --   the help text system for optparse.
+
+  -- | Pretty printer. Reexports most combinators
+  --   from Text.PrettyPrint.ANSI.Leijen
+  module Options.Applicative.Help.Pretty,
+
+  -- | A free monoid over Doc with helpers for
+  --   composing help text components.
+  module Options.Applicative.Help.Chunk,
+
+  -- | Types required by the help system.
+  module Options.Applicative.Help.Types,
+
+  -- | Core implementation of the help text
+  --   generator.
+  module Options.Applicative.Help.Core,
   ) where
 
-import Options.Applicative.Help.Pretty as X
-import Options.Applicative.Help.Chunk as X
-import Options.Applicative.Help.Types as X
-import Options.Applicative.Help.Core as X
+import Options.Applicative.Help.Pretty
+import Options.Applicative.Help.Chunk
+import Options.Applicative.Help.Types
+import Options.Applicative.Help.Core
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/optparse-applicative-0.13.1.0/optparse-applicative.cabal 
new/optparse-applicative-0.13.2.0/optparse-applicative.cabal
--- old/optparse-applicative-0.13.1.0/optparse-applicative.cabal        
2017-02-10 07:23:18.000000000 +0100
+++ new/optparse-applicative-0.13.2.0/optparse-applicative.cabal        
2017-03-09 02:02:13.000000000 +0100
@@ -1,66 +1,19 @@
 name:                optparse-applicative
-version:             0.13.1.0
+version:             0.13.2.0
 synopsis:            Utilities and combinators for parsing command line options
 description:
-    Here is a simple example of an applicative option parser:
-    .
-    @
-    data Sample = Sample
-    &#x20; &#x7b; hello :: String
-    &#x20; , quiet :: Bool &#x7d;
-    .
-    sample :: Parser Sample
-    sample = Sample
-    &#x20; \<$\> strOption
-    &#x20;     ( long \"hello\"
-    &#x20;    \<\> metavar \"TARGET\"
-    &#x20;    \<\> help \"Target for the greeting\" )
-    &#x20; \<*\> switch
-    &#x20;     ( long \"quiet\"
-    &#x20;    \<\> help \"Whether to be quiet\" )
-    @
-    .
-    The parser is built using applicative style starting from a set of basic
-    combinators. In this example, @hello@ is defined as an 'option' with a
-    @String@ argument, while @quiet@ is a boolean 'flag' (called 'switch').
-    .
-    A parser can be used like this:
-    .
-    @
-    greet :: Sample -> IO ()
-    greet (Sample h False) = putStrLn $ \"Hello, \" ++ h
-    greet _ = return ()
-    .
-    main :: IO ()
-    main = execParser opts \>\>= greet
-    &#x20; where
-    &#x20;   opts = info (helper \<*\> sample)
-    &#x20;     ( fullDesc
-    &#x20;    \<\> progDesc \"Print a greeting for TARGET\"
-    &#x20;    \<\> header \"hello - a test for optparse-applicative\" )
-    @
-    .
-    The @greet@ function is the entry point of the program, while @opts@ is a
-    complete description of the program, used when generating a help text. The
-    'helper' combinator takes any parser, and adds a @help@ option to it (which
-    always fails).
-    .
-    The @hello@ option in this example is mandatory (since it doesn't have a
-    default value), so running the program without any argument will display a
-    help text:
-    .
- >hello - a test for optparse-applicative
- >
- >Usage: hello --hello TARGET [--quiet]
- >  Print a greeting for TARGET
- >
- >Available options:
- >  -h,--help                Show this help text
- >  --hello TARGET           Target for the greeting
- >  --quiet                  Whether to be quiet
-    .
-    containing a short usage summary, and a detailed list of options with
-    descriptions.
+    optparse-applicative is a haskell library for parsing options
+    on the command line, providing a powerful applicative interface
+    for composing these options.
+    .
+    optparse-applicative takes care of reading and validating the
+    arguments passed to the command line, handling and reporting
+    errors, generating a usage line, a comprehensive help screen,
+    and enabling context-sensitive bash completions.
+    .
+    See the included README for detailed instructions and examples,
+    which is also available on github
+    <https://github.com/pcapriotti/optparse-applicative>.
 license:             BSD3
 license-file:        LICENSE
 author:              Paolo Capriotti, Huw Campbell
@@ -123,7 +76,7 @@
   build-depends:       base                            == 4.*
                      , transformers                    >= 0.2 && < 0.6
                      , transformers-compat             >= 0.3 && < 0.6
-                     , process                         >= 1.0 && < 1.6
+                     , process                         >= 1.0 && < 1.7
                      , ansi-wl-pprint                  >= 0.6.6 && < 0.7
 
   if !impl(ghc >= 8)


Reply via email to