summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-02-15 22:08:12 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-02-16 10:21:20 +0000
commit3706b5bb3f5c38d0e770bfa5d4ad0adb619d5bee (patch)
tree69fce849567b39cb412f3043bb4d7e3bb06b4049 /dev-haskell/gitrev
parentdev-haskell/fail: new package, a depend of sci-mathematics/agda-2.5.2 (diff)
downloadgentoo-3706b5bb3f5c38d0e770bfa5d4ad0adb619d5bee.tar.gz
gentoo-3706b5bb3f5c38d0e770bfa5d4ad0adb619d5bee.tar.bz2
gentoo-3706b5bb3f5c38d0e770bfa5d4ad0adb619d5bee.zip
dev-haskell/gitrev: new package, a depend of sci-mathematics/agda-2.5.2
Compile git revision info into Haskell projects Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-haskell/gitrev')
-rw-r--r--dev-haskell/gitrev/Manifest1
-rw-r--r--dev-haskell/gitrev/gitrev-1.2.0.ebuild25
-rw-r--r--dev-haskell/gitrev/metadata.xml11
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-haskell/gitrev/Manifest b/dev-haskell/gitrev/Manifest
new file mode 100644
index 000000000000..c69d29b23eb0
--- /dev/null
+++ b/dev-haskell/gitrev/Manifest
@@ -0,0 +1 @@
+DIST gitrev-1.2.0.tar.gz 3238 SHA256 4391e34edb5caaab901c6faa4369b246b6896c747869f6ab85b6db5524003102 SHA512 ba794dfdec21a5b8ca19dff3ce712cb31f254ac59e166aad4fd33435649a7a5209fe9952cff230edc88d81e3622fe3b4f6199f3ef89e153d6e31cc6bca14d303 WHIRLPOOL 20ac225e3e9536a96bb4632006455c37afdab06690cd4dd2f92fa0b04f07b043f8aa2177903723c538dd0a7abe4c8849860d3ef6a9937fcb2b125edf4713a58e
diff --git a/dev-haskell/gitrev/gitrev-1.2.0.ebuild b/dev-haskell/gitrev/gitrev-1.2.0.ebuild
new file mode 100644
index 000000000000..60535a886fd5
--- /dev/null
+++ b/dev-haskell/gitrev/gitrev-1.2.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.7.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Compile git revision info into Haskell projects"
+HOMEPAGE="https://github.com/acfoltzer/gitrev"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-7.6.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.16.0
+"
diff --git a/dev-haskell/gitrev/metadata.xml b/dev-haskell/gitrev/metadata.xml
new file mode 100644
index 000000000000..e4b61ad4be61
--- /dev/null
+++ b/dev-haskell/gitrev/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ Some handy Template Haskell splices for including the current git hash and branch in the code of your project. Useful for including in panic messages, @--version@ output, or diagnostic info for more informative bug reports.
+ </longdescription>
+</pkgmetadata>