summaryrefslogtreecommitdiff
path: root/dev-haskell/file-location
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/file-location
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
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/file-location')
-rw-r--r--dev-haskell/file-location/Manifest4
-rw-r--r--dev-haskell/file-location/file-location-0.4.5.2-r1.ebuild33
-rw-r--r--dev-haskell/file-location/file-location-0.4.5.2.ebuild29
-rw-r--r--dev-haskell/file-location/file-location-0.4.5.3.ebuild27
-rw-r--r--dev-haskell/file-location/file-location-0.4.7.1.ebuild28
-rw-r--r--dev-haskell/file-location/file-location-0.4.9.ebuild29
-rw-r--r--dev-haskell/file-location/metadata.xml39
7 files changed, 189 insertions, 0 deletions
diff --git a/dev-haskell/file-location/Manifest b/dev-haskell/file-location/Manifest
new file mode 100644
index 00000000000..b64cbe77109
--- /dev/null
+++ b/dev-haskell/file-location/Manifest
@@ -0,0 +1,4 @@
+DIST file-location-0.4.5.2.tar.gz 6536 SHA256 27856e770efbc466093367eba42024d4eac497810e13021787c40208a970df37 SHA512 8f34e22caef34821fb5cca9e6871355a4be55465a3b0e313e6618e072cad3a8804678ebe17c5a03371174a04f9462f4a120f1e585e33e101ac9ed72f4363180f WHIRLPOOL c06ca492acc9697fa06087ab05b584f4428e4a83ccbdf393bb995f19d73a4d6db51a703027d35ac19a54f32c85798f363cebaa0c0ad6f9342edd2d1f24fb58e1
+DIST file-location-0.4.5.3.tar.gz 6555 SHA256 092691ada97581f4493acb901ac6bdf2a4ea888a09b2d3c253ec05a61ac43134 SHA512 1cd2f123f520ca40ffc9db21f4e9d13107ee625c6c4940f30ec66fc9485cfea7d1a8466bd85866eac3ef4f9a195f41a290be65cce3678eeab7c34c8a11f0728a WHIRLPOOL b7205583683177d4f83c4161303ae4b6c5e0467e598ef197a5c84d351a2b9ee140da390cf6412944c7cf24789357b71825345734a8ea6b0ee2d33dd687117ecf
+DIST file-location-0.4.7.1.tar.gz 6720 SHA256 844a7422ee0b70d6eccff7ade71d33ec59cf0526287d61db1a566b2de5918e5c SHA512 cee129ccbffffe0a57d58faf4309a996d87003d80b1c93a219f63aaae1db04997ecf7323b6a4074d16d5a5ef5ceeee694d8e4a494e467af06394898a41bc0504 WHIRLPOOL 4b39dfdd49fa88900c83c9aca91cbc03f0c523226f359bd14d9fb6106017323ff3bcf774c2cb854e3326b323362f319697d431672bd69db53681454650c54137
+DIST file-location-0.4.9.tar.gz 6959 SHA256 be29deb3c2267913f642e511deca988cedd287ae519012d01178d37d05f814dc SHA512 cbea7ef5a6797efd242219a32c7d46b5a0fe2b20d4c93e7ab758cf27519b021c2e2c34ab91d4eedfba8a61a51f81312346d575f8c83296b87b1f7bea8985d40f WHIRLPOOL 5d3988f0773064bcd18f2a5ba3e0c69bdf24a1089cedcf1dd1bf12c0ead4211991e97dd264c86a907ef419773054529f8681bf13f8d15a71a01233fc92fec7a0
diff --git a/dev-haskell/file-location/file-location-0.4.5.2-r1.ebuild b/dev-haskell/file-location/file-location-0.4.5.2-r1.ebuild
new file mode 100644
index 00000000000..c9b9615ad0f
--- /dev/null
+++ b/dev-haskell/file-location/file-location-0.4.5.2-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="common functions that show file location information"
+HOMEPAGE="https://github.com/gregwebs/FileLocation.hs"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+# tests fail: test: main:Main test/main.hs:30:5 Oh no!
+# Test suite test: FAIL
+RESTRICT="test"
+
+RDEPEND="dev-haskell/lifted-base:=[profile?]
+ >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.5:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8"
+
+src_prepare() {
+ cabal_chdeps \
+ 'transformers >= 0.2 && < 0.4' 'transformers >= 0.2 && < 0.5'
+}
diff --git a/dev-haskell/file-location/file-location-0.4.5.2.ebuild b/dev-haskell/file-location/file-location-0.4.5.2.ebuild
new file mode 100644
index 00000000000..e3b93eb29ff
--- /dev/null
+++ b/dev-haskell/file-location/file-location-0.4.5.2.ebuild
@@ -0,0 +1,29 @@
+# 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.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="common functions that show file location information"
+HOMEPAGE="https://github.com/gregwebs/FileLocation.hs"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+# tests fail: test: main:Main test/main.hs:30:5 Oh no!
+# Test suite test: FAIL
+RESTRICT="test"
+
+RDEPEND="dev-haskell/lifted-base:=[profile?]
+ >=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"
diff --git a/dev-haskell/file-location/file-location-0.4.5.3.ebuild b/dev-haskell/file-location/file-location-0.4.5.3.ebuild
new file mode 100644
index 00000000000..b9be659df39
--- /dev/null
+++ b/dev-haskell/file-location/file-location-0.4.5.3.ebuild
@@ -0,0 +1,27 @@
+# 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="common functions that show file location information"
+HOMEPAGE="https://github.com/gregwebs/FileLocation.hs"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/lifted-base:=[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
+"
diff --git a/dev-haskell/file-location/file-location-0.4.7.1.ebuild b/dev-haskell/file-location/file-location-0.4.7.1.ebuild
new file mode 100644
index 00000000000..21434956515
--- /dev/null
+++ b/dev-haskell/file-location/file-location-0.4.7.1.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.3
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="common functions that show file location information"
+HOMEPAGE="https://github.com/gregwebs/FileLocation.hs"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/lifted-base:=[profile?]
+ >=dev-haskell/th-orphans-0.9:=[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
+"
diff --git a/dev-haskell/file-location/file-location-0.4.9.ebuild b/dev-haskell/file-location/file-location-0.4.9.ebuild
new file mode 100644
index 00000000000..edf2cae5e1a
--- /dev/null
+++ b/dev-haskell/file-location/file-location-0.4.9.ebuild
@@ -0,0 +1,29 @@
+# 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.5.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="common functions that show file location information"
+HOMEPAGE="https://github.com/gregwebs/FileLocation.hs"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/hunit:=[profile?]
+ dev-haskell/lifted-base:=[profile?]
+ >=dev-haskell/th-orphans-0.9:=[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
+"
diff --git a/dev-haskell/file-location/metadata.xml b/dev-haskell/file-location/metadata.xml
new file mode 100644
index 00000000000..20341f110db
--- /dev/null
+++ b/dev-haskell/file-location/metadata.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ Common debugging/error/exception functions that give file location information
+
+ &gt; $(err "OH NO!")
+ &gt;
+ &gt; main:Main main.hs:16:1 OH NO!
+
+ Notice how it displays package:module file:line:character
+ It exposes the functions err (error), undef (undefined), and trc (Debug.Trace.trace). All of these behave the same as their normal counterpart but also spit out a location.
+
+ Here is my favorite helper, debug, which is like trace but just show the value.
+
+ &gt; debug [1,2,3]
+ &gt;
+ &gt; DEBUG: [1,2,3]
+ &gt; [1,2,3]
+
+ And The Template Haskell version.
+
+ &gt; $(dbg) [1,2,3]
+ &gt;
+ &gt; DEBUG main:Main main.hs:1:3 [1,2,3]
+ &gt; [1,2,3]
+
+ Also there is a version of thrwIO that gives location information
+ &gt; ($(thrwIO) $ AException) `catch` \e -&gt; putStrLn ("Caught " ++ show (e :: AException))
+ &gt;
+ &gt; Caught AException "main:Main test/main.hs:25:6"
+
+ See module for a listing of all the functions with short descriptions, and the homepage for some more examples https://github.com/gregwebs/ErrorLocation.hs
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gregwebs/FileLocation.hs</remote-id>
+ </upstream>
+</pkgmetadata>