update to 0.17.0.0

This commit is contained in:
Jens Petersen 2023-01-23 01:29:16 +08:00
parent 387e0741f5
commit 20d944dc7f
4 changed files with 17 additions and 140 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@
/optparse-applicative-0.14.3.0.tar.gz
/optparse-applicative-0.15.1.0.tar.gz
/optparse-applicative-0.16.1.0.tar.gz
/optparse-applicative-0.17.0.0.tar.gz

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.0.9
# generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name optparse-applicative
@ -7,26 +7,31 @@
%bcond_without tests
Name: ghc-%{pkg_name}
Version: 0.16.1.0
Release: 4%{?dist}
Version: 0.17.0.0
Release: 1%{?dist}
Summary: Utilities and combinators for parsing command line options
License: BSD
License: BSD-3-Clause
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:
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-ansi-wl-pprint-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-transformers-compat-devel
%if %{with ghc_prof}
BuildRequires: ghc-ansi-wl-pprint-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-process-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-transformers-compat-prof
%endif
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
%endif
@ -85,7 +90,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
@ -129,6 +133,10 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
%changelog
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.17.0.0-1
- https://hackage.haskell.org/package/optparse-applicative-0.17.0.0/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,132 +0,0 @@
name: optparse-applicative
version: 0.16.1.0
x-revision: 2
synopsis: Utilities and combinators for parsing command line options
description:
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
<https://github.com/pcapriotti/optparse-applicative>.
license: BSD3
license-file: LICENSE
author: Paolo Capriotti, Huw Campbell
maintainer: huw.campbell@gmail.com
copyright: (c) 2012-2017 Paolo Capriotti <paolo@capriotti.io>
category: System, CLI, Options, Parsing
build-type: Simple
cabal-version: >= 1.10
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
flag process
description:
Depend on the process package for Bash autocompletion
default: True
library
hs-source-dirs: src
ghc-options: -Wall
default-language: Haskell98
-- 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.NonEmpty
, Options.Applicative.Types
, Options.Applicative.Internal
build-depends: base == 4.*
, transformers >= 0.2 && < 0.7
, transformers-compat >= 0.3 && < 0.8
, ansi-wl-pprint >= 0.6.8 && < 0.7
if flag(process)
build-depends: process >= 1.0 && < 1.7
if !impl(ghc >= 8)
build-depends: semigroups >= 0.10 && < 0.21
, 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
default-language: Haskell98
other-modules: Examples.Alternatives
, Examples.Cabal
, Examples.Commands
, Examples.Formatting
, Examples.Hello
build-depends: base
, optparse-applicative
, QuickCheck >= 2.8 && < 2.15
if !impl(ghc >= 8)
build-depends: semigroups

View File

@ -1 +1 @@
SHA512 (optparse-applicative-0.16.1.0.tar.gz) = 46bdb37b1328a6dbf271dcdb3483266c0c8412fc489e68e32b114745d9cf0108dd49df6cb565df3470121931a769f11996f5fd9fd8e9e38ed6b6853faab56710
SHA512 (optparse-applicative-0.17.0.0.tar.gz) = 986325ec8bab922aad121d2526e847ee046d9b5d5d378c0d82ba596d96d17a0221d59bf9b25d12907d3247760c5f5c657d8368a0a5fda21fbc817d81fff66dc1