gienah      14/07/02 11:57:55

  Added:                metadata.xml options-1.2-r1.ebuild Manifest
                        ChangeLog
  Log:
  Add options
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
618E971F)

Revision  Changes    Path
1.1                  dev-haskell/options/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/options/metadata.xml?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/options/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
<pkgmetadata>
        <herd>haskell</herd>
        <maintainer>
                <email>[email protected]</email>
        </maintainer>
        <longdescription>
                The @options@ package lets library and application developers 
easily work
                with command-line options.
                
                The following example is a full program that can accept two 
options,
                @--message@ and @--quiet@:
                
                @
                import Control.Applicative
                import Options
                
                data MainOptions = MainOptions
                &amp;#x20;   &amp;#x7b; optMessage :: String
                &amp;#x20;   , optQuiet :: Bool
                &amp;#x20;   &amp;#x7d;
                
                instance &#39;Options&#39; MainOptions where
                &amp;#x20;   defineOptions = pure MainOptions
                &amp;#x20;       \&lt;*\&gt; simpleOption \&quot;message\&quot; 
\&quot;Hello world!\&quot;
                &amp;#x20;           \&quot;A message to show the user.\&quot;
                &amp;#x20;       \&lt;*\&gt; simpleOption \&quot;quiet\&quot; 
False
                &amp;#x20;           \&quot;Whether to be quiet.\&quot;
                
                main :: IO ()
                main = runCommand $ \\opts args -&gt; do
                &amp;#x20;   if optQuiet opts
                &amp;#x20;       then return ()
                &amp;#x20;       else putStrLn (optMessage opts)
                @
                
                &gt;$ ./hello
                &gt;Hello world!
                &gt;$ ./hello --message=&#39;ciao mondo&#39;
                &gt;ciao mondo
                &gt;$ ./hello --quiet
                &gt;$
                
                In addition, this library will automatically create 
documentation options
                such as @--help@ and @--help-all@:
                
                &gt;$ ./hello --help
                &gt;Help Options:
                &gt;  -h, --help
                &gt;    Show option summary.
                &gt;  --help-all
                &gt;    Show all help options.
                &gt;
                &gt;Application Options:
                &gt;  --message :: text
                &gt;    A message to show the user.
                &gt;    default: &quot;Hello world!&quot;
                &gt;  --quiet :: bool
                &gt;    Whether to be quiet.
                &gt;    default: false
        </longdescription>
</pkgmetadata>



1.1                  dev-haskell/options/options-1.2-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/options/options-1.2-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/options/options-1.2-r1.ebuild?rev=1.1&content-type=text/plain

Index: options-1.2-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/options/options-1.2-r1.ebuild,v 
1.1 2014/07/02 11:57:55 gienah Exp $

EAPI=5

# ebuild generated by hackport 0.4.9999

CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal

DESCRIPTION="A powerful and easy-to-use command-line option parser."
HOMEPAGE="https://john-millikin.com/software/haskell-options/";
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"

LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=dev-haskell/monads-tf-0.1:=[profile?]
        >=dev-haskell/transformers-0.2:=[profile?]
        >=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
        >=dev-haskell/cabal-1.8
        test? ( >=dev-haskell/chell-0.3.1 <dev-haskell/chell-0.5
                >=dev-haskell/chell-quickcheck-0.2 
<dev-haskell/chell-quickcheck-0.3
                >=dev-haskell/monads-tf-0.1
                >=dev-haskell/transformers-0.2 )
"

src_prepare() {
        cabal_chdeps \
                'chell >= 0.3.1 && < 0.4' 'chell >= 0.3.1 && < 0.5'
}



1.1                  dev-haskell/options/Manifest

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/options/Manifest?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/options/Manifest?rev=1.1&content-type=text/plain

Index: Manifest
===================================================================
DIST options-1.2.tar.gz 25214 SHA256 
7d9353b93ff22a9a20c088a6895d08b02266e1a61e5c7192711c14881a9f1993 SHA512 
9c7cfcfbf3e1e487bc80a3ea68ba484b22b7adecf65af5e5f3d3cd9ebcabf952286cf1b29d6e1ef6654eed49aeb70a2936bc977f8c3665bd7ab59340cf2f2f18
 WHIRLPOOL 
1ef4d4c61464379d35cc8445c331387247d3dd67122b0d8a7b9030a70c67c3e44e41272aef9fa6b792addb2d08dde55dd079a581b4f1f5ffd5f63ffe3054db53
EBUILD options-1.2-r1.ebuild 967 SHA256 
802792d13c45b5cf98d7f46ce6c23c28718eba1ceb019d466810289d05f1fd5b SHA512 
e5871cec1142f09df1d93e8885e49bd7a7676e329a81eed25e5abd53596f064c785243483ce5830f8250534fec6b6e7b0938392c7fdd823d55a65dc3da3d6b21
 WHIRLPOOL 
145ed80cf663399aad0e0b4d000c5ff931c110b2398603ca8dc62882371683dd5825bd65ec757e3bdd9d327113a496b252467d8ab8431801959e323e9958a7cc
MISC metadata.xml 1856 SHA256 
7da0e1c426a8517309af6b9fd37f6ce07b2d7aebee83d9629b2bf45f11848595 SHA512 
4c53f0bb042f05a89fd43f0af18947d615cf7239c672881dac8a281f7b7fe3c6e20e39b9f4f013ea3f82fddcb452372668abec6abc3a3a3bc14824556c568a83
 WHIRLPOOL 
45c9d8e8ff91e7e2ad488ed1956ac280b382ab642ab6f609a87dcca8ff18df69722fbc6a228af3fc8574fe69b6e42911a0eb5f71fd5a743869e82dd1ef43cd20



1.1                  dev-haskell/options/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/options/ChangeLog?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/options/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for dev-haskell/options
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/options/ChangeLog,v 1.1 
2014/07/02 11:57:55 gienah Exp $

*options-1.2-r1 (02 Jul 2014)

  02 Jul 2014; Mark Wright <[email protected]> +metadata.xml,
  +options-1.2-r1.ebuild:
  Add options




Reply via email to