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/
Date: Thu, 20 Aug 2020 08:27:08
Message-Id: 1597912021.eb30ac21ac9ef64ca9459fec37426ff43715b427.slyfox@gentoo
1 commit: eb30ac21ac9ef64ca9459fec37426ff43715b427
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 20 08:26:42 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 20 08:27:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb30ac21
7
8 dev-haskell/hdbc: drop old
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-haskell/hdbc/Manifest | 2 --
14 dev-haskell/hdbc/hdbc-2.3.1.2.ebuild | 62 -----------------------------------
15 dev-haskell/hdbc/hdbc-2.4.0.1.ebuild | 63 ------------------------------------
16 3 files changed, 127 deletions(-)
17
18 diff --git a/dev-haskell/hdbc/Manifest b/dev-haskell/hdbc/Manifest
19 index c27f2313eae..b22461360e6 100644
20 --- a/dev-haskell/hdbc/Manifest
21 +++ b/dev-haskell/hdbc/Manifest
22 @@ -1,3 +1 @@
23 -DIST HDBC-2.3.1.2.tar.gz 23314 BLAKE2B cc6eca2703be4768ea55b7264f960419378e415d165d63b64ac903a5228534cedec7b7e2d9f5c3284781b5a3f253a020deadd3e335bcfa46a77df746e8e99291 SHA512 e98ca4043c311eb8e5adb02d1a59bc0d1be84ba66c224b848649a596de214a2a38b8bedfe71fa8f17ae0843cf073e814c76e7e868aca1e20619e3d5fa573109c
24 -DIST HDBC-2.4.0.1.tar.gz 23415 BLAKE2B a63037329bd68e09c343497dd0d95a36675872122ff30bbf40ca108f8bd56454df354628b2317c11745ba58c60b5a9023128253e07a24622c1b34ef7356d07f2 SHA512 1a20a533ffe7700cfb48c9875e9c6b09f940c1b808fd1a371327eed9c358abfe0167d206bb5b2dbb904b49f2081f91f81091d4164aad2aa08555f6de01a55d5a
25 DIST HDBC-2.4.0.3.tar.gz 23489 BLAKE2B 23de627666bc4a03c5f3ec93607641c539c1652a4fa9b798dbfd1f9c09ebcffc562bda88e45a522e38753177d69ee0585c9536ab6b6c353747373b751ead7f2a SHA512 394a74e69ff854e657f66f1fe25ff4d2de33bf4410d560454ec7a2cd3e383586acc34eb694a7d1d70005871240417ee32d4163af9e33978921bfbcfcfe23fe43
26
27 diff --git a/dev-haskell/hdbc/hdbc-2.3.1.2.ebuild b/dev-haskell/hdbc/hdbc-2.3.1.2.ebuild
28 deleted file mode 100644
29 index c346de331f6..00000000000
30 --- a/dev-haskell/hdbc/hdbc-2.3.1.2.ebuild
31 +++ /dev/null
32 @@ -1,62 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -
38 -# ebuild generated by hackport 0.3.1.9999
39 -
40 -CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
41 -inherit haskell-cabal versionator
42 -
43 -MY_PN="HDBC"
44 -MY_P="${MY_PN}-${PV}"
45 -
46 -DESCRIPTION="Haskell Database Connectivity"
47 -HOMEPAGE="https://github.com/hdbc/hdbc"
48 -SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
49 -
50 -LICENSE="BSD"
51 -SLOT="2/${PV}"
52 -KEYWORDS="~amd64 ~x86"
53 -IUSE="mysql odbc postgres sqlite test"
54 -RESTRICT="!test? ( test )"
55 -
56 -RDEPEND=">=dev-haskell/convertible-1.0.10.0:=[profile?] <dev-haskell/convertible-1.1.0.0:=[profile?]
57 - dev-haskell/mtl:=[profile?]
58 - dev-haskell/text:=[profile?]
59 - dev-haskell/utf8-string:=[profile?]
60 - >=dev-lang/ghc-6.12.1:="
61 -DEPEND="${RDEPEND}
62 - >=dev-haskell/cabal-1.8
63 - test? ( dev-haskell/hunit
64 - dev-haskell/quickcheck
65 - dev-haskell/testpack
66 - )
67 - "
68 -
69 -DEPENDV="$(get_version_component_range 1-2)"
70 -PDEPEND="mysql? ( dev-haskell/hdbc-mysql )
71 - odbc? ( =dev-haskell/hdbc-odbc-${DEPENDV}* )
72 - postgres? ( =dev-haskell/hdbc-postgresql-${DEPENDV}* )
73 - sqlite? ( >=dev-haskell/hdbc-sqlite3-${DEPENDV} )"
74 -
75 -S="${WORKDIR}/${MY_P}"
76 -
77 -src_configure() {
78 - cabal_src_configure $(cabal_flag test buildtests)
79 -}
80 -
81 -src_test() {
82 - # default tests
83 - haskell-cabal_src_test || die "cabal test failed"
84 -
85 - # built custom tests
86 - "${S}/dist/build/runtests/runtests" || die "unit tests failed"
87 -}
88 -
89 -src_install() {
90 - cabal_src_install
91 -
92 - # if tests were enabled, make sure the unit test driver is deleted
93 - rm -f "${ED}/usr/bin/runtests"
94 -}
95
96 diff --git a/dev-haskell/hdbc/hdbc-2.4.0.1.ebuild b/dev-haskell/hdbc/hdbc-2.4.0.1.ebuild
97 deleted file mode 100644
98 index b23df73dfef..00000000000
99 --- a/dev-haskell/hdbc/hdbc-2.4.0.1.ebuild
100 +++ /dev/null
101 @@ -1,63 +0,0 @@
102 -# Copyright 1999-2019 Gentoo Authors
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=5
106 -
107 -# ebuild generated by hackport 0.4.4.9999
108 -#hackport: flags: buildtests:test
109 -
110 -CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
111 -inherit haskell-cabal
112 -
113 -MY_PN="HDBC"
114 -MY_P="${MY_PN}-${PV}"
115 -
116 -DESCRIPTION="Haskell Database Connectivity"
117 -HOMEPAGE="https://github.com/hdbc/hdbc"
118 -SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
119 -
120 -LICENSE="BSD"
121 -SLOT="2/${PV}"
122 -KEYWORDS="~amd64 ~x86"
123 -IUSE="test"
124 -RESTRICT="test" # Tests do not compile with time 1.5
125 -
126 -RDEPEND=">=dev-haskell/convertible-1.1.0.0:=[profile?]
127 - dev-haskell/mtl:=[profile?]
128 - dev-haskell/text:=[profile?]
129 - dev-haskell/utf8-string:=[profile?]
130 - >=dev-lang/ghc-7.4.1:=
131 -"
132 -DEPEND="${RDEPEND}
133 - >=dev-haskell/cabal-1.8
134 - test? ( dev-haskell/hunit:=[profile?]
135 - >=dev-haskell/quickcheck-2.0:2=[profile?]
136 - >=dev-haskell/testpack-2.0:=[profile?] )
137 -"
138 -
139 -S="${WORKDIR}/${MY_P}"
140 -
141 -src_prepare() {
142 - cabal_chdeps \
143 - 'time >= 1.5 && < 1.6' 'time >= 1.5'
144 -}
145 -
146 -src_configure() {
147 - haskell-cabal_src_configure \
148 - $(cabal_flag test buildtests)
149 -}
150 -
151 -src_test() {
152 - # default tests
153 - haskell-cabal_src_test || die "cabal test failed"
154 -
155 - # built custom tests
156 - "${S}/dist/build/runtests/runtests" || die "unit tests failed"
157 -}
158 -
159 -src_install() {
160 - cabal_src_install
161 -
162 - # if tests were enabled, make sure the unit test driver is deleted
163 - rm -f "${ED}/usr/bin/runtests"
164 -}