summaryrefslogtreecommitdiff
path: root/dev-haskell/convertible
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/convertible
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/convertible')
-rw-r--r--dev-haskell/convertible/Manifest5
-rw-r--r--dev-haskell/convertible/convertible-1.0.11.1.ebuild48
-rw-r--r--dev-haskell/convertible/convertible-1.1.1.0.ebuild34
-rw-r--r--dev-haskell/convertible/metadata.xml16
4 files changed, 103 insertions, 0 deletions
diff --git a/dev-haskell/convertible/Manifest b/dev-haskell/convertible/Manifest
new file mode 100644
index 000000000000..467287e4ad5e
--- /dev/null
+++ b/dev-haskell/convertible/Manifest
@@ -0,0 +1,5 @@
+DIST convertible-1.0.11.1.tar.gz 14478 BLAKE2B 43b5bb35572870af30f7163834d5fba5680202f55995723b3540aa3b3b7b91d74f0762c982eca81dc4424b8db3a8d9ef053c6a3c5bd25b2e6b60287cb7b2fc59 SHA512 50082727409c450657bef534af94e8a58e8a3f97fa59d8f24f34d5b72e8335a41c3678036eafd8831f4748c6f1158cef96950d24c53e8402a4b9a7778640a9b1
+DIST convertible-1.1.1.0.tar.gz 14354 BLAKE2B 8d60f3ed29732dddf68d9b0221aae12300533c79d2d2763fe09af143296bfda93bc1781b7d21034b4747b5bc18894db033ce16a7c4a3967f8c7c4f4429cb1f52 SHA512 cd36107b686c56a5d374efbb9be4fa8a0ec3504f0cd807870d34f279707b36721ce5639e22939d11d1795354e453fabe4f1b6130b06ec20ad597287f62959dba
+EBUILD convertible-1.0.11.1.ebuild 1127 BLAKE2B 061d0a418c165592480cfc0fabdaaca9060f356e221c67af1b56a1df22a646c47ef91e30b07f9993d9a24a7eeb51663ecf58f7089b915df98fdd3c81781c737d SHA512 1004ec9c652b8fa91c05b21a09cd3e458ffa0dea7f69faf53882502bbd7d92ced0aba02cabf4033bfdc7065dbc9296917bf5930c1a8cd14a46a415ab4826b802
+EBUILD convertible-1.1.1.0.ebuild 819 BLAKE2B d56855ac6d6ca73d93a70074178cad93230b6ddefa22742771952b9b6b331623212e7e5b0e140abfffc0b95386da2ed66ca6d22c74f2d705a29011852a7fa3d7 SHA512 f8e92a8c682144fb8670ef721161a5928c5d8c29dc8e54dfacc382557dc0ed3c1c12f37b8acce2260819bf2c877b2b2e4854b00f44aa35e519b6398c3d2120f6
+MISC metadata.xml 633 BLAKE2B bcb4b69551be8d969d69408fd592561d9dccfdf3ab70d9aaf1ab1633c82971385dc4f7f04cf7e2f011a2de1697b7ee3e09e333f4b925328904c80c473b5632e4 SHA512 257966cf9d8c81c8d4961c285c2b739a5998731714e8e9b585797015ec076d08eaf4e40aa2ea8fea34c23e6c173d72224857a0c569af8e5536d3b2401cff2db3
diff --git a/dev-haskell/convertible/convertible-1.0.11.1.ebuild b/dev-haskell/convertible/convertible-1.0.11.1.ebuild
new file mode 100644
index 000000000000..e5adf73bde49
--- /dev/null
+++ b/dev-haskell/convertible/convertible-1.0.11.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# ebuild generated by hackport 0.2.17.9999
+
+EAPI=4
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Typeclasses and instances for converting between types"
+HOMEPAGE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/convertible"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-haskell/mtl[profile?]
+ >=dev-haskell/text-0.7[profile?]
+ >=dev-lang/ghc-6.8.2"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2
+ test? ( dev-haskell/hunit
+ dev-haskell/quickcheck:2
+ dev-haskell/testpack
+ )
+ "
+
+src_configure() {
+ cabal_src_configure $(cabal_flag test buildtests)
+}
+
+src_test() {
+ # default tests
+ haskell-cabal_src_test || die "cabal test failed"
+
+ # built custom tests
+ "${S}/dist/build/runtests/runtests" || die "unit tests failed"
+}
+
+src_install() {
+ cabal_src_install
+
+ # if tests were enabled, make sure the unit test driver is deleted
+ rm -f "${ED}/usr/bin/runtests"
+}
diff --git a/dev-haskell/convertible/convertible-1.1.1.0.ebuild b/dev-haskell/convertible/convertible-1.1.1.0.ebuild
new file mode 100644
index 000000000000..c525e53d3b08
--- /dev/null
+++ b/dev-haskell/convertible/convertible-1.1.1.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.6.9999
+#hackport: flags: -buildtests
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Typeclasses and instances for converting between types"
+HOMEPAGE="http://hackage.haskell.org/package/convertible"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/mtl:=[profile?]
+ dev-haskell/old-locale:=[profile?]
+ dev-haskell/old-time:=[profile?]
+ >=dev-haskell/text-0.8:=[profile?]
+ >=dev-lang/ghc-7.8.2:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.1.3
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-buildtests
+}
diff --git a/dev-haskell/convertible/metadata.xml b/dev-haskell/convertible/metadata.xml
new file mode 100644
index 000000000000..3c57bb78ce53
--- /dev/null
+++ b/dev-haskell/convertible/metadata.xml
@@ -0,0 +1,16 @@
+<?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>
+ Convertible provides a typeclass with a single function
+ that is designed to help convert between different types: numeric
+ values, dates and times, and the like. The conversions perform bounds
+ checking and return a pure 'Either' value. This means that you need
+ not remember which specific function performs the conversion you
+ desire.
+ </longdescription>
+</pkgmetadata>