Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/hdbc-postgresql/
Date: Sun, 25 Jul 2021 08:35:50
Message-Id: 1627201981.f568c992ec0db6b55df2256a1875986c51d266a3.slyfox@gentoo
1 commit: f568c992ec0db6b55df2256a1875986c51d266a3
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 25 08:33:01 2021 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 25 08:33:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f568c992
7
8 dev-haskell/hdbc-postgresql: bump up to 2.5.0.0
9
10 Reported-by: Toralf Förster
11 Closes: https://bugs.gentoo.org/799077
12 Package-Manager: Portage-3.0.20, Repoman-3.0.3
13 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
14
15 dev-haskell/hdbc-postgresql/Manifest | 1 +
16 .../hdbc-postgresql/hdbc-postgresql-2.5.0.0.ebuild | 51 ++++++++++++++++++++++
17 2 files changed, 52 insertions(+)
18
19 diff --git a/dev-haskell/hdbc-postgresql/Manifest b/dev-haskell/hdbc-postgresql/Manifest
20 index 3fa7e42be53..4f949e04a54 100644
21 --- a/dev-haskell/hdbc-postgresql/Manifest
22 +++ b/dev-haskell/hdbc-postgresql/Manifest
23 @@ -1 +1,2 @@
24 DIST HDBC-postgresql-2.3.2.7.tar.gz 25606 BLAKE2B 0991686424f5912258fd1a9bdd40ef84d04a069a2ba14ce93678cce8f8fc1a73a10ed4c9fdf31a372e52a9833007e6469bcb9632d3f80022f240a3bac8aaca28 SHA512 0e4b27d5c18335e47b9782adcb09702654d9f8d04053110576a8a7ce68dc90810e35977886e2cbde0d4ef337aad5b36a4217dbfe07e1f64753f0cc34892d006e
25 +DIST HDBC-postgresql-2.5.0.0.tar.gz 24404 BLAKE2B 8fc7ca3b2fa6d379af4f9dd4b801921274a6c352b05e95b836f0208304e2e2a6cc18df765b432767cb6ef9fa3f99ee0488e095b82091c12838f6b3220f114453 SHA512 3a81708b119e156e08265b02f3b27ac764a854b8d79f7ed1bd1c191b897ead10d231854f0edaf1f27d76af18e4330c67b7ced0328830e013bab88ec47f668a4d
26
27 diff --git a/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.5.0.0.ebuild b/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.5.0.0.ebuild
28 new file mode 100644
29 index 00000000000..829c73553ed
30 --- /dev/null
31 +++ b/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.5.0.0.ebuild
32 @@ -0,0 +1,51 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +# ebuild generated by hackport 0.6.7.9999
39 +#hackport: flags: +splitbase -buildtests
40 +
41 +CABAL_FEATURES="lib profile haddock hoogle hscolour"
42 +inherit haskell-cabal
43 +
44 +MY_PN="HDBC-postgresql"
45 +MY_P="${MY_PN}-${PV}"
46 +
47 +DESCRIPTION="PostgreSQL driver for HDBC"
48 +HOMEPAGE="https://github.com/hdbc/hdbc-postgresql"
49 +SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
50 +
51 +LICENSE="BSD"
52 +SLOT="2/${PV}"
53 +KEYWORDS="~amd64 ~x86"
54 +IUSE=""
55 +
56 +RDEPEND=">=dev-db/postgresql-7:*
57 + dev-haskell/convertible:=[profile?]
58 + >=dev-haskell/hdbc-2.2.0:2=[profile?]
59 + dev-haskell/mtl:=[profile?]
60 + dev-haskell/old-locale:=[profile?]
61 + dev-haskell/old-time:=[profile?]
62 + dev-haskell/parsec:=[profile?]
63 + dev-haskell/utf8-string:=[profile?]
64 + >=dev-lang/ghc-8.4.3:=
65 +"
66 +DEPEND="${RDEPEND}
67 + >=dev-haskell/cabal-2.2.0.1
68 +"
69 +
70 +S="${WORKDIR}/${MY_P}"
71 +
72 +src_prepare() {
73 + default
74 +
75 + cabal_chdeps \
76 + 'Cabal >= 1.8 && < 3.3' 'Cabal >= 1.8'
77 +}
78 +
79 +src_configure() {
80 + haskell-cabal_src_configure \
81 + --flag=-buildtests \
82 + --flag=splitbase
83 +}