summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-08-29 19:31:08 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-29 19:37:01 +0100
commitc52e7e7d9969529ff9573e69afa005a053e9a94e (patch)
tree57dbb5d7ecdbdff98b146c51042249aaa7c82d91 /dev-haskell/persistent-mysql
parentdev-haskell/persistent-qq: new package, a depend of esqueleto-3.3 (diff)
downloadgentoo-c52e7e7d9969529ff9573e69afa005a053e9a94e.tar.gz
gentoo-c52e7e7d9969529ff9573e69afa005a053e9a94e.tar.bz2
gentoo-c52e7e7d9969529ff9573e69afa005a053e9a94e.zip
dev-haskell/persistent-mysql: new package, a depend of esqueleto-3.3
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/persistent-mysql')
-rw-r--r--dev-haskell/persistent-mysql/Manifest1
-rw-r--r--dev-haskell/persistent-mysql/metadata.xml21
-rw-r--r--dev-haskell/persistent-mysql/persistent-mysql-2.10.2.3.ebuild45
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-haskell/persistent-mysql/Manifest b/dev-haskell/persistent-mysql/Manifest
new file mode 100644
index 000000000000..d78162e6bf73
--- /dev/null
+++ b/dev-haskell/persistent-mysql/Manifest
@@ -0,0 +1 @@
+DIST persistent-mysql-2.10.2.3.tar.gz 21760 BLAKE2B f997d0250cb639ce5f5b77e234388678ed45d499e283ffc9436c9d39171d7dfa35980525ffb911a492d28f147b5239220035452b2c9c6c8c154d4e5f82eb556f SHA512 6fbc72345a6fba4880fdcc87cd220cae3a574d7e945fe5d7a02124177b597d8a19d6b429ea16bd993e73b79cd8b74351f220d30b806567f0eec6cb7641788040
diff --git a/dev-haskell/persistent-mysql/metadata.xml b/dev-haskell/persistent-mysql/metadata.xml
new file mode 100644
index 000000000000..035923944fce
--- /dev/null
+++ b/dev-haskell/persistent-mysql/metadata.xml
@@ -0,0 +1,21 @@
+<?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>
+ <longdescription>
+ This package contains a backend for persistent using the
+ MySQL database server. Internally it uses the @mysql-simple@
+ and @mysql@ packages in order to access the database.
+
+ This package supports only MySQL 5.1 and above. However, it
+ has been tested only on MySQL 5.5.
+
+ Known problems:
+
+ * This package does not support statements inside other
+ statements.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/persistent-mysql/persistent-mysql-2.10.2.3.ebuild b/dev-haskell/persistent-mysql/persistent-mysql-2.10.2.3.ebuild
new file mode 100644
index 000000000000..a284caa095ef
--- /dev/null
+++ b/dev-haskell/persistent-mysql/persistent-mysql-2.10.2.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.4.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Backend for the persistent library using MySQL database server"
+HOMEPAGE="http://www.yesodweb.com/book/persistent"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT="test" # tests require mysql
+
+RDEPEND=">=dev-haskell/aeson-1.0:=[profile?]
+ dev-haskell/blaze-builder:=[profile?]
+ >=dev-haskell/conduit-1.2.12:=[profile?]
+ dev-haskell/monad-logger:=[profile?]
+ >=dev-haskell/mysql-0.1.4:=[profile?] <dev-haskell/mysql-0.2:=[profile?]
+ >=dev-haskell/mysql-simple-0.4.4:=[profile?] <dev-haskell/mysql-simple-0.5:=[profile?]
+ >=dev-haskell/persistent-2.10.0:=[profile?] <dev-haskell/persistent-3:=[profile?]
+ dev-haskell/resource-pool:=[profile?]
+ >=dev-haskell/resourcet-1.1:=[profile?]
+ >=dev-haskell/text-1.2:=[profile?]
+ dev-haskell/unliftio-core:=[profile?]
+ >=dev-lang/ghc-8.0.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.24.0.0
+ test? ( dev-haskell/fast-logger
+ >=dev-haskell/hspec-2.4
+ dev-haskell/hunit
+ dev-haskell/persistent-qq
+ dev-haskell/persistent-template
+ dev-haskell/persistent-test
+ dev-haskell/quickcheck
+ dev-haskell/quickcheck-instances )
+"