diff --git a/.gitignore b/.gitignore index c15da4f..e8236ec 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /optparse-applicative-0.14.2.0.tar.gz /optparse-applicative-0.14.3.0.tar.gz /optparse-applicative-0.15.1.0.tar.gz +/optparse-applicative-0.16.1.0.tar.gz diff --git a/ghc-optparse-applicative.spec b/ghc-optparse-applicative.spec index ff61142..118adad 100644 --- a/ghc-optparse-applicative.spec +++ b/ghc-optparse-applicative.spec @@ -7,15 +7,14 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 0.15.1.0 -Release: 5%{?dist} +Version: 0.16.1.0 +Release: 1%{?dist} Summary: Utilities and combinators for parsing command line options License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -28,12 +27,21 @@ BuildRequires: ghc-transformers-prof BuildRequires: ghc-transformers-compat-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-bytestring-devel %endif # End cabal-rpm deps %description -Utilities and combinators for parsing command line options. +Optparse-applicative is a haskell library for parsing options on the command +line, and providing a powerful applicative interface for composing them. + +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, zsh, and fish +completions. + +See the included README for detailed instructions and examples, which is also +available on github . + %package devel Summary: Haskell %{pkg_name} library development files @@ -75,7 +83,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -119,6 +126,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Aug 5 2021 Jens Petersen - 0.16.1.0-1 +- update to 0.16.1.0 + * Thu Jul 22 2021 Fedora Release Engineering - 0.15.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/optparse-applicative-0.15.1.0.cabal b/optparse-applicative-0.15.1.0.cabal deleted file mode 100644 index b398fcf..0000000 --- a/optparse-applicative-0.15.1.0.cabal +++ /dev/null @@ -1,123 +0,0 @@ -name: optparse-applicative -version: 0.15.1.0 -x-revision: 1 -synopsis: Utilities and combinators for parsing command line options -description: - 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 - . -license: BSD3 -license-file: LICENSE -author: Paolo Capriotti, Huw Campbell -maintainer: huw.campbell@gmail.com -copyright: (c) 2012-2017 Paolo Capriotti -category: System, CLI, Options, Parsing -build-type: Simple -cabal-version: >= 1.8 -extra-source-files: CHANGELOG.md - README.md - tests/alt.err.txt - tests/cabal.err.txt - tests/carry.err.txt - tests/commands.err.txt - tests/commands_header.err.txt - tests/commands_header_full.err.txt - tests/dropback.err.txt - tests/hello.err.txt - tests/helponempty.err.txt - tests/helponemptysub.err.txt - tests/long_equals.err.txt - tests/formatting.err.txt - tests/nested.err.txt - tests/optional.err.txt - tests/nested_optional.err.txt - tests/subparsers.err.txt - -homepage: https://github.com/pcapriotti/optparse-applicative -bug-reports: https://github.com/pcapriotti/optparse-applicative/issues -tested-with: - GHC==7.0.4, - GHC==7.2.2, - GHC==7.4.2, - GHC==7.6.3, - GHC==7.8.4, - GHC==7.10.3, - GHC==8.0.2, - GHC==8.2.2, - GHC==8.4.4, - GHC==8.6.5, - GHC==8.8.1 - -source-repository head - type: git - location: https://github.com/pcapriotti/optparse-applicative.git - -library - hs-source-dirs: src - ghc-options: -Wall - - -- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0 - if impl(ghc >= 8.0) - ghc-options: -Wno-redundant-constraints -Wcompat -Wnoncanonical-monad-instances - if impl(ghc < 8.8) - ghc-options: -Wnoncanonical-monadfail-instances - - exposed-modules: Options.Applicative - , Options.Applicative.Arrows - , Options.Applicative.BashCompletion - , Options.Applicative.Builder - , Options.Applicative.Builder.Completer - , Options.Applicative.Builder.Internal - , Options.Applicative.Common - , Options.Applicative.Extra - , Options.Applicative.Help - , Options.Applicative.Help.Chunk - , Options.Applicative.Help.Core - , Options.Applicative.Help.Levenshtein - , Options.Applicative.Help.Pretty - , Options.Applicative.Help.Types - , Options.Applicative.Types - , Options.Applicative.Internal - - build-depends: base == 4.* - , transformers >= 0.2 && < 0.6 - , transformers-compat >= 0.3 && < 0.7 - , process >= 1.0 && < 1.7 - , ansi-wl-pprint >= 0.6.8 && < 0.7 - - if !impl(ghc >= 8) - build-depends: semigroups >= 0.10 && < 0.20 - , fail == 4.9.* - -test-suite tests - type: exitcode-stdio-1.0 - - main-is: test.hs - - ghc-options: -Wall -threaded -O2 -funbox-strict-fields - - hs-source-dirs: - tests - - other-modules: Examples.Alternatives - , Examples.Cabal - , Examples.Commands - , Examples.Formatting - , Examples.Hello - - build-depends: base - , bytestring >= 0.9 && < 0.11 - , optparse-applicative - , QuickCheck >= 2.8 && < 2.15 - - if !impl(ghc >= 8) - build-depends: semigroups diff --git a/sources b/sources index 44fe9b0..85227e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (optparse-applicative-0.15.1.0.tar.gz) = e7ab0a2b4812bbfe7802c2d51a45a4f5a5ea162b094631dc6ee4cd79e5def4101ccb04305cfa16942926809ed656f91aa6f68c4d98e93171ca9be99ba40cc51e +SHA512 (optparse-applicative-0.16.1.0.tar.gz) = 46bdb37b1328a6dbf271dcdb3483266c0c8412fc489e68e32b114745d9cf0108dd49df6cb565df3470121931a769f11996f5fd9fd8e9e38ed6b6853faab56710