dev-haskell/postgresql-libpq: 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>
This commit is contained in:
Sergei Trofimovich
2020-08-29 19:33:15 +01:00
parent c52e7e7d99
commit 9891cbd2e4
3 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST postgresql-libpq-0.9.4.2.tar.gz 31349 BLAKE2B 3f590eacc034eedeec7c9e83122ac0d52faf29dea1c0d929eaac50a199f933fe755dadaa99b6a25abb9db46b13f51a8f581fb37c628f70ab850fb599347c88bc SHA512 8bb811d8a25a09e232391412a78125a419db00bd293eaff8f0d3c652a65a5d312e3f42fae41babe9edf820adead5c243dc5a055ab16d7f9725c861b464a8d4f4

View File

@@ -0,0 +1,16 @@
<?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>
This is a binding to libpq: the C application
programmer's interface to PostgreSQL. libpq is a
set of library functions that allow client
programs to pass queries to the PostgreSQL
backend server and to receive the results of
these queries.
</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# ebuild generated by hackport 0.5.6.9999
#hackport: flags: -use-pkg-config
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="low-level binding to libpq"
HOMEPAGE="https://github.com/phadej/postgresql-libpq"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-db/postgresql-7:*
>=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.10 <dev-haskell/cabal-3.3
"
src_prepare() {
default
cabal_chdeps \
'base >=4.3 && <4.13' 'base >=4.3' \
'Cabal >= 1.10 && <2.5' 'Cabal >= 1.10 && <3.3'
}
src_configure() {
haskell-cabal_src_configure \
--flag=-use-pkg-config
}