summaryrefslogtreecommitdiff
path: root/dev-haskell/postgresql-libpq
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
commitb17a3ef12038de50228bade1f05502c74e135321 (patch)
tree9026dffec53f92cba48ca9a500a4f778e6304380 /dev-haskell/postgresql-libpq
parent3cf7c3ef441822c889356fd1812ebf2944a59851 (diff)
gentoo resync : 02.09.2020
Diffstat (limited to 'dev-haskell/postgresql-libpq')
-rw-r--r--dev-haskell/postgresql-libpq/Manifest3
-rw-r--r--dev-haskell/postgresql-libpq/metadata.xml16
-rw-r--r--dev-haskell/postgresql-libpq/postgresql-libpq-0.9.4.2-r2.ebuild39
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-haskell/postgresql-libpq/Manifest b/dev-haskell/postgresql-libpq/Manifest
new file mode 100644
index 000000000000..f23f714d0d37
--- /dev/null
+++ b/dev-haskell/postgresql-libpq/Manifest
@@ -0,0 +1,3 @@
+DIST postgresql-libpq-0.9.4.2.tar.gz 31349 BLAKE2B 3f590eacc034eedeec7c9e83122ac0d52faf29dea1c0d929eaac50a199f933fe755dadaa99b6a25abb9db46b13f51a8f581fb37c628f70ab850fb599347c88bc SHA512 8bb811d8a25a09e232391412a78125a419db00bd293eaff8f0d3c652a65a5d312e3f42fae41babe9edf820adead5c243dc5a055ab16d7f9725c861b464a8d4f4
+EBUILD postgresql-libpq-0.9.4.2-r2.ebuild 853 BLAKE2B f61715c0b7d22ebbcf51c1e36062d86ffadbdec22fcb4fdeb065a797b2291c6ea0003003293a144553a1ae0ec78371e266d8c2ea349822d4fb71d37921bba18a SHA512 01158b1c4a2dc1b752a9de9cd486c0bb675f889f2f9b69c7002ff6f931b7d3accfe673036ab0a28b8478802626459f961727c524f17318384552f4a1544bebbd
+MISC metadata.xml 541 BLAKE2B f0136949c8b8b35af226f3f02f58c36b709fc6129820a9948b0445038c7fb0b7ed64966a2e6a9cb0bc08c01a817a99cd91c0f7bde14cb8b464d101b79552ed50 SHA512 d1c3a475af3af921f51dee1df8c45f41733dcdb583cb10350aa3eb93f03c65b650ff090ad380b920450631eba5ede15ae34da638bcb66488add6d8258a8a5b85
diff --git a/dev-haskell/postgresql-libpq/metadata.xml b/dev-haskell/postgresql-libpq/metadata.xml
new file mode 100644
index 000000000000..da4203ad218c
--- /dev/null
+++ b/dev-haskell/postgresql-libpq/metadata.xml
@@ -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>
diff --git a/dev-haskell/postgresql-libpq/postgresql-libpq-0.9.4.2-r2.ebuild b/dev-haskell/postgresql-libpq/postgresql-libpq-0.9.4.2-r2.ebuild
new file mode 100644
index 000000000000..c077b890a0ed
--- /dev/null
+++ b/dev-haskell/postgresql-libpq/postgresql-libpq-0.9.4.2-r2.ebuild
@@ -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
+}