summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-02-15 23:13:44 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-02-16 10:21:51 +0000
commit4e68ed77b3cc232d4d4eb7e3574c9830718939b2 (patch)
treebe9a4a76f068625c9a3787fcfd0f524544e980a6 /dev-haskell/pointed
parentdev-haskell/kan-extensions: bump up to 5.0.1 (diff)
downloadgentoo-4e68ed77b3cc232d4d4eb7e3574c9830718939b2.tar.gz
gentoo-4e68ed77b3cc232d4d4eb7e3574c9830718939b2.tar.bz2
gentoo-4e68ed77b3cc232d4d4eb7e3574c9830718939b2.zip
dev-haskell/pointed: bump up to 5
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-haskell/pointed')
-rw-r--r--dev-haskell/pointed/Manifest1
-rw-r--r--dev-haskell/pointed/metadata.xml14
-rw-r--r--dev-haskell/pointed/pointed-5-r1.ebuild54
3 files changed, 66 insertions, 3 deletions
diff --git a/dev-haskell/pointed/Manifest b/dev-haskell/pointed/Manifest
index 2815663e600a..3a4a95d3b65e 100644
--- a/dev-haskell/pointed/Manifest
+++ b/dev-haskell/pointed/Manifest
@@ -1,3 +1,4 @@
DIST pointed-4.0.tar.gz 3123 SHA256 24c74d3db1963de4c38eab265aa75075f8723ab9261461ce65bc5e76835ac70b SHA512 08aa3753b2d642c4ab72bef0baa2a80daa30b5f545b74536601f1353b9ea22ba17622ff86aafa5351de7dd1edbc89e79bf58ea63b500133aedd48626a9ba7290 WHIRLPOOL b6afdb2f967e3e49ca9582d4be3ed6ba08def7f42c926b863a93b934036d269581cb5dc92c15ff9130b59bfd0924a232c88ac976c95ab2a92822a0418ecba0de
DIST pointed-4.1.1.tar.gz 3253 SHA256 723d717372f321f4f95b122a6c7f2f6d9d4a6c9117befc0cbc1b93aed8e871a0 SHA512 8106c82a3011644ea1bcb18d592e40fa372298e4f7d81a9f23b57b38905f6733377822c574c17630c55c4f91eda77b020f33e1a603f2c2aa22431eedb3677e8c WHIRLPOOL 6cc96f7391a90cb61355fdd67c78a41175be461bec1f1c53a41e95fa8ef49532eb055c09fc16c5a55925ff3ffe2f6f8e0d2d19e02476ed4dfe2bf2ae3322f471
DIST pointed-4.2.0.2.tar.gz 4333 SHA256 4b8a8a5ad5a54715f6a58090d820657a2f2de4176d899ad736ebd0e54de7da7a SHA512 bf493138c54d7fef6524d01ee84709d0ab6378870f7e801df62b0ac425899c6113cf9ba93776a1693d544d8d14d553dfa26a0194997a19c80931c5500ef2ee7c WHIRLPOOL 4804fcd63bf51763fbf96dc550891c173c31d0f3d6be361e712a22197c0f1b71d1981effa26a53b3b0478dd03a2297d154e116dc2cbd8c298690b344ece53280
+DIST pointed-5.tar.gz 4873 SHA256 8906b8af5125ab3376794a290c5484dbec5a35d0bd0a57e94392ec0e12535d17 SHA512 940a0c30845cb39238a0056f12da4debb488bec9bfac11a384320c79102e92dbd949526188eca46a2e543dfe612f5ee335955413e4f81eb1c1c9bc321805b598 WHIRLPOOL c4c6478cc1905bb22bcf92e66749cc3c4305e0db4530f95b01b70b1673ac4cafc98b2a97c0dbf81ca603b111f98525eb015ce172a2fd0f44d360511b4e5449c3
diff --git a/dev-haskell/pointed/metadata.xml b/dev-haskell/pointed/metadata.xml
index c2ba8ca031af..a1ca56f93c6d 100644
--- a/dev-haskell/pointed/metadata.xml
+++ b/dev-haskell/pointed/metadata.xml
@@ -5,10 +5,18 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
+ <use>
+ <flag name='comonad'>optional instances</flag>
+ <flag name='containers'>optional instances</flag>
+ <flag name='kan-extensions'>optional instances</flag>
+ <flag name='semigroupoids'>optional instances</flag>
+ <flag name='semigroups'>optional instances</flag>
+ <flag name='stm'>optional instances</flag>
+ <flag name='tagged'>optional instances</flag>
+ <flag name='transformers'>optional instances</flag>
+ <flag name='unordered-containers'>optional instances</flag>
+ </use>
<longdescription>
Haskell 98 pointed and copointed data
</longdescription>
- <upstream>
- <remote-id type="github">ekmett/pointed</remote-id>
- </upstream>
</pkgmetadata>
diff --git a/dev-haskell/pointed/pointed-5-r1.ebuild b/dev-haskell/pointed/pointed-5-r1.ebuild
new file mode 100644
index 000000000000..93ddf695a210
--- /dev/null
+++ b/dev-haskell/pointed/pointed-5-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.7.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Pointed and copointed data"
+HOMEPAGE="https://github.com/ekmett/pointed/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+comonad +containers +kan-extensions +semigroupoids +semigroups +stm +tagged +transformers +unordered-containers"
+
+RDEPEND=">=dev-haskell/data-default-class-0.0.1:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ comonad? ( >=dev-haskell/comonad-5:=[profile?] <dev-haskell/comonad-6:=[profile?] )
+ kan-extensions? ( >=dev-haskell/kan-extensions-5:=[profile?] <dev-haskell/kan-extensions-6:=[profile?] )
+ semigroupoids? ( >=dev-haskell/semigroupoids-4:=[profile?] <dev-haskell/semigroupoids-6:=[profile?] )
+ semigroups? ( >=dev-haskell/semigroups-0.8.3.1:=[profile?] <dev-haskell/semigroups-1:=[profile?] )
+ stm? ( >=dev-haskell/stm-2.1.2.1:=[profile?] <dev-haskell/stm-2.5:=[profile?] )
+ tagged? ( >=dev-haskell/tagged-0.5:=[profile?] <dev-haskell/tagged-1:=[profile?] )
+ transformers? ( >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.6:=[profile?]
+ >=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] )
+ unordered-containers? ( >=dev-haskell/hashable-1.1:=[profile?] <dev-haskell/hashable-1.3:=[profile?]
+ >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+src_prepare() {
+ cabal_chdeps \
+ 'data-default-class >= 0.0.1 && < 0.1' 'data-default-class >= 0.0.1'
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag comonad comonad) \
+ $(cabal_flag containers containers) \
+ $(cabal_flag kan-extensions kan-extensions) \
+ $(cabal_flag semigroupoids semigroupoids) \
+ $(cabal_flag semigroups semigroups) \
+ $(cabal_flag stm stm) \
+ $(cabal_flag tagged tagged) \
+ $(cabal_flag transformers transformers) \
+ $(cabal_flag unordered-containers unordered-containers)
+}