Skip to content

Commit

Permalink
dev-haskell/persistent-mysql: new package, a depend of esqueleto-3.3
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <[email protected]>
  • Loading branch information
Sergei Trofimovich committed Aug 29, 2020
1 parent 9af21c4 commit c52e7e7
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-haskell/persistent-mysql/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST persistent-mysql-2.10.2.3.tar.gz 21760 BLAKE2B f997d0250cb639ce5f5b77e234388678ed45d499e283ffc9436c9d39171d7dfa35980525ffb911a492d28f147b5239220035452b2c9c6c8c154d4e5f82eb556f SHA512 6fbc72345a6fba4880fdcc87cd220cae3a574d7e945fe5d7a02124177b597d8a19d6b429ea16bd993e73b79cd8b74351f220d30b806567f0eec6cb7641788040
21 changes: 21 additions & 0 deletions dev-haskell/persistent-mysql/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</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>
45 changes: 45 additions & 0 deletions dev-haskell/persistent-mysql/persistent-mysql-2.10.2.3.ebuild
Original file line number Diff line number Diff line change
@@ -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 )
"

0 comments on commit c52e7e7

Please sign in to comment.