diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/optparse-applicative | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-haskell/optparse-applicative')
8 files changed, 266 insertions, 0 deletions
diff --git a/dev-haskell/optparse-applicative/Manifest b/dev-haskell/optparse-applicative/Manifest new file mode 100644 index 000000000000..815e9de4960f --- /dev/null +++ b/dev-haskell/optparse-applicative/Manifest @@ -0,0 +1,6 @@ +DIST optparse-applicative-0.11.0.1.tar.gz 30220 SHA256 c919c7cc44dd325b49026661963a4d5dd45fe3a0a9d450ce86af019ea454bf49 SHA512 5f01e5da2b7294a0b8448bd3905fba87bf143873032ffee5cbcf78902b22a0a03bc7da5ba33dda471c466287bebe7066ff2fde03664dbc15a052bb0bdac7b317 WHIRLPOOL bed0b2301143245bd0e2d4310178bd657dcbe1f61f4b6e4c8473ba8d6707c574d7318776f74d7e1a1bf44a4d34c33434174b6ecdd38c35a092b4b7a3cfb02209 +DIST optparse-applicative-0.11.0.2.tar.gz 30425 SHA256 31c6923c01cfd6dce0cf83f3430c17d164169f0db6ff2de9b3b294926214255a SHA512 eb10a274074dacf2a481c964f8fcb125c1ea6be7f33388c938ad310b49d959484102caeb1849e0370292286b7603f68853cf23ded634bb09cd34871eaec74caf WHIRLPOOL 6197030c75db61d5166ff6ad163f52efc025f0a7c8b47a7a363d4dcf5444c4ac2b477dccc3ccc83c85f9e5571cbdf042915a4161a469716cacfd38a6a792748d +DIST optparse-applicative-0.5.2.1.tar.gz 24123 SHA256 1110b926d9c601f8bc24c3e57e08d3f957ad047a60324b11640df51a0a9a9570 SHA512 7246fc6b6c9ec1c9a7b4f4e8850d80fe0958b9c659b2f31c455738d09b70178bb71f164198871874414e1fdf0ecf38098fdbc65f838224a6f6235f2d000f3876 WHIRLPOOL 8935307fd69f50dbbd760df328a0ac9b4f6c2305b205cedaa3316da38bbb59c3d8f377bccdad25229c94ec24021806524ecf6c2c6ac0b9d32f3b07429a0f9245 +DIST optparse-applicative-0.7.0.2.tar.gz 26682 SHA256 9195b7b4719b57c1005a2b7c24b9d5f32fabde268fe06913640e7533041006df SHA512 94f583d7df97f2887cc4fea8d5b22261195c3f30bb9bf0aec2579d5b2d31583692835dc9df1273c544c3ef72343159ee90531450f7c498617a0595479efc5d0c WHIRLPOOL eb6a0dc6251dfebd50adeefd2b7e9e2e34b453f5ee230b5111b640ad2012985ce623b6e67df5361d629ebef226ce9cdd9c9c3fac55583a4d186e952c8ef10daa +DIST optparse-applicative-0.8.1.tar.gz 32055 SHA256 90f21ee33511f9d5e77d9b30c9043a0870affdbb54870806f83cb7287249c27f SHA512 bd7b8462d897439a77dffdc187dbf61e51937960e339c3bd5009b7479e84dd1ca1e40529c8ffd7d198d26542c23e38c45d91abe8e1b1d420090859f0f07574d6 WHIRLPOOL 13766316caa36361ed543dec4400dd11e804c7a71f09d9dbf303a8b354e4b507de119a88e82f4ecfbe7ed9cbdb72072ce5005bbbcbd2e23310820a8cb123d9c0 +DIST optparse-applicative-0.9.1.1.tar.gz 32757 SHA256 e6093c36f9b996f8431f588c1b95439fe151278e72a9236f51e2b5e4d340c8bb SHA512 616e144512e8628dbc88bc0ce6e47f4aa95a6d5e5fbc3b07aabaf4bedb104808bed7bb959bbb4d88aa6861b98dedbc4ac08924e220ef2cd3b3ebc42945871bdd WHIRLPOOL d4ea82cb2533f666206f7efad13e5eb22bd60ddbd3adb8c21478151e2a890cdeb2d4e73ea709612bea6ca95f3807c2339d781b045325b05b2f6e68d3a8ef53a3 diff --git a/dev-haskell/optparse-applicative/metadata.xml b/dev-haskell/optparse-applicative/metadata.xml new file mode 100644 index 000000000000..a2d33046e859 --- /dev/null +++ b/dev-haskell/optparse-applicative/metadata.xml @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <longdescription> + Here is a simple example of an applicative option parser: + + @ + data Sample = Sample + &#x20; &#x7b; hello :: String + &#x20; , quiet :: Bool &#x7d; + + sample :: Parser Sample + sample = Sample + &#x20; \<$\> strOption + &#x20; ( long \"hello\" + &#x20; & metavar \"TARGET\" + &#x20; & help \"Target for the greeting\" ) + &#x20; \<*\> switch + &#x20; ( long \"quiet\" + &#x20; & help \"Whether to be quiet\" ) + @ + + The parser is built using applicative style starting from a set of basic + combinators. In this example, @hello@ is defined as an 'option' with a + @String@ argument, while @quiet@ is a boolean 'flag' (called 'switch'). + + A parser can be used like this: + + @ + greet :: Sample -> IO () + greet (Sample h False) = putStrLn $ \"Hello, \" ++ h + greet _ = return () + + main :: IO () + main = execParser opts \>\>= greet + &#x20; where + &#x20; opts = info (helper \<*\> sample) + &#x20; ( fullDesc + &#x20; & progDesc \"Print a greeting for TARGET\" + &#x20; & header \"hello - a test for optparse-applicative\" ) + @ + + The @greet@ function is the entry point of the program, while @opts@ is a + complete description of the program, used when generating a help text. The + 'helper' combinator takes any parser, and adds a @help@ option to it (which + always fails). + + The @hello@ option in this example is mandatory (since it doesn't have a + default value), so running the program without any argument will display a + help text: + + >hello - a test for optparse-applicative + > + >Usage: hello --hello TARGET [--quiet] + > Print a greeting for TARGET + > + >Available options: + > -h,--help Show this help text + > --hello TARGET Target for the greeting + > --quiet Whether to be quiet + + containing a short usage summary, and a detailed list of options with + descriptions. + </longdescription> + <upstream> + <remote-id type="github">pcapriotti/optparse-applicative</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/optparse-applicative/optparse-applicative-0.11.0.1.ebuild b/dev-haskell/optparse-applicative/optparse-applicative-0.11.0.1.ebuild new file mode 100644 index 000000000000..32b43b5108a3 --- /dev/null +++ b/dev-haskell/optparse-applicative/optparse-applicative-0.11.0.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Utilities and combinators for parsing command line options" +HOMEPAGE="https://github.com/pcapriotti/optparse-applicative" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/ansi-wl-pprint-0.6:=[profile?] <dev-haskell/ansi-wl-pprint-0.7:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.5:=[profile?] + >=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-0.4:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 +" diff --git a/dev-haskell/optparse-applicative/optparse-applicative-0.11.0.2.ebuild b/dev-haskell/optparse-applicative/optparse-applicative-0.11.0.2.ebuild new file mode 100644 index 000000000000..41364dfe2062 --- /dev/null +++ b/dev-haskell/optparse-applicative/optparse-applicative-0.11.0.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.4.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Utilities and combinators for parsing command line options" +HOMEPAGE="https://github.com/pcapriotti/optparse-applicative" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/ansi-wl-pprint-0.6:=[profile?] <dev-haskell/ansi-wl-pprint-0.7:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.5:=[profile?] + >=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-0.5:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 +" diff --git a/dev-haskell/optparse-applicative/optparse-applicative-0.5.2.1.ebuild b/dev-haskell/optparse-applicative/optparse-applicative-0.5.2.1.ebuild new file mode 100644 index 000000000000..70b9e7290afd --- /dev/null +++ b/dev-haskell/optparse-applicative/optparse-applicative-0.5.2.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.3.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Utilities and combinators for parsing command line options" +HOMEPAGE="https://github.com/pcapriotti/optparse-applicative" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/transformers-0.2:=[profile?] + <dev-haskell/transformers-0.4:=[profile?] + >=dev-lang/ghc-7.4.1:=" +DEPEND="${RDEPEND} + test? ( =dev-haskell/hunit-1.2* + >=dev-haskell/test-framework-0.6 + <dev-haskell/test-framework-0.9 + >=dev-haskell/test-framework-hunit-0.2 + <dev-haskell/test-framework-hunit-0.4 + =dev-haskell/test-framework-th-prime-0.0* + ) + >=dev-haskell/cabal-1.8" diff --git a/dev-haskell/optparse-applicative/optparse-applicative-0.7.0.2.ebuild b/dev-haskell/optparse-applicative/optparse-applicative-0.7.0.2.ebuild new file mode 100644 index 000000000000..d944628d660d --- /dev/null +++ b/dev-haskell/optparse-applicative/optparse-applicative-0.7.0.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.3.4.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Utilities and combinators for parsing command line options" +HOMEPAGE="https://github.com/pcapriotti/optparse-applicative" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc x86" +IUSE="" + +RDEPEND=">=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.4:=[profile?] + >=dev-lang/ghc-6.10.4:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.3 + >=dev-haskell/test-framework-0.6 <dev-haskell/test-framework-0.9 + >=dev-haskell/test-framework-hunit-0.2 <dev-haskell/test-framework-hunit-0.4 + >=dev-haskell/test-framework-th-prime-0.0 <dev-haskell/test-framework-th-prime-0.1 ) +" diff --git a/dev-haskell/optparse-applicative/optparse-applicative-0.8.1-r1.ebuild b/dev-haskell/optparse-applicative/optparse-applicative-0.8.1-r1.ebuild new file mode 100644 index 000000000000..375c6191c06f --- /dev/null +++ b/dev-haskell/optparse-applicative/optparse-applicative-0.8.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Utilities and combinators for parsing command line options" +HOMEPAGE="https://github.com/pcapriotti/optparse-applicative" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/ansi-wl-pprint-0.6:=[profile?] <dev-haskell/ansi-wl-pprint-0.7:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.5:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.3 + >=dev-haskell/quickcheck-2.6 <dev-haskell/quickcheck-2.8 + >=dev-haskell/test-framework-0.6 <dev-haskell/test-framework-0.9 + >=dev-haskell/test-framework-hunit-0.2 <dev-haskell/test-framework-hunit-0.4 + >=dev-haskell/test-framework-quickcheck2-0.3 <dev-haskell/test-framework-quickcheck2-0.4 + >=dev-haskell/test-framework-th-prime-0.0 <dev-haskell/test-framework-th-prime-0.1 ) +" + +src_prepare() { + cabal_chdeps \ + 'transformers >= 0.2 && < 0.4' \ + 'transformers >= 0.2 && < 0.5' +} diff --git a/dev-haskell/optparse-applicative/optparse-applicative-0.9.1.1.ebuild b/dev-haskell/optparse-applicative/optparse-applicative-0.9.1.1.ebuild new file mode 100644 index 000000000000..34e2b52ef04d --- /dev/null +++ b/dev-haskell/optparse-applicative/optparse-applicative-0.9.1.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.3.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Utilities and combinators for parsing command line options" +HOMEPAGE="https://github.com/pcapriotti/optparse-applicative" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/ansi-wl-pprint-0.6:=[profile?] <dev-haskell/ansi-wl-pprint-0.7:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.5:=[profile?] + >=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-0.4:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.3 + >=dev-haskell/quickcheck-2.6 <dev-haskell/quickcheck-2.8 + >=dev-haskell/test-framework-0.6 <dev-haskell/test-framework-0.9 + >=dev-haskell/test-framework-hunit-0.2 <dev-haskell/test-framework-hunit-0.4 + >=dev-haskell/test-framework-quickcheck2-0.3 <dev-haskell/test-framework-quickcheck2-0.4 + >=dev-haskell/test-framework-th-prime-0.0 <dev-haskell/test-framework-th-prime-0.1 ) +" |