summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-haskell/optparse-simple/Manifest1
-rw-r--r--dev-haskell/optparse-simple/metadata.xml3
-rw-r--r--dev-haskell/optparse-simple/optparse-simple-0.1.1.2.ebuild31
3 files changed, 35 insertions, 0 deletions
diff --git a/dev-haskell/optparse-simple/Manifest b/dev-haskell/optparse-simple/Manifest
index e2eaf6825b18..d6796a4f1101 100644
--- a/dev-haskell/optparse-simple/Manifest
+++ b/dev-haskell/optparse-simple/Manifest
@@ -1 +1,2 @@
DIST optparse-simple-0.0.3.tar.gz 2972 BLAKE2B ff7a559c9f05278ba3b18085fc4f8a48d43025383c38840b3987613ad79aa74590df1ce518b78c338c8bef412c098954b72cb92a31744dbad113510c2e3b4eb7 SHA512 d607482a9ef9e9d4992328fb141cf797ad72e43cbe42eab23adacd21843b8c62c98d6c8fc342b2a11019a220759854b6587a1fd07fa8268462c4cc3d40c4a1c4
+DIST optparse-simple-0.1.1.2.tar.gz 5067 BLAKE2B 1a1bbca9d142bb61af1c00eca720bb5c3315f021dcdf59e9eba418f5511a94b3fe0799c9f958ab4962ba8ed4ac6ef524a6edd4d678331935ae11d3a8e85401e9 SHA512 a2810745ba4a3fd62585fc7367f02ff8eb70752d4836da495a73f15d2b1672d7b5ff59a72bcbc8688efff71fec189c5cc11331b6c46b714233ad86049d581c03
diff --git a/dev-haskell/optparse-simple/metadata.xml b/dev-haskell/optparse-simple/metadata.xml
index fd80ae8104d5..35a220f21d80 100644
--- a/dev-haskell/optparse-simple/metadata.xml
+++ b/dev-haskell/optparse-simple/metadata.xml
@@ -5,6 +5,9 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
+ <use>
+ <flag name="build-example">Build the example executable</flag>
+ </use>
<longdescription>
Simple interface to optparse-applicative
</longdescription>
diff --git a/dev-haskell/optparse-simple/optparse-simple-0.1.1.2.ebuild b/dev-haskell/optparse-simple/optparse-simple-0.1.1.2.ebuild
new file mode 100644
index 000000000000..55010cdd03e5
--- /dev/null
+++ b/dev-haskell/optparse-simple/optparse-simple-0.1.1.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Simple interface to optparse-applicative"
+HOMEPAGE="https://github.com/fpco/optparse-simple#readme"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="build-example"
+
+RDEPEND=">=dev-haskell/githash-0.1.3.0:=[profile?]
+ dev-haskell/optparse-applicative:=[profile?]
+ >=dev-lang/ghc-8.0.2:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.24.2.0
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag build-example build-example)
+}