1 |
commit: 06cd3957024ffdee8094d772a207016175bdd4fc |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 29 18:29:03 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 29 18:37:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06cd3957 |
7 |
|
8 |
dev-haskell/mysql-simple: 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/mysql-simple/Manifest | 1 + |
14 |
dev-haskell/mysql-simple/metadata.xml | 20 +++++++++++ |
15 |
dev-haskell/mysql-simple/mysql-simple-0.4.5.ebuild | 42 ++++++++++++++++++++++ |
16 |
3 files changed, 63 insertions(+) |
17 |
|
18 |
diff --git a/dev-haskell/mysql-simple/Manifest b/dev-haskell/mysql-simple/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..0eeed70cb7e |
21 |
--- /dev/null |
22 |
+++ b/dev-haskell/mysql-simple/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST mysql-simple-0.4.5.tar.gz 18867 BLAKE2B 578d84c6416f67edc8d148122838c50cf864a2bedda7670d04307b99fe3fc4e957952c5602c8c8d64c0acc31f38b0c6da2bdd95c7dba3911df76e97a78964ca1 SHA512 a0f254d9adeeab7cf3e738163be900e8947903336cb3d0c6e6e847280d6aefa230cd44722d2b2eea418d098aebe610e595fc69dd54df759465e21244e763510c |
25 |
|
26 |
diff --git a/dev-haskell/mysql-simple/metadata.xml b/dev-haskell/mysql-simple/metadata.xml |
27 |
new file mode 100644 |
28 |
index 00000000000..bb3bfed6570 |
29 |
--- /dev/null |
30 |
+++ b/dev-haskell/mysql-simple/metadata.xml |
31 |
@@ -0,0 +1,20 @@ |
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 |
+ A mid-level client library for the MySQL database, intended to be |
41 |
+ fast and easy to use. |
42 |
+ |
43 |
+ /Important licensing note/: This library is BSD-licensed under the |
44 |
+ terms of the MySQL FOSS License Exception |
45 |
+ <http://www.mysql.com/about/legal/licensing/foss-exception/>. |
46 |
+ |
47 |
+ Since this library links against the GPL-licensed @mysqlclient@ |
48 |
+ library, a non-open-source application that uses it /may/ be |
49 |
+ subject to the terms of the GPL. |
50 |
+ </longdescription> |
51 |
+</pkgmetadata> |
52 |
|
53 |
diff --git a/dev-haskell/mysql-simple/mysql-simple-0.4.5.ebuild b/dev-haskell/mysql-simple/mysql-simple-0.4.5.ebuild |
54 |
new file mode 100644 |
55 |
index 00000000000..72f2b2c8d56 |
56 |
--- /dev/null |
57 |
+++ b/dev-haskell/mysql-simple/mysql-simple-0.4.5.ebuild |
58 |
@@ -0,0 +1,42 @@ |
59 |
+# Copyright 1999-2020 Gentoo Authors |
60 |
+# Distributed under the terms of the GNU General Public License v2 |
61 |
+ |
62 |
+EAPI=7 |
63 |
+ |
64 |
+# ebuild generated by hackport 0.6.9999 |
65 |
+#hackport: flags: developer:debug |
66 |
+ |
67 |
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" |
68 |
+inherit haskell-cabal |
69 |
+ |
70 |
+DESCRIPTION="A mid-level MySQL client library" |
71 |
+HOMEPAGE="https://github.com/paul-rouse/mysql-simple" |
72 |
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" |
73 |
+ |
74 |
+LICENSE="BSD" |
75 |
+SLOT="0/${PV}" |
76 |
+KEYWORDS="~amd64 ~x86" |
77 |
+IUSE="debug" |
78 |
+ |
79 |
+RESTRICT=test # need running mysql, missing files |
80 |
+ |
81 |
+RDEPEND=">=dev-haskell/attoparsec-0.10.0.0:=[profile?] |
82 |
+ dev-haskell/base16-bytestring:=[profile?] |
83 |
+ dev-haskell/blaze-builder:=[profile?] |
84 |
+ dev-haskell/blaze-textual:=[profile?] |
85 |
+ >=dev-haskell/mysql-0.1.1.1:=[profile?] |
86 |
+ dev-haskell/old-locale:=[profile?] |
87 |
+ dev-haskell/pcre-light:=[profile?] |
88 |
+ >=dev-haskell/semigroups-0.11:=[profile?] <dev-haskell/semigroups-0.19:=[profile?] |
89 |
+ >=dev-haskell/text-0.11.0.2:=[profile?] |
90 |
+ >=dev-lang/ghc-7.4.1:= |
91 |
+" |
92 |
+DEPEND="${RDEPEND} |
93 |
+ >=dev-haskell/cabal-1.8 |
94 |
+ test? ( dev-haskell/hspec ) |
95 |
+" |
96 |
+ |
97 |
+src_configure() { |
98 |
+ haskell-cabal_src_configure \ |
99 |
+ $(cabal_flag debug developer) |
100 |
+} |