gienah      14/12/14 11:00:39

  Modified:             metadata.xml ChangeLog
  Added:                hlint-1.9.10.ebuild
  Log:
  Bump hlint to 1.9.10
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
618E971F)

Revision  Changes    Path
1.3                  dev-haskell/hlint/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/metadata.xml?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/metadata.xml?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/metadata.xml?r1=1.2&r2=1.3

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-haskell/hlint/metadata.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- metadata.xml        25 Jul 2014 08:59:28 -0000      1.2
+++ metadata.xml        14 Dec 2014 11:00:39 -0000      1.3
@@ -5,4 +5,7 @@
        <longdescription>
                HLint gives suggestions on how to improve your source code.
        </longdescription>
+<use>
+  <flag name="gpl">Use GPL libraries, specifically hscolour.</flag>
+</use>
 </pkgmetadata>



1.5                  dev-haskell/hlint/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/ChangeLog?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/ChangeLog?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-haskell/hlint/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog   25 Jul 2014 08:59:28 -0000      1.4
+++ ChangeLog   14 Dec 2014 11:00:39 -0000      1.5
@@ -1,6 +1,12 @@
 # ChangeLog for dev-haskell/hlint
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hlint/ChangeLog,v 1.4 
2014/07/25 08:59:28 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hlint/ChangeLog,v 1.5 
2014/12/14 11:00:39 gienah Exp $
+
+*hlint-1.9.10 (14 Dec 2014)
+
+  14 Dec 2014; Mark Wright <gie...@gentoo.org> +hlint-1.9.10.ebuild,
+  metadata.xml:
+  Bump hlint to 1.9.10
 
   25 Jul 2014; Sergei Trofimovich <sly...@gentoo.org> metadata.xml:
   Drop redundant '<maintainer>' field, leave only '<herd>'.



1.1                  dev-haskell/hlint/hlint-1.9.10.ebuild

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

Index: hlint-1.9.10.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hlint/hlint-1.9.10.ebuild,v 1.1 
2014/12/14 11:00:39 gienah Exp $

EAPI=5

# ebuild generated by hackport 0.4.4.9999

CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
inherit haskell-cabal elisp-common

DESCRIPTION="Source code suggestions"
HOMEPAGE="http://community.haskell.org/~ndm/hlint/";
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="emacs +gpl"

RDEPEND=">=dev-haskell/cmdargs-0.10:=[profile?]
        >=dev-haskell/cpphs-1.18.1:=[profile?]
        >=dev-haskell/haskell-src-exts-1.16:=[profile?] 
<dev-haskell/haskell-src-exts-1.17:=[profile?]
        >=dev-haskell/transformers-0.0:=[profile?]
        >=dev-haskell/uniplate-1.5:=[profile?]
        >=dev-lang/ghc-7.4.1:=
        gpl? ( >=dev-haskell/hscolour-1.17:=[profile?] )
"
DEPEND="${RDEPEND}
        >=dev-haskell/cabal-1.6
"

SITEFILE="60${PN}-gentoo.el"

src_configure() {
        local threaded_flag=""
        if $(ghc-supports-threaded-runtime); then
                threaded_flag="--flags=threaded"
        else
                threaded_flag="--flags=-threaded"
        fi

        haskell-cabal_src_configure \
                $(cabal_flag gpl gpl) \
                $threaded_flag
}

src_compile() {
        cabal_src_compile

        use emacs && elisp-compile data/hs-lint.el
}

src_install() {
        cabal_src_install

        if use emacs; then
                elisp-install ${PN} data/*.el data/*.elc || die "elisp-install 
failed."
                elisp-site-file-install "${FILESDIR}/${SITEFILE}"
        fi

        doman data/hlint.1
}

pkg_postinst() {
        ghc-package_pkg_postinst
        use emacs && elisp-site-regen
}

pkg_postrm() {
        use emacs && elisp-site-regen
}




Reply via email to