commit:     06cd3957024ffdee8094d772a207016175bdd4fc
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 29 18:29:03 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Aug 29 18:37:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06cd3957

dev-haskell/mysql-simple: new package, a depend of esqueleto-3.3

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-haskell/mysql-simple/Manifest                  |  1 +
 dev-haskell/mysql-simple/metadata.xml              | 20 +++++++++++
 dev-haskell/mysql-simple/mysql-simple-0.4.5.ebuild | 42 ++++++++++++++++++++++
 3 files changed, 63 insertions(+)

diff --git a/dev-haskell/mysql-simple/Manifest 
b/dev-haskell/mysql-simple/Manifest
new file mode 100644
index 00000000000..0eeed70cb7e
--- /dev/null
+++ b/dev-haskell/mysql-simple/Manifest
@@ -0,0 +1 @@
+DIST mysql-simple-0.4.5.tar.gz 18867 BLAKE2B 
578d84c6416f67edc8d148122838c50cf864a2bedda7670d04307b99fe3fc4e957952c5602c8c8d64c0acc31f38b0c6da2bdd95c7dba3911df76e97a78964ca1
 SHA512 
a0f254d9adeeab7cf3e738163be900e8947903336cb3d0c6e6e847280d6aefa230cd44722d2b2eea418d098aebe610e595fc69dd54df759465e21244e763510c

diff --git a/dev-haskell/mysql-simple/metadata.xml 
b/dev-haskell/mysql-simple/metadata.xml
new file mode 100644
index 00000000000..bb3bfed6570
--- /dev/null
+++ b/dev-haskell/mysql-simple/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>hask...@gentoo.org</email>
+               <name>Gentoo Haskell</name>
+       </maintainer>
+       <longdescription>
+               A mid-level client library for the MySQL database, intended to 
be
+               fast and easy to use.
+               
+               /Important licensing note/: This library is BSD-licensed under 
the
+               terms of the MySQL FOSS License Exception
+               
&lt;http://www.mysql.com/about/legal/licensing/foss-exception/&gt;.
+               
+               Since this library links against the GPL-licensed @mysqlclient@
+               library, a non-open-source application that uses it /may/ be
+               subject to the terms of the GPL.
+       </longdescription>
+</pkgmetadata>

diff --git a/dev-haskell/mysql-simple/mysql-simple-0.4.5.ebuild 
b/dev-haskell/mysql-simple/mysql-simple-0.4.5.ebuild
new file mode 100644
index 00000000000..72f2b2c8d56
--- /dev/null
+++ b/dev-haskell/mysql-simple/mysql-simple-0.4.5.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.9999
+#hackport: flags: developer:debug
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="A mid-level MySQL client library"
+HOMEPAGE="https://github.com/paul-rouse/mysql-simple";
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RESTRICT=test # need running mysql, missing files
+
+RDEPEND=">=dev-haskell/attoparsec-0.10.0.0:=[profile?]
+       dev-haskell/base16-bytestring:=[profile?]
+       dev-haskell/blaze-builder:=[profile?]
+       dev-haskell/blaze-textual:=[profile?]
+       >=dev-haskell/mysql-0.1.1.1:=[profile?]
+       dev-haskell/old-locale:=[profile?]
+       dev-haskell/pcre-light:=[profile?]
+       >=dev-haskell/semigroups-0.11:=[profile?] 
<dev-haskell/semigroups-0.19:=[profile?]
+       >=dev-haskell/text-0.11.0.2:=[profile?]
+       >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+       >=dev-haskell/cabal-1.8
+       test? ( dev-haskell/hspec )
+"
+
+src_configure() {
+       haskell-cabal_src_configure \
+               $(cabal_flag debug developer)
+}

Reply via email to