summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Todaro <solpeth@posteo.org>2020-07-30 12:24:57 +1000
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-01 09:03:12 +0100
commit859c82461315e4210f547d14a2836ccdd5359bfd (patch)
tree5c6fc2e88c59f96b9ad423492b7befa8ebc18fe2 /dev-haskell/attoparsec-iso8601
parentdev-haskell/th-lift-instances: bump up to 0.1.14 (diff)
downloadgentoo-859c82461315e4210f547d14a2836ccdd5359bfd.tar.gz
gentoo-859c82461315e4210f547d14a2836ccdd5359bfd.tar.bz2
gentoo-859c82461315e4210f547d14a2836ccdd5359bfd.zip
dev-haskell/attoparsec-iso8601: add package
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/attoparsec-iso8601')
-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>