summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/publicsuffixlist
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-haskell/publicsuffixlist')
-rw-r--r--dev-haskell/publicsuffixlist/Manifest1
-rw-r--r--dev-haskell/publicsuffixlist/metadata.xml15
-rw-r--r--dev-haskell/publicsuffixlist/publicsuffixlist-0.1.ebuild39
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-haskell/publicsuffixlist/Manifest b/dev-haskell/publicsuffixlist/Manifest
new file mode 100644
index 00000000000..7d09312588a
--- /dev/null
+++ b/dev-haskell/publicsuffixlist/Manifest
@@ -0,0 +1 @@
+DIST publicsuffixlist-0.1.tar.gz 72704 SHA256 b37fbe099748e2a3a5a3b6661911d72749c2ec24d88ee686ae125de91fac7955 SHA512 ca9035f33eaeb222684574e3be2dfb25d60fb840cf5e7684d816cbf696f90782e86caaf7d39b826e00b444739624432a0c02b23890a17864c416afb2bbcd7dc3 WHIRLPOOL 6a03035f17ad778292de77cd0961c8bc24c50debe6506901a859000f37039f3bb0d6c8602d39525c4f7c98b71c79fd470bb2e6f7abf1884e5e8b734a2bd52570
diff --git a/dev-haskell/publicsuffixlist/metadata.xml b/dev-haskell/publicsuffixlist/metadata.xml
new file mode 100644
index 00000000000..55af1fe0604
--- /dev/null
+++ b/dev-haskell/publicsuffixlist/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ Is a given string a domain suffix?
+ </longdescription>
+ <use>
+ <flag name="create">export Network.PublicSuffixList.Create module</flag>
+ <flag name="runtimelist">read suffix list from dist at startup instead of embedding list into library</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">litherum/publicsuffixlist</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-haskell/publicsuffixlist/publicsuffixlist-0.1.ebuild b/dev-haskell/publicsuffixlist/publicsuffixlist-0.1.ebuild
new file mode 100644
index 00000000000..7aa3dff4dde
--- /dev/null
+++ b/dev-haskell/publicsuffixlist/publicsuffixlist-0.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Is a given string a domain suffix?"
+HOMEPAGE="https://github.com/litherum/publicsuffixlist"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE="create runtimelist"
+
+RDEPEND="dev-haskell/cereal:=[profile?]
+ dev-haskell/data-default:=[profile?]
+ >=dev-haskell/text-0.11:=[profile?]
+ dev-haskell/utf8-string:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ create? ( >=dev-haskell/conduit-1.0.0:=[profile?] <dev-haskell/conduit-2.0.0:=[profile?]
+ >=dev-haskell/idna-0.1.2:=[profile?] <dev-haskell/idna-1.0:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ !create? ( >=dev-haskell/idna-0.1.1 <dev-haskell/idna-1.0 ) )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag create create) \
+ $(cabal_flag runtimelist runtimelist)
+}