From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-haskell/optparse-applicative/Manifest | 15 +++++ dev-haskell/optparse-applicative/metadata.xml | 72 ++++++++++++++++++++++ .../optparse-applicative-0.11.0.2.ebuild | 27 ++++++++ .../optparse-applicative-0.13.0.0.ebuild | 37 +++++++++++ .../optparse-applicative-0.14.2.0.ebuild | 29 +++++++++ .../optparse-applicative-0.5.2.1.ebuild | 31 ++++++++++ .../optparse-applicative-0.7.0.2.ebuild | 29 +++++++++ .../optparse-applicative-0.8.1-r1.ebuild | 38 ++++++++++++ .../optparse-applicative-0.9.1.1.ebuild | 33 ++++++++++ 9 files changed, 311 insertions(+) create mode 100644 dev-haskell/optparse-applicative/Manifest create mode 100644 dev-haskell/optparse-applicative/metadata.xml create mode 100644 dev-haskell/optparse-applicative/optparse-applicative-0.11.0.2.ebuild create mode 100644 dev-haskell/optparse-applicative/optparse-applicative-0.13.0.0.ebuild create mode 100644 dev-haskell/optparse-applicative/optparse-applicative-0.14.2.0.ebuild create mode 100644 dev-haskell/optparse-applicative/optparse-applicative-0.5.2.1.ebuild create mode 100644 dev-haskell/optparse-applicative/optparse-applicative-0.7.0.2.ebuild create mode 100644 dev-haskell/optparse-applicative/optparse-applicative-0.8.1-r1.ebuild create mode 100644 dev-haskell/optparse-applicative/optparse-applicative-0.9.1.1.ebuild (limited to 'dev-haskell/optparse-applicative') diff --git a/dev-haskell/optparse-applicative/Manifest b/dev-haskell/optparse-applicative/Manifest new file mode 100644 index 000000000000..f0348ca709dd --- /dev/null +++ b/dev-haskell/optparse-applicative/Manifest @@ -0,0 +1,15 @@ +DIST optparse-applicative-0.11.0.2.tar.gz 30425 BLAKE2B 2bcdff429adc14240883b2bb1f54449d18ce10ae787f4575a60bf170868f71d4633ceea509f0b5ed4fc71a1d0d1fd68b07782ebf2b2a820e47a8c2fbf246c677 SHA512 eb10a274074dacf2a481c964f8fcb125c1ea6be7f33388c938ad310b49d959484102caeb1849e0370292286b7603f68853cf23ded634bb09cd34871eaec74caf +DIST optparse-applicative-0.13.0.0.tar.gz 36101 BLAKE2B 4dae014b933ee9e89cc417327763b92a94647ee7b5b31662df73cc3d7a1ae26dae2e2931cc1f5e573753ba7dbdefffc797125621650c248c12ecdc72c40a4232 SHA512 ef08f4b994703a35f7c50ba93017742188c612c99a6e69cf7329a42427e2862ec0b8498fa57dd1f64a225d3ed94c62815af211efead9e73adc32482e22e46ccb +DIST optparse-applicative-0.14.2.0.tar.gz 53512 BLAKE2B 512823fe0c10c31eb213aa68e1821918ebc4034b171c3f5b0c62ea2072c9b6e54695a3f94bc4d73dc1f19f67dfb664ccdfae7fe1cf0ab46433a618e7709401d3 SHA512 ad2252e4501be93ccf1fd9529790b850bdb01b8f36ac9cbb4145015d7609799c9774fd42feec9c8a8b535a9d17b60e0f80b9e75ac7c92444aa5098d2b9ccc096 +DIST optparse-applicative-0.5.2.1.tar.gz 24123 BLAKE2B aec5c0718ff629097b80a635077544d6f441fa653c4d71b196c4a5fe6773485c62fb94d615f56852bef024f262800316c18db3df30ed0d4b53c745125ace1c86 SHA512 7246fc6b6c9ec1c9a7b4f4e8850d80fe0958b9c659b2f31c455738d09b70178bb71f164198871874414e1fdf0ecf38098fdbc65f838224a6f6235f2d000f3876 +DIST optparse-applicative-0.7.0.2.tar.gz 26682 BLAKE2B 4cca1216fc7267adb848d716e8ea5a9e895b418d9cd8410e1de6ee22f3eb909559ab404846af3cdbbb9c26503410f3c02dbf440296ba49252ca691ad144337e9 SHA512 94f583d7df97f2887cc4fea8d5b22261195c3f30bb9bf0aec2579d5b2d31583692835dc9df1273c544c3ef72343159ee90531450f7c498617a0595479efc5d0c +DIST optparse-applicative-0.8.1.tar.gz 32055 BLAKE2B cc11e066a37e4506189c390db7b999ef1e87082d015f09c0bc922369e864d861791c9cfad543a9d891ce964dfd53625fc36d9a4d4513a7ca9973562e3fda679a SHA512 bd7b8462d897439a77dffdc187dbf61e51937960e339c3bd5009b7479e84dd1ca1e40529c8ffd7d198d26542c23e38c45d91abe8e1b1d420090859f0f07574d6 +DIST optparse-applicative-0.9.1.1.tar.gz 32757 BLAKE2B c169a44d8256a573e9df11f8754930e5b3e8aa6c9b49d370f7cd3debc3546dabda40319a875b8a44b9c25bd5281377568e80e5b705d55f16e3fbb95851f4726a SHA512 616e144512e8628dbc88bc0ce6e47f4aa95a6d5e5fbc3b07aabaf4bedb104808bed7bb959bbb4d88aa6861b98dedbc4ac08924e220ef2cd3b3ebc42945871bdd +EBUILD optparse-applicative-0.11.0.2.ebuild 873 BLAKE2B 1d9de0711ac87f2101d08055f74d4edc93c6b14520949239ca43bc1f999092f6dbc1e7b2c3693f54202f58477c3d02fdb4f947dd13d9ae15db8ebeb89a831efa SHA512 062e2031a3785156e06c49d27ed433f90c3d9685cd12b96273708bffe832efbb2e1f88d95e3387736a49612bbc8214f9a269be2eb059799ff4ddc96dc8c1df8e +EBUILD optparse-applicative-0.13.0.0.ebuild 1072 BLAKE2B bc61b44883f27989bbf5c21febdc9ae770080de65f860bcc0f9da347af67f6fc8ec573a50246c1dcaacc4f6f6dc6e7ee3e9e71646818a0a0f34158ad8e932f6c SHA512 a2d0b0491060ce63652b97aa7e940a4448cff0fa673d04aa702360d7da2e77980761600f0e848f20c7ad48aaac21e7f9ae7299c60460dd4b42d7487668580be9 +EBUILD optparse-applicative-0.14.2.0.ebuild 1007 BLAKE2B 42fe3b290dcdc4b9dc11ff5544480a22f1050989810bad0924e58f3f18245dcd45e98a7992cf5d6fddb039835e6bd19939552de0c8d445fcd55896ee1a1a64bc SHA512 6f89c467083cce56f55a3e86fa0adb32dfae664e67ed8c3c5bdf8553abe687a67cb0c68b9b697054fe97352a37afdcfc9f4ddfbd78a8b13c3e64e554e7e6cb51 +EBUILD optparse-applicative-0.5.2.1.ebuild 935 BLAKE2B 5d011e441899448267ffb9e1b73e8d7bdcb97f5d92d80b99c9ab40b1a7ee067b19d521792bbb852526075e7685ef2661e6ec87a4d204c14b8b02461623b5c58a SHA512 2e392465b689d6ac4872c759cd554886219677da306c31c3051f64d5d1abc9e55851226a11e86adf7f022864c0d0b442b8734c6e4424fc8f70c6ad65d04bef84 +EBUILD optparse-applicative-0.7.0.2.ebuild 984 BLAKE2B f081359bd56e35f56275680ed85f3dbf319156c210f3daf6205a3d6e051780b273627855097a8e0a406f5505d110a1a3bd1968c7c2fc0ceee062e5afda3f05e7 SHA512 ad7c701563bbe44077ee529d327c680712e375901725c67dd4ed78f177baa777e69a9b4d07e850cf9346a305e7c4f1ce7dd7c75379414074f062b528cde0e510 +EBUILD optparse-applicative-0.8.1-r1.ebuild 1326 BLAKE2B 93d0230032509f5f8e3b60667715352f48b96f2bc40b47e51330f9ab52c20a67ff76a196df793cf978e9ad33ef3fd2a264e9b4d791a22a54de3fd3274de2d286 SHA512 0bb43517d44157a931430670928814132d9597c730af8056ad3de8e6ecf5ee112ae2cd6be34bdab5c2d775727f95d2a3e24f5a150f71f469b135dc1cf8e80cff +EBUILD optparse-applicative-0.9.1.1.ebuild 1325 BLAKE2B 35365839f263079679cf3eff55e23779be4b26ba02583cc55333771b930b4460c321fb95a7b5e9642fc6a7b61288ff145fdfc73492f2bdadcc7be425d6641734 SHA512 d7f15c5784b130929c4ec02b4fa8ce8aaed972165bef36dc170818852b6670d4045a691256520922c58ed631f60941551f8587c7af834ea9c62d6a5c3740ef90 +MISC metadata.xml 2419 BLAKE2B 72ac407f2e7c334e2eb858f0e2d2989de4ca64c356daebf058d1fce7cd41bbe60f4fd854e36191d47bc19f37742e31d0b05a304e45146ad7d31e2ac51d107819 SHA512 2603f8c908033d5fa05907836fe97b178e8a0de4e4b316af4089b930dc69027e412ea53e47dca3a71ae794c5ff82628f30d14a50c0e705884c942d6274eb88a6 diff --git a/dev-haskell/optparse-applicative/metadata.xml b/dev-haskell/optparse-applicative/metadata.xml new file mode 100644 index 000000000000..a9f0962e5dcf --- /dev/null +++ b/dev-haskell/optparse-applicative/metadata.xml @@ -0,0 +1,72 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + 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. + + + pcapriotti/optparse-applicative + + 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..6f726f121dfc --- /dev/null +++ b/dev-haskell/optparse-applicative/optparse-applicative-0.11.0.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 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="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/transformers-0.2:=[profile?] =dev-haskell/transformers-compat-0.3:=[profile?] =dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 +" diff --git a/dev-haskell/optparse-applicative/optparse-applicative-0.13.0.0.ebuild b/dev-haskell/optparse-applicative/optparse-applicative-0.13.0.0.ebuild new file mode 100644 index 000000000000..7e2d69cbf0a2 --- /dev/null +++ b/dev-haskell/optparse-applicative/optparse-applicative-0.13.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.5.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 x86" +IUSE="" + +RESTRICT=test # missing files + +RDEPEND=">=dev-haskell/ansi-wl-pprint-0.6.6:=[profile?] =dev-haskell/semigroups-0.10:=[profile?] =dev-haskell/transformers-compat-0.3:=[profile?] =dev-lang/ghc-7.8.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 + test? ( >=dev-haskell/quickcheck-2.8 ) +" + +src_prepare() { + default + + cabal_chdeps \ + 'QuickCheck == 2.8.*' 'QuickCheck >= 2.8' +} diff --git a/dev-haskell/optparse-applicative/optparse-applicative-0.14.2.0.ebuild b/dev-haskell/optparse-applicative/optparse-applicative-0.14.2.0.ebuild new file mode 100644 index 000000000000..b894f4d452f5 --- /dev/null +++ b/dev-haskell/optparse-applicative/optparse-applicative-0.14.2.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.5.5 + +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 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/ansi-wl-pprint-0.6.6:=[profile?] =dev-haskell/fail-4.9:=[profile?] =dev-haskell/semigroups-0.10:=[profile?] =dev-haskell/transformers-compat-0.3:=[profile?] =dev-lang/ghc-7.8.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 + test? ( >=dev-haskell/quickcheck-2.8 = 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..218b1ca75010 --- /dev/null +++ b/dev-haskell/optparse-applicative/optparse-applicative-0.9.1.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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/transformers-0.2:=[profile?] =dev-haskell/transformers-compat-0.3:=[profile?] =dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/hunit-1.2 =dev-haskell/quickcheck-2.6 =dev-haskell/test-framework-0.6 =dev-haskell/test-framework-hunit-0.2 =dev-haskell/test-framework-quickcheck2-0.3 =dev-haskell/test-framework-th-prime-0.0