osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-config-ini revision:16, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-config-ini?expand=0&rev=16
This commit is contained in:
parent
1e16c3b731
commit
fb06bdf8d0
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6e5194e8acb7d189f0904852138990d03b64f86b9fde8f591ee1341d5627d535
|
||||
size 24677
|
3
config-ini-0.2.5.0.tar.gz
Normal file
3
config-ini-0.2.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6f7ce53c22392b5b41e3c0a9853e4183c3bbcb18010f9630f48a90f69bbf6f1f
|
||||
size 24807
|
@ -1,94 +0,0 @@
|
||||
name: config-ini
|
||||
version: 0.2.4.0
|
||||
x-revision: 2
|
||||
synopsis: A library for simple INI-based configuration files.
|
||||
homepage: https://github.com/aisamanra/config-ini
|
||||
bug-reports: https://github.com/aisamanra/config-ini/issues
|
||||
description: The @config-ini@ library is a set of small monadic languages
|
||||
for writing simple configuration languages with convenient,
|
||||
human-readable error messages.
|
||||
.
|
||||
> parseConfig :: IniParser (Text, Int, Bool)
|
||||
> parseConfig = section "NETWORK" $ do
|
||||
> user <- field "user"
|
||||
> port <- fieldOf "port" number
|
||||
> enc <- fieldFlagDef "encryption" True
|
||||
> return (user, port, enc)
|
||||
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Getty Ritter <config-ini@infinitenegativeutility.com>
|
||||
maintainer: Getty Ritter <config-ini@infinitenegativeutility.com>
|
||||
copyright: ©2018 Getty Ritter
|
||||
category: Configuration
|
||||
build-type: Simple
|
||||
cabal-version: 1.18
|
||||
extra-source-files:
|
||||
README.md,
|
||||
CHANGELOG.md,
|
||||
test/prewritten/cases/*.hs,
|
||||
test/prewritten/cases/*.ini
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/aisamanra/config-ini.git
|
||||
|
||||
flag enable-doctests
|
||||
description: Build doctest modules as well (can be finicky)
|
||||
default: False
|
||||
|
||||
library
|
||||
hs-source-dirs: src
|
||||
exposed-modules: Data.Ini.Config
|
||||
, Data.Ini.Config.Bidir
|
||||
, Data.Ini.Config.Raw
|
||||
ghc-options: -Wall
|
||||
if impl(ghc > 8.0)
|
||||
ghc-options: -fno-warn-redundant-constraints
|
||||
build-depends: base >=4.8 && <5
|
||||
, containers >=0.5 && <0.7
|
||||
, text >=1.2.2 && <1.3
|
||||
, unordered-containers >=0.2.7 && <0.3
|
||||
, transformers >=0.4.1 && <0.6
|
||||
, megaparsec >=7 && <10
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite test-ini-compat
|
||||
type: exitcode-stdio-1.0
|
||||
ghc-options: -Wall -threaded
|
||||
default-language: Haskell2010
|
||||
hs-source-dirs: test/ini-compat
|
||||
main-is: Main.hs
|
||||
build-depends: base
|
||||
, ini
|
||||
, config-ini
|
||||
, hedgehog
|
||||
, containers
|
||||
, unordered-containers
|
||||
, text
|
||||
|
||||
test-suite test-prewritten
|
||||
type: exitcode-stdio-1.0
|
||||
ghc-options: -Wall
|
||||
default-language: Haskell2010
|
||||
hs-source-dirs: test/prewritten
|
||||
main-is: Main.hs
|
||||
build-depends: base
|
||||
, config-ini
|
||||
, containers
|
||||
, unordered-containers
|
||||
, text
|
||||
, directory
|
||||
|
||||
test-suite test-doctest
|
||||
if impl(ghc < 7.10) || !flag(enable-doctests)
|
||||
buildable: False
|
||||
type: exitcode-stdio-1.0
|
||||
ghc-options: -Wall
|
||||
default-language: Haskell2010
|
||||
hs-source-dirs: test/doctest
|
||||
main-is: Main.hs
|
||||
build-depends: base
|
||||
, doctest
|
||||
, microlens
|
||||
, text
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 19 19:36:33 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update config-ini to version 0.2.5.0.
|
||||
Upstream has not updated the file "CHANGELOG.md" since the last
|
||||
release.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-config-ini
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,13 +19,12 @@
|
||||
%global pkg_name config-ini
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.2.4.0
|
||||
Version: 0.2.5.0
|
||||
Release: 0
|
||||
Summary: A library for simple INI-based configuration files
|
||||
License: BSD-3-Clause
|
||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-megaparsec-devel
|
||||
@ -60,7 +59,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
Loading…
x
Reference in New Issue
Block a user