update to 0.2.5.0
This commit is contained in:
parent
9551a469a4
commit
d5cef2a4d1
|
@ -1 +1,2 @@
|
||||||
/config-ini-0.2.4.0.tar.gz
|
/config-ini-0.2.4.0.tar.gz
|
||||||
|
/config-ini-0.2.5.0.tar.gz
|
||||||
|
|
|
@ -1,94 +1,94 @@
|
||||||
name: config-ini
|
name: config-ini
|
||||||
version: 0.2.4.0
|
version: 0.2.5.0
|
||||||
x-revision: 2
|
synopsis: A library for simple INI-based configuration files.
|
||||||
synopsis: A library for simple INI-based configuration files.
|
homepage: https://github.com/aisamanra/config-ini
|
||||||
homepage: https://github.com/aisamanra/config-ini
|
bug-reports: https://github.com/aisamanra/config-ini/issues
|
||||||
bug-reports: https://github.com/aisamanra/config-ini/issues
|
description: The @config-ini@ library is a set of small monadic languages
|
||||||
description: The @config-ini@ library is a set of small monadic languages
|
for writing simple configuration languages with convenient,
|
||||||
for writing simple configuration languages with convenient,
|
human-readable error messages.
|
||||||
human-readable error messages.
|
.
|
||||||
.
|
> parseConfig :: IniParser (Text, Int, Bool)
|
||||||
> parseConfig :: IniParser (Text, Int, Bool)
|
> parseConfig = section "NETWORK" $ do
|
||||||
> parseConfig = section "NETWORK" $ do
|
> user <- field "user"
|
||||||
> user <- field "user"
|
> port <- fieldOf "port" number
|
||||||
> port <- fieldOf "port" number
|
> enc <- fieldFlagDef "encryption" True
|
||||||
> enc <- fieldFlagDef "encryption" True
|
> return (user, port, enc)
|
||||||
> return (user, port, enc)
|
|
||||||
|
license: BSD3
|
||||||
license: BSD3
|
license-file: LICENSE
|
||||||
license-file: LICENSE
|
author: Getty Ritter <config-ini@infinitenegativeutility.com>
|
||||||
author: Getty Ritter <config-ini@infinitenegativeutility.com>
|
maintainer: Getty Ritter <config-ini@infinitenegativeutility.com>
|
||||||
maintainer: Getty Ritter <config-ini@infinitenegativeutility.com>
|
copyright: ©2018 Getty Ritter
|
||||||
copyright: ©2018 Getty Ritter
|
category: Configuration
|
||||||
category: Configuration
|
build-type: Simple
|
||||||
build-type: Simple
|
cabal-version: 1.18
|
||||||
cabal-version: 1.18
|
tested-with: GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.4, GHC == 9.4.2
|
||||||
extra-source-files:
|
extra-source-files:
|
||||||
README.md,
|
README.md,
|
||||||
CHANGELOG.md,
|
CHANGELOG.md,
|
||||||
test/prewritten/cases/*.hs,
|
test/prewritten/cases/*.hs,
|
||||||
test/prewritten/cases/*.ini
|
test/prewritten/cases/*.ini
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
location: git://github.com/aisamanra/config-ini.git
|
location: git://github.com/aisamanra/config-ini.git
|
||||||
|
|
||||||
flag enable-doctests
|
flag enable-doctests
|
||||||
description: Build doctest modules as well (can be finicky)
|
description: Build doctest modules as well (can be finicky)
|
||||||
default: False
|
default: False
|
||||||
|
|
||||||
library
|
library
|
||||||
hs-source-dirs: src
|
hs-source-dirs: src
|
||||||
exposed-modules: Data.Ini.Config
|
exposed-modules: Data.Ini.Config
|
||||||
, Data.Ini.Config.Bidir
|
, Data.Ini.Config.Bidir
|
||||||
, Data.Ini.Config.Raw
|
, Data.Ini.Config.Raw
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
if impl(ghc > 8.0)
|
if impl(ghc > 8.0)
|
||||||
ghc-options: -fno-warn-redundant-constraints
|
ghc-options: -fno-warn-redundant-constraints
|
||||||
build-depends: base >=4.8 && <5
|
build-depends: base >=4.8 && <5
|
||||||
, containers >=0.5 && <0.7
|
, containers >=0.5 && <0.7
|
||||||
, text >=1.2.2 && <1.3
|
, text >=1.2.2 && <2.1
|
||||||
, unordered-containers >=0.2.7 && <0.3
|
, unordered-containers >=0.2.7 && <0.3
|
||||||
, transformers >=0.4.1 && <0.6
|
, transformers >=0.4.1 && <0.6
|
||||||
, megaparsec >=7 && <10
|
, megaparsec >=7 && <10
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|
||||||
test-suite test-ini-compat
|
test-suite test-ini-compat
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
ghc-options: -Wall -threaded
|
ghc-options: -Wall -threaded
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
hs-source-dirs: test/ini-compat
|
hs-source-dirs: test/ini-compat
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
build-depends: base
|
build-depends: base
|
||||||
, ini
|
, ini >=0.4
|
||||||
, config-ini
|
, config-ini
|
||||||
, hedgehog
|
, hedgehog
|
||||||
, containers
|
, containers
|
||||||
, unordered-containers
|
, unordered-containers
|
||||||
, text
|
, text
|
||||||
|
|
||||||
test-suite test-prewritten
|
test-suite test-prewritten
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
hs-source-dirs: test/prewritten
|
hs-source-dirs: test/prewritten
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
build-depends: base
|
build-depends: base
|
||||||
, config-ini
|
, config-ini
|
||||||
, containers
|
, containers
|
||||||
, unordered-containers
|
, unordered-containers
|
||||||
, text
|
, text
|
||||||
, directory
|
, directory
|
||||||
|
|
||||||
test-suite test-doctest
|
test-suite test-doctest
|
||||||
if impl(ghc < 7.10) || !flag(enable-doctests)
|
if impl(ghc < 7.10) || !flag(enable-doctests)
|
||||||
buildable: False
|
buildable: False
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
hs-source-dirs: test/doctest
|
hs-source-dirs: test/doctest
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
build-depends: base
|
build-depends: base
|
||||||
, doctest
|
, doctest
|
||||||
, microlens
|
, microlens
|
||||||
, text
|
, text
|
|
@ -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/
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
%global pkg_name config-ini
|
%global pkg_name config-ini
|
||||||
|
@ -7,11 +7,11 @@
|
||||||
# testsuite missing deps: hedgehog ini
|
# testsuite missing deps: hedgehog ini
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.2.4.0
|
Version: 0.2.5.0
|
||||||
Release: 13%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A library for simple INI-based configuration files
|
Summary: A library for simple INI-based configuration files
|
||||||
|
|
||||||
License: BSD
|
License: BSD-3-Clause
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
# Begin cabal-rpm sources:
|
# Begin cabal-rpm sources:
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
|
@ -21,12 +21,20 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: ghc-base-devel
|
||||||
|
BuildRequires: ghc-containers-devel
|
||||||
|
BuildRequires: ghc-megaparsec-devel
|
||||||
|
BuildRequires: ghc-text-devel
|
||||||
|
BuildRequires: ghc-transformers-devel
|
||||||
|
BuildRequires: ghc-unordered-containers-devel
|
||||||
|
%if %{with ghc_prof}
|
||||||
BuildRequires: ghc-base-prof
|
BuildRequires: ghc-base-prof
|
||||||
BuildRequires: ghc-containers-prof
|
BuildRequires: ghc-containers-prof
|
||||||
BuildRequires: ghc-megaparsec-prof
|
BuildRequires: ghc-megaparsec-prof
|
||||||
BuildRequires: ghc-text-prof
|
BuildRequires: ghc-text-prof
|
||||||
BuildRequires: ghc-transformers-prof
|
BuildRequires: ghc-transformers-prof
|
||||||
BuildRequires: ghc-unordered-containers-prof
|
BuildRequires: ghc-unordered-containers-prof
|
||||||
|
%endif
|
||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -110,6 +118,10 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.2.5.0-1
|
||||||
|
- https://hackage.haskell.org/package/config-ini-0.2.5.0/changelog
|
||||||
|
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
||||||
|
|
||||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4.0-13
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4.0-13
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
||||||
SHA512 (config-ini-0.2.4.0.tar.gz) = 76af8bf132d545425d9db5579df2e37fa08cad479adf5f586fb3becd0712e2329eae019db1796cd24c6fda80aa958e45450ebae74a5bcbdfad9337ae44696a5e
|
SHA512 (config-ini-0.2.5.0.tar.gz) = 3b090084c1e851ab926259646881caf6b89353bac212741195863c570d0be68e7482d2b467c9e4ce28b138da466eee435a916913d449bf442cbd67f33614c713
|
||||||
|
|
Loading…
Reference in New Issue