1 |
commit: c52e7e7d9969529ff9573e69afa005a053e9a94e |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 29 18:31:08 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 29 18:37:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c52e7e7d |
7 |
|
8 |
dev-haskell/persistent-mysql: new package, a depend of esqueleto-3.3 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
dev-haskell/persistent-mysql/Manifest | 1 + |
14 |
dev-haskell/persistent-mysql/metadata.xml | 21 ++++++++++ |
15 |
.../persistent-mysql-2.10.2.3.ebuild | 45 ++++++++++++++++++++++ |
16 |
3 files changed, 67 insertions(+) |
17 |
|
18 |
diff --git a/dev-haskell/persistent-mysql/Manifest b/dev-haskell/persistent-mysql/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..d78162e6bf7 |
21 |
--- /dev/null |
22 |
+++ b/dev-haskell/persistent-mysql/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST persistent-mysql-2.10.2.3.tar.gz 21760 BLAKE2B f997d0250cb639ce5f5b77e234388678ed45d499e283ffc9436c9d39171d7dfa35980525ffb911a492d28f147b5239220035452b2c9c6c8c154d4e5f82eb556f SHA512 6fbc72345a6fba4880fdcc87cd220cae3a574d7e945fe5d7a02124177b597d8a19d6b429ea16bd993e73b79cd8b74351f220d30b806567f0eec6cb7641788040 |
25 |
|
26 |
diff --git a/dev-haskell/persistent-mysql/metadata.xml b/dev-haskell/persistent-mysql/metadata.xml |
27 |
new file mode 100644 |
28 |
index 00000000000..035923944fc |
29 |
--- /dev/null |
30 |
+++ b/dev-haskell/persistent-mysql/metadata.xml |
31 |
@@ -0,0 +1,21 @@ |
32 |
+<?xml version="1.0" encoding="UTF-8"?> |
33 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
34 |
+<pkgmetadata> |
35 |
+ <maintainer type="project"> |
36 |
+ <email>haskell@g.o</email> |
37 |
+ <name>Gentoo Haskell</name> |
38 |
+ </maintainer> |
39 |
+ <longdescription> |
40 |
+ This package contains a backend for persistent using the |
41 |
+ MySQL database server. Internally it uses the @mysql-simple@ |
42 |
+ and @mysql@ packages in order to access the database. |
43 |
+ |
44 |
+ This package supports only MySQL 5.1 and above. However, it |
45 |
+ has been tested only on MySQL 5.5. |
46 |
+ |
47 |
+ Known problems: |
48 |
+ |
49 |
+ * This package does not support statements inside other |
50 |
+ statements. |
51 |
+ </longdescription> |
52 |
+</pkgmetadata> |
53 |
|
54 |
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 |
55 |
new file mode 100644 |
56 |
index 00000000000..a284caa095e |
57 |
--- /dev/null |
58 |
+++ b/dev-haskell/persistent-mysql/persistent-mysql-2.10.2.3.ebuild |
59 |
@@ -0,0 +1,45 @@ |
60 |
+# Copyright 1999-2020 Gentoo Authors |
61 |
+# Distributed under the terms of the GNU General Public License v2 |
62 |
+ |
63 |
+EAPI=7 |
64 |
+ |
65 |
+# ebuild generated by hackport 0.6.4.9999 |
66 |
+ |
67 |
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" |
68 |
+inherit haskell-cabal |
69 |
+ |
70 |
+DESCRIPTION="Backend for the persistent library using MySQL database server" |
71 |
+HOMEPAGE="http://www.yesodweb.com/book/persistent" |
72 |
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" |
73 |
+ |
74 |
+LICENSE="MIT" |
75 |
+SLOT="0/${PV}" |
76 |
+KEYWORDS="~amd64 ~x86" |
77 |
+IUSE="" |
78 |
+ |
79 |
+RESTRICT="test" # tests require mysql |
80 |
+ |
81 |
+RDEPEND=">=dev-haskell/aeson-1.0:=[profile?] |
82 |
+ dev-haskell/blaze-builder:=[profile?] |
83 |
+ >=dev-haskell/conduit-1.2.12:=[profile?] |
84 |
+ dev-haskell/monad-logger:=[profile?] |
85 |
+ >=dev-haskell/mysql-0.1.4:=[profile?] <dev-haskell/mysql-0.2:=[profile?] |
86 |
+ >=dev-haskell/mysql-simple-0.4.4:=[profile?] <dev-haskell/mysql-simple-0.5:=[profile?] |
87 |
+ >=dev-haskell/persistent-2.10.0:=[profile?] <dev-haskell/persistent-3:=[profile?] |
88 |
+ dev-haskell/resource-pool:=[profile?] |
89 |
+ >=dev-haskell/resourcet-1.1:=[profile?] |
90 |
+ >=dev-haskell/text-1.2:=[profile?] |
91 |
+ dev-haskell/unliftio-core:=[profile?] |
92 |
+ >=dev-lang/ghc-8.0.1:= |
93 |
+" |
94 |
+DEPEND="${RDEPEND} |
95 |
+ >=dev-haskell/cabal-1.24.0.0 |
96 |
+ test? ( dev-haskell/fast-logger |
97 |
+ >=dev-haskell/hspec-2.4 |
98 |
+ dev-haskell/hunit |
99 |
+ dev-haskell/persistent-qq |
100 |
+ dev-haskell/persistent-template |
101 |
+ dev-haskell/persistent-test |
102 |
+ dev-haskell/quickcheck |
103 |
+ dev-haskell/quickcheck-instances ) |
104 |
+" |