diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-29 19:29:03 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-29 19:37:00 +0100 |
commit | 06cd3957024ffdee8094d772a207016175bdd4fc (patch) | |
tree | a83fa4de564937f74848a90f4bf16be6be21a72f /dev-haskell/mysql-simple | |
parent | dev-haskell/blaze-textual: new package, a depend of esqueleto-3.3 (diff) | |
download | gentoo-06cd3957024ffdee8094d772a207016175bdd4fc.tar.gz gentoo-06cd3957024ffdee8094d772a207016175bdd4fc.tar.bz2 gentoo-06cd3957024ffdee8094d772a207016175bdd4fc.zip |
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@gentoo.org>
Diffstat (limited to 'dev-haskell/mysql-simple')
-rw-r--r-- | dev-haskell/mysql-simple/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/mysql-simple/metadata.xml | 20 | ||||
-rw-r--r-- | dev-haskell/mysql-simple/mysql-simple-0.4.5.ebuild | 42 |
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-haskell/mysql-simple/Manifest b/dev-haskell/mysql-simple/Manifest new file mode 100644 index 000000000000..0eeed70cb7e7 --- /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 000000000000..bb3bfed65702 --- /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>haskell@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 + <http://www.mysql.com/about/legal/licensing/foss-exception/>. + + 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 000000000000..72f2b2c8d56c --- /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) +} |