diff options
Diffstat (limited to 'dev-haskell/hdbc-postgresql')
-rw-r--r-- | dev-haskell/hdbc-postgresql/Manifest | 5 | ||||
-rw-r--r-- | dev-haskell/hdbc-postgresql/hdbc-postgresql-2.3.2.3.ebuild | 63 | ||||
-rw-r--r-- | dev-haskell/hdbc-postgresql/hdbc-postgresql-2.3.2.4-r1.ebuild | 43 | ||||
-rw-r--r-- | dev-haskell/hdbc-postgresql/metadata.xml | 10 |
4 files changed, 121 insertions, 0 deletions
diff --git a/dev-haskell/hdbc-postgresql/Manifest b/dev-haskell/hdbc-postgresql/Manifest new file mode 100644 index 000000000000..34fa4a74ca6d --- /dev/null +++ b/dev-haskell/hdbc-postgresql/Manifest @@ -0,0 +1,5 @@ +DIST HDBC-postgresql-2.3.2.3.tar.gz 25193 BLAKE2B 1f93d2d50e87213415d102fd65bfa2a7d8a0fa5a6cb03223ffa42c6830837cc1ba61421a526756f22b497c7c7486551bac6421d9ddd704ec974d5428b0df656c SHA512 407b18758e75e99230dbad56000839d8499c075e77b63809e079c7968e52177cc599dff30517f8cd08c3e4e263a71a4c65b3040c318b4b3358ff329824f4766f +DIST HDBC-postgresql-2.3.2.4.tar.gz 25288 BLAKE2B 9ecd290932ed83cd16159d8ea17379327040eb474ccae2819b95891475395e4ccd1d9724393c15f38053137afc8185bb8c1b6c90a11b76412a199a45104af394 SHA512 44f04536d04cf5b9778a03c5cce12d538b121a578e91b338753d64d69939852aacda57fca1e6dd22b5c2160bb29c71b2f8d8f63a9a7b62401db6f89e1d272364 +EBUILD hdbc-postgresql-2.3.2.3.ebuild 1563 BLAKE2B fe553fa150e11eff842e1be0a3bf6fb7d01276035b8d28c253ee56a8a8259fd341312e627854786b6237c1d7d693d2d0839864c1c3efacf4b0d9628b45283f0e SHA512 c2fe5684f691775e0a78840f820a0bafc6fffb555f84268a2547d19e55cbd0b8a53a66e02f9500d52936b042036378cba85c3e09c95a4597f8caeebd276e0589 +EBUILD hdbc-postgresql-2.3.2.4-r1.ebuild 983 BLAKE2B 4146d5a472f8de5fa27d12b93a3009506bad28186b66abd41cc6c94241031e9be0f11621280d8cd6dee6950dbc163d1d3cbf4013f01ff5de9e5752d30d946dd8 SHA512 f1622304d813cad8403e7da56549a6939d977eefba5ad2b1b5f00d5a51e502ec3876a100774f45597416d12653180927d3b354a0956bbbb6825e21191b7e0541 +MISC metadata.xml 312 BLAKE2B 31b0d561388d9aa98ec655f39ec34ae2feec6f3c4083e0bf49a058b54552ef1f06e65d472f7d5a3a6f343a53b83902a00383bfeb1a2e86d34286a5c19858341c SHA512 334d957cf43df9cde23341a942662697f9cc1cf568956d6e01ac8cb8bee488e37719a48f87dd6d6b30478742e4023fd7af104d6f7bfd50aa57efb66d9e9f5a88 diff --git a/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.3.2.3.ebuild b/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.3.2.3.ebuild new file mode 100644 index 000000000000..37ee78d5920d --- /dev/null +++ b/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.3.2.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.5.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +CABAL_FEATURES+=" nocabaldep" # workaround depend on old cabal-1.16 +inherit haskell-cabal + +MY_PN="HDBC-postgresql" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="PostgreSQL driver for HDBC" +HOMEPAGE="https://github.com/hdbc/hdbc-postgresql" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="2/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="test" # requires configured postgresql + +RDEPEND=">=dev-db/postgresql-7:* + dev-haskell/convertible:=[profile?] + >=dev-haskell/hdbc-2.2.0:2=[profile?] + dev-haskell/mtl:=[profile?] + dev-haskell/old-locale:=[profile?] + dev-haskell/old-time:=[profile?] + dev-haskell/parsec:=[profile?] + dev-haskell/utf8-string:=[profile?] + >=dev-lang/ghc-6.12.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8.0.2 + test? ( >=dev-haskell/hdbc-2.2.6:=[profile?] + dev-haskell/hunit:=[profile?] + dev-haskell/quickcheck:2=[profile?] + dev-haskell/testpack:=[profile?] ) +" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag test buildtests) +} + +src_test() { + # default tests + haskell-cabal_src_test || die "cabal test failed" + + # built custom tests + "${S}/dist/build/runtests/runtests" || die "unit tests failed" +} + +src_install() { + cabal_src_install + + # if tests were enabled, make sure the unit test driver is deleted + rm -f "${ED}/usr/bin/runtests" +} diff --git a/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.3.2.4-r1.ebuild b/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.3.2.4-r1.ebuild new file mode 100644 index 000000000000..128c63c2c02d --- /dev/null +++ b/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.3.2.4-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.5.1.9999 +#hackport: flags: +splitbase + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +MY_PN="HDBC-postgresql" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="PostgreSQL driver for HDBC" +HOMEPAGE="https://github.com/hdbc/hdbc-postgresql" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="2/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-db/postgresql-7:* + dev-haskell/convertible:=[profile?] + >=dev-haskell/hdbc-2.2.0:2=[profile?] + dev-haskell/mtl:=[profile?] + dev-haskell/old-locale:=[profile?] + dev-haskell/old-time:=[profile?] + dev-haskell/parsec:=[profile?] + dev-haskell/utf8-string:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 +" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + haskell-cabal_src_configure \ + --flag=splitbase +} diff --git a/dev-haskell/hdbc-postgresql/metadata.xml b/dev-haskell/hdbc-postgresql/metadata.xml new file mode 100644 index 000000000000..9b1707d75fe9 --- /dev/null +++ b/dev-haskell/hdbc-postgresql/metadata.xml @@ -0,0 +1,10 @@ +<?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> + </maintainer> + <upstream> + <remote-id type="github">hdbc/hdbc-postgresql</remote-id> + </upstream> +</pkgmetadata> |