summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-haskell/attoparsec-iso8601/Manifest1
-rw-r--r--dev-haskell/attoparsec-iso8601/attoparsec-iso8601-1.0.1.0-r1.ebuild41
-rw-r--r--dev-haskell/attoparsec-iso8601/metadata.xml12
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-haskell/attoparsec-iso8601/Manifest b/dev-haskell/attoparsec-iso8601/Manifest
new file mode 100644
index 000000000000..0e4a91f5164e
--- /dev/null
+++ b/dev-haskell/attoparsec-iso8601/Manifest
@@ -0,0 +1 @@
+DIST attoparsec-iso8601-1.0.1.0.tar.gz 4317 BLAKE2B 80c7f9dc3bb52799117177daf5389882413656713d7b0671694f725110e0ebfe54d93ff6e439359556d3f0895354d3ba6994287967eda3f05c9d4d4cbc2dabc0 SHA512 a1d751d388446a7d2f628d7112b72beab338061bf2f8dc74c26549f0e93ebbb955bd9082db8a70db71cd80ceb576b22a94195c34f816eb6cecd5c584cb100e8b
diff --git a/dev-haskell/attoparsec-iso8601/attoparsec-iso8601-1.0.1.0-r1.ebuild b/dev-haskell/attoparsec-iso8601/attoparsec-iso8601-1.0.1.0-r1.ebuild
new file mode 100644
index 000000000000..e7b5c6dd1290
--- /dev/null
+++ b/dev-haskell/attoparsec-iso8601/attoparsec-iso8601-1.0.1.0-r1.ebuild
@@ -0,0 +1,41 @@
+# 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
+#hackport: flags: -developer -fast
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Parsing of ISO 8601 dates, originally from aeson"
+HOMEPAGE="https://github.com/bos/aeson"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="developer fast"
+
+RDEPEND=">=dev-haskell/attoparsec-0.13.0.1:=[profile?]
+ >=dev-haskell/base-compat-0.9.1:=[profile?]
+ >=dev-haskell/text-1.1.1.0:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+"
+
+src_prepare() {
+ default
+ cabal_chdeps \
+ 'base-compat >= 0.9.1 && < 0.11' 'base-compat >= 0.9.1'
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag developer developer) \
+ --flag=-developer -fast \
+ $(cabal_flag fast fast)
+}
diff --git a/dev-haskell/attoparsec-iso8601/metadata.xml b/dev-haskell/attoparsec-iso8601/metadata.xml
new file mode 100644
index 000000000000..3aa55903869c
--- /dev/null
+++ b/dev-haskell/attoparsec-iso8601/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+ <use>
+ <flag name="developer">operate in developer mode</flag>
+ <flag name="fast">compile without optimizations</flag>
+ </use>
+</pkgmetadata>