diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-08-22 09:39:32 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-08-22 10:02:20 +0200 |
commit | daa8b5fb03ce085420d91229793467eacad523de (patch) | |
tree | e066a61a5a288aeea4292d8101d11c90227b4f3e /dev-haskell/file-location | |
parent | dev-haskell/filestore: treeclean (diff) | |
download | gentoo-daa8b5fb03ce085420d91229793467eacad523de.tar.gz gentoo-daa8b5fb03ce085420d91229793467eacad523de.tar.bz2 gentoo-daa8b5fb03ce085420d91229793467eacad523de.zip |
dev-haskell/file-location: treeclean
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-haskell/file-location')
-rw-r--r-- | dev-haskell/file-location/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/file-location/file-location-0.4.9.1.ebuild | 29 | ||||
-rw-r--r-- | dev-haskell/file-location/metadata.xml | 42 |
3 files changed, 0 insertions, 72 deletions
diff --git a/dev-haskell/file-location/Manifest b/dev-haskell/file-location/Manifest deleted file mode 100644 index 21f9f2a01aef..000000000000 --- a/dev-haskell/file-location/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST file-location-0.4.9.1.tar.gz 6961 BLAKE2B 5b3248db2a03ad699ba1354a88b6d0aa4e124e607be6692e7be7a9cec403d42dcb2e304a60c85e879855a9e5e3e49309d8aa112edaa12986f79b8408fa49b781 SHA512 a84a6ed3ff1a786331e202ae505df3981e81b3ce085e588632868357626b82a559dc649aa1623a09462741c5133ee0e5d5deb10713d94cc8286b82aa2e706d94 diff --git a/dev-haskell/file-location/file-location-0.4.9.1.ebuild b/dev-haskell/file-location/file-location-0.4.9.1.ebuild deleted file mode 100644 index fbf5ddd465cf..000000000000 --- a/dev-haskell/file-location/file-location-0.4.9.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# ebuild generated by hackport 0.5.2.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="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RESTRICT=test # error stack changed from ghc-7.10 - -RDEPEND="dev-haskell/hunit:=[profile?] - dev-haskell/lifted-base:=[profile?] - >=dev-haskell/th-orphans-0.9:=[profile?] - >=dev-lang/ghc-7.8.2:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.18.1.3 -" diff --git a/dev-haskell/file-location/metadata.xml b/dev-haskell/file-location/metadata.xml deleted file mode 100644 index 26c45b3b64ae..000000000000 --- a/dev-haskell/file-location/metadata.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>haskell@gentoo.org</email> - <name>Gentoo Haskell</name> - </maintainer> - <longdescription> - Common debugging/error/exception functions that give file location information - - > $(err "OH NO!") - > - > 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. - - > debug [1,2,3] - > - > DEBUG: [1,2,3] - > [1,2,3] - - And The Template Haskell version. - - > $(dbg) [1,2,3] - > - > DEBUG main:Main main.hs:1:3 [1,2,3] - > [1,2,3] - - Also there is a version of thrwIO that gives location information - > ($(thrwIO) $ AException) `catch` \e -> putStrLn ("Caught " ++ show (e :: AException)) - > - > 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> |