summaryrefslogtreecommitdiff
path: root/dev-haskell/configfile
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/configfile
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/configfile')
-rw-r--r--dev-haskell/configfile/Manifest3
-rw-r--r--dev-haskell/configfile/configfile-1.1.4.ebuild39
-rw-r--r--dev-haskell/configfile/metadata.xml26
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-haskell/configfile/Manifest b/dev-haskell/configfile/Manifest
new file mode 100644
index 000000000000..3d64d4e9da64
--- /dev/null
+++ b/dev-haskell/configfile/Manifest
@@ -0,0 +1,3 @@
+DIST ConfigFile-1.1.4.tar.gz 28969 BLAKE2B 8cd70d207a26fabab3d7b124d17857ee8004a38388bba921fb658b9f09df4d082ea73149ee1d8fc7f5737f521f4f81727f60034b507265e7bd5ec89683d88965 SHA512 4455110c95172461b2d82ae88ba4f386d5e49ddd7f7def83714d2f6198090f0d121166eece3efa735341da9bbc0029e704be00d3e671d24ad27e838dfe913776
+EBUILD configfile-1.1.4.ebuild 911 BLAKE2B 585bbbccbb98d39bed5f2db7fc948ced517fb33d4624a95bb5dd6500e44b9cf80687eea15842eb18ae07dea749c5bf9b209e99ff09779a816a490ed898e9e8fd SHA512 63b587a5e1f4342d2068768fa02482dd0f0c52f76b5b9c97813696349b730c6d9ceb96a38c0f3dc8a18cf092f11cab95dc3d6778466119b660f48ac484e215fa
+MISC metadata.xml 963 BLAKE2B 9a0aa6609ab53aaac1f4cb37fb9c127f0491028c7966c6488897082152eb5933909ed5422f00a5e674e48668a8ee97b8ff1c09032cbc8a20dda9e49db0b03d94 SHA512 c1ddc5710ba6efb5705dc71c8c0306741f7df077bfb4e4fb9cc85771fba6630a2263e226597059c9135d7d2d97eef2d2ec4a89033879535b549bfd243a7f6ab7
diff --git a/dev-haskell/configfile/configfile-1.1.4.ebuild b/dev-haskell/configfile/configfile-1.1.4.ebuild
new file mode 100644
index 000000000000..f6bfd6f87d5a
--- /dev/null
+++ b/dev-haskell/configfile/configfile-1.1.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="ConfigFile"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Configuration file reading & writing"
+HOMEPAGE="http://software.complete.org/configfile"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="buildtests"
+
+RDEPEND=">=dev-haskell/missingh-1.0.0:=[profile?]
+ dev-haskell/mtl:=[profile?]
+ dev-haskell/parsec:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ buildtests? ( dev-haskell/hunit:=[profile?]
+ dev-haskell/testpack:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2.3
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag buildtests buildtests)
+}
diff --git a/dev-haskell/configfile/metadata.xml b/dev-haskell/configfile/metadata.xml
new file mode 100644
index 000000000000..c430e789391c
--- /dev/null
+++ b/dev-haskell/configfile/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ Parser and writer for handling sectioned config files in
+ Haskell.
+
+ The ConfigFile module works with configuration files in a standard
+ format that is easy for the user to edit, easy for the programmer
+ to work with, yet remains powerful and flexible. It is inspired by,
+ and compatible with, Python's ConfigParser module. It uses files
+ that resemble Windows .INI-style files, but with numerous
+ improvements.
+
+ ConfigFile provides simple calls to both read and write config files.
+ It's possible to make a config file parsable by this module,
+ the Unix shell, and make.
+ </longdescription>
+ <use>
+ <flag name="buildtests">Build the executable to run unit tests.</flag>
+ </use>
+</pkgmetadata>