diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/esqueleto | |
download | gentoo-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/esqueleto')
-rw-r--r-- | dev-haskell/esqueleto/Manifest | 5 | ||||
-rw-r--r-- | dev-haskell/esqueleto/esqueleto-1.3.5.ebuild | 50 | ||||
-rw-r--r-- | dev-haskell/esqueleto/esqueleto-1.4.1.2.ebuild | 53 | ||||
-rw-r--r-- | dev-haskell/esqueleto/esqueleto-2.1.2.1.ebuild | 49 | ||||
-rw-r--r-- | dev-haskell/esqueleto/esqueleto-2.1.2.2.ebuild | 54 | ||||
-rw-r--r-- | dev-haskell/esqueleto/esqueleto-2.1.3.ebuild | 49 | ||||
-rw-r--r-- | dev-haskell/esqueleto/files/esqueleto-1.0.6-haddock.patch | 13 | ||||
-rw-r--r-- | dev-haskell/esqueleto/metadata.xml | 41 |
8 files changed, 314 insertions, 0 deletions
diff --git a/dev-haskell/esqueleto/Manifest b/dev-haskell/esqueleto/Manifest new file mode 100644 index 000000000000..ebc9bfaa9af1 --- /dev/null +++ b/dev-haskell/esqueleto/Manifest @@ -0,0 +1,5 @@ +DIST esqueleto-1.3.5.tar.gz 28170 SHA256 57f898d2a10795fb50c018de58287d3df51f965eb201de708061f845b23be153 SHA512 1ac07a64c93f6cf48607a38bcf1f7f85a9891fd5e06f6d18b3754f24fab3acb3e6a76abb62d3503d791c3db3384b3ff8818f5f2d8d0f84ddbf6e820a9d4a7bef WHIRLPOOL 37b5464776b25ebbd956e36f802be55e73fd3ce1e43f9d9836ef1468a5e07b61ccf8cccacb6d1158c8d859ed77c37258f0d74ca3057bb42481ad22676d7e1e7c +DIST esqueleto-1.4.1.2.tar.gz 28540 SHA256 826f9fb473acc36c86e815f68032323970dce54019bf8a09d56d0bdf012bdee2 SHA512 ba5d59872b4785753e4c51168e068f63fb1ed3cb28bbbe2fb40cea3c6f953d5e3d10ecf31ca9e8d75827db5e52c922fe7f4c1f0f6262bb11eeccedda66330317 WHIRLPOOL f48dd6be95ec6df9e9f721671a82f77552ec532d4a85824ea141002f4c902fcaaf4dc01ecda0d774b1d9ff0b72e38259ba40076e3b1771f166f6274556ecc671 +DIST esqueleto-2.1.2.1.tar.gz 30635 SHA256 f1e413058d54234066d0efb4db7e1b95689162a59db422db7e36f79ed784d653 SHA512 307f2e9cbed993c7a9b4f3ea44f75ef2df7a12470c620ce7269d4a739976627466e9704653e78316349fefc2663f8ad20e2e4313bb6737cf2507cb5c80518387 WHIRLPOOL a24abf22e670a0e9c477a71084004389cdfe14fdc0b42bf158b6255758ef847bc0def4f8dbf4f0261bc78ef763503f205e3825673129516a41de0919b7e419b2 +DIST esqueleto-2.1.2.2.tar.gz 30213 SHA256 46d92fc7e9c560aa04fd76b966545044b9dd0d835996592231581fea06dd74ea SHA512 46cf4903e9de349e65f1e0cf76bcb42ac7724aed4bd1c3316026cf63a861e1386ba55d9c8db9e1cd0a5c460bde94bd7069b8db99b759db9d0682cae02443fb29 WHIRLPOOL 4684dee1385450158ede3e138e5eab24073387ece0c826f8271e4df76b4736c2a3af7960d194e4fb870274c1ec45ddae4aaf1c1ecaa161cd18f40e5c1e64eba6 +DIST esqueleto-2.1.3.tar.gz 33024 SHA256 2d6da3477660212ed7cddec606d0324537b39ef24abe627ba389a0da500158f3 SHA512 b0508daec0f248458581155c731d307f039d04fae7e76697d2a8bb8498a5072b31499d1d3b041314b34b4034e4357e10323483d04f7ce3218da7489a00683fbc WHIRLPOOL aea8960ebe1ba214afe147db5db0e392b208525f5eeccc7c953a314c6000b684df5ccbd671ec23a698048f20af8bb212f3357db8743ac28f4b3cdb42723258a6 diff --git a/dev-haskell/esqueleto/esqueleto-1.3.5.ebuild b/dev-haskell/esqueleto/esqueleto-1.3.5.ebuild new file mode 100644 index 000000000000..c3274119ac47 --- /dev/null +++ b/dev-haskell/esqueleto/esqueleto-1.3.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.3.6.9999 +#hackport: flags: -mysql,-postgresql + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit eutils haskell-cabal + +DESCRIPTION="Bare bones, type-safe EDSL for SQL queries on persistent backends" +HOMEPAGE="https://github.com/meteficha/esqueleto" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-haskell/conduit:=[profile?] + dev-haskell/monad-logger:=[profile?] + >=dev-haskell/persistent-1.3:=[profile?] <dev-haskell/persistent-1.4:=[profile?] + dev-haskell/resourcet:=[profile?] + >=dev-haskell/tagged-0.2:=[profile?] + >=dev-haskell/text-0.11:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/hspec-1.3 <dev-haskell/hspec-1.9 + dev-haskell/hunit + dev-haskell/monad-control + >=dev-haskell/persistent-sqlite-1.2 <dev-haskell/persistent-sqlite-1.4 + >=dev-haskell/persistent-template-1.2 <dev-haskell/persistent-template-1.4 + dev-haskell/quickcheck ) +" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.0.6-haddock.patch +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-mysql \ + --flag=-postgresql +} diff --git a/dev-haskell/esqueleto/esqueleto-1.4.1.2.ebuild b/dev-haskell/esqueleto/esqueleto-1.4.1.2.ebuild new file mode 100644 index 000000000000..c405f764e062 --- /dev/null +++ b/dev-haskell/esqueleto/esqueleto-1.4.1.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.2.9999 +#hackport: flags: -mysql,-postgresql + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit eutils haskell-cabal + +DESCRIPTION="Type-safe EDSL for SQL queries on persistent backends" +HOMEPAGE="https://github.com/meteficha/esqueleto" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/conduit-1.1:=[profile?] + dev-haskell/monad-logger:=[profile?] + >=dev-haskell/persistent-1.3:=[profile?] <dev-haskell/persistent-1.4:=[profile?] + dev-haskell/resourcet:=[profile?] + >=dev-haskell/tagged-0.2:=[profile?] + >=dev-haskell/text-0.11:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/hspec-1.8 + dev-haskell/hunit + dev-haskell/monad-control + >=dev-haskell/monad-logger-0.3 + >=dev-haskell/persistent-sqlite-1.2 <dev-haskell/persistent-sqlite-1.4 + >=dev-haskell/persistent-template-1.2 <dev-haskell/persistent-template-1.4 + dev-haskell/quickcheck ) +" + +RESTRICT=test # hangs + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.0.6-haddock.patch +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-mysql \ + --flag=-postgresql +} diff --git a/dev-haskell/esqueleto/esqueleto-2.1.2.1.ebuild b/dev-haskell/esqueleto/esqueleto-2.1.2.1.ebuild new file mode 100644 index 000000000000..58d232b122c0 --- /dev/null +++ b/dev-haskell/esqueleto/esqueleto-2.1.2.1.ebuild @@ -0,0 +1,49 @@ +# 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.4.9999 +#hackport: flags: -mysql,-postgresql + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Type-safe EDSL for SQL queries on persistent backends" +HOMEPAGE="https://github.com/prowdsponsor/esqueleto" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT=test # tests hang + +RDEPEND=">=dev-haskell/conduit-1.1:=[profile?] + dev-haskell/monad-logger:=[profile?] + >=dev-haskell/persistent-2.1:=[profile?] <dev-haskell/persistent-2.2:=[profile?] + >=dev-haskell/resourcet-1.1:=[profile?] + >=dev-haskell/tagged-0.2:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/hspec-1.8 + dev-haskell/hunit + dev-haskell/monad-control + >=dev-haskell/monad-logger-0.3 + >=dev-haskell/persistent-sqlite-2.1 <dev-haskell/persistent-sqlite-2.2 + >=dev-haskell/persistent-template-2.1 <dev-haskell/persistent-template-2.2 + dev-haskell/quickcheck ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-mysql \ + --flag=-postgresql +} diff --git a/dev-haskell/esqueleto/esqueleto-2.1.2.2.ebuild b/dev-haskell/esqueleto/esqueleto-2.1.2.2.ebuild new file mode 100644 index 000000000000..c5382e283c66 --- /dev/null +++ b/dev-haskell/esqueleto/esqueleto-2.1.2.2.ebuild @@ -0,0 +1,54 @@ +# 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 +#hackport: flags: -mysql,-postgresql + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Type-safe EDSL for SQL queries on persistent backends" +HOMEPAGE="https://github.com/prowdsponsor/esqueleto" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT=test # tests hang + +RDEPEND=">=dev-haskell/conduit-1.1:=[profile?] + dev-haskell/monad-logger:=[profile?] + >=dev-haskell/persistent-2.1:=[profile?] <dev-haskell/persistent-2.2:=[profile?] + >=dev-haskell/resourcet-1.1:=[profile?] + >=dev-haskell/tagged-0.2:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/hspec-1.8 + dev-haskell/hunit + dev-haskell/monad-control + >=dev-haskell/monad-logger-0.3 + >=dev-haskell/persistent-sqlite-2.1 <dev-haskell/persistent-sqlite-2.2 + >=dev-haskell/persistent-template-2.1 <dev-haskell/persistent-template-2.2 + dev-haskell/quickcheck ) +" + +src_prepare() { + cabal_chdeps \ + 'base >= 4.5 && < 4.8' 'base >= 4.5' +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-mysql \ + --flag=-postgresql +} diff --git a/dev-haskell/esqueleto/esqueleto-2.1.3.ebuild b/dev-haskell/esqueleto/esqueleto-2.1.3.ebuild new file mode 100644 index 000000000000..a860b5b66470 --- /dev/null +++ b/dev-haskell/esqueleto/esqueleto-2.1.3.ebuild @@ -0,0 +1,49 @@ +# 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 +#hackport: flags: -mysql,-postgresql + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Type-safe EDSL for SQL queries on persistent backends" +HOMEPAGE="https://github.com/prowdsponsor/esqueleto" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT=test # tests hang + +RDEPEND=">=dev-haskell/conduit-1.1:=[profile?] + dev-haskell/monad-logger:=[profile?] + >=dev-haskell/persistent-2.1.1.7:=[profile?] <dev-haskell/persistent-2.2:=[profile?] + >=dev-haskell/resourcet-1.1:=[profile?] + >=dev-haskell/tagged-0.2:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/hspec-1.8 + dev-haskell/hunit + dev-haskell/monad-control + >=dev-haskell/monad-logger-0.3 + >=dev-haskell/persistent-sqlite-2.1 <dev-haskell/persistent-sqlite-2.2 + >=dev-haskell/persistent-template-2.1 <dev-haskell/persistent-template-2.2 + dev-haskell/quickcheck ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-mysql \ + --flag=-postgresql +} diff --git a/dev-haskell/esqueleto/files/esqueleto-1.0.6-haddock.patch b/dev-haskell/esqueleto/files/esqueleto-1.0.6-haddock.patch new file mode 100644 index 000000000000..bf66a22b359e --- /dev/null +++ b/dev-haskell/esqueleto/files/esqueleto-1.0.6-haddock.patch @@ -0,0 +1,13 @@ +diff --git a/src/Database/Esqueleto.hs b/src/Database/Esqueleto.hs +index 5900c5d..340cd7d 100644 +--- a/src/Database/Esqueleto.hs ++++ b/src/Database/Esqueleto.hs +@@ -289,7 +289,7 @@ import qualified Database.Persist.Store + -- + -- @ + -- do 'update' $ \\p -> do +--- 'set' p [ PersonName '=.' val \"João\" ] ++-- 'set' p [ PersonName '=.' val \"Joao\" ] + -- where_ (p ^. PersonName ==. val \"Joao\") + -- 'delete' $ + -- from $ \\p -> do diff --git a/dev-haskell/esqueleto/metadata.xml b/dev-haskell/esqueleto/metadata.xml new file mode 100644 index 000000000000..7e706ecf63b6 --- /dev/null +++ b/dev-haskell/esqueleto/metadata.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <longdescription> + @persistent@ is a library for type-safe data serialization. It + has many kinds of backends, such as SQL backends + (@persistent-mysql@, @persistent-postgresql@, + @persistent-sqlite@) and NoSQL backends (@persistent-mongoDB@). + + While @persistent@ is a nice library for storing and retrieving + records, currently it has a poor interface for SQL backends + compared to SQL itself. For example, it's extremely hard to do + a type-safe @JOIN@ on a many-to-one relation, and simply + impossible to do any other kinds of @JOIN@s (including for the + very common many-to-many relations). Users have the option of + writing raw SQL, but that's error prone and not type-checked. + + @esqueleto@ is a bare bones, type-safe EDSL for SQL queries + that works with unmodified @persistent@ SQL backends. Its + language closely resembles SQL, so (a) you don't have to learn + new concepts, just new syntax, and (b) it's fairly easy to + predict the generated SQL and optimize it for your backend. + Most kinds of errors committed when writing SQL are caught as + compile-time errors---although it is possible to write + type-checked @esqueleto@ queries that fail at runtime. + + Currently only @SELECT@s are supported. Not all SQL features + are available, but most of them can be easily added (especially + functions), so please open an issue or send a pull request if + you need anything that is not covered by @esqueleto@ on + <https://github.com/meteficha/esqueleto/>. + + The name of this library means \"skeleton\" in Portuguese and + contains all three SQL letters in the correct order =). It was + inspired by Scala's Squeryl but created from scratch. + </longdescription> + <upstream> + <remote-id type="github">prowdsponsor/esqueleto</remote-id> + </upstream> +</pkgmetadata> |