Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/kyotocabinet/, dev-db/kyotocabinet/files/
Date: Wed, 18 Sep 2019 16:36:06
Message-Id: 1568824533.3d2de1225ac49743f1d47a079a40435502da847f.mattst88@gentoo
1 commit: 3d2de1225ac49743f1d47a079a40435502da847f
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 18 16:35:27 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 18 16:35:33 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d2de122
7
8 dev-db/kyotocabinet: Drop old versions
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 dev-db/kyotocabinet/Manifest | 1 -
13 .../files/kyotocabinet-1.2.76-gcc6.patch | 11 ----
14 dev-db/kyotocabinet/kyotocabinet-1.2.76-r1.ebuild | 62 ----------------------
15 3 files changed, 74 deletions(-)
16
17 diff --git a/dev-db/kyotocabinet/Manifest b/dev-db/kyotocabinet/Manifest
18 index 13b90276c1b..153fe26ce68 100644
19 --- a/dev-db/kyotocabinet/Manifest
20 +++ b/dev-db/kyotocabinet/Manifest
21 @@ -1,2 +1 @@
22 -DIST kyotocabinet-1.2.76.tar.gz 951930 BLAKE2B 7d2b5e5c85e0a6f90c88cd3b6e1b41588dffeaa2a404aa2c83281e033fe4e1275fbbc15584d4998e97f166c5060ce43c9cee9567121edbe1f72a0d5f52f42b40 SHA512 278db7b327eb4c21bf0137d9aa14fb67d74d5ce7ed1cb29fc9120d157a60de165ec0cf842903eb7952e8f998045ae585b958977fa973ba0e0773381de71d9f6a
23 DIST kyotocabinet-1.2.77.tar.gz 949326 BLAKE2B faacde57e8c7fed3fb232ea6fd12b668f2d2ee352cd357d5e16e0d1740cd8f73e223964249efeae50f3ea5d0672117b2410b91ba557ebe1ac7ba4075ac28deab SHA512 f38794c11faa3f4b64097a2e314307e1a6b75ddc495103647ebe52786a689336754496e7083697417ea90436e7fad681f16440975abec9ae917874aa25153e0f
24
25 diff --git a/dev-db/kyotocabinet/files/kyotocabinet-1.2.76-gcc6.patch b/dev-db/kyotocabinet/files/kyotocabinet-1.2.76-gcc6.patch
26 deleted file mode 100644
27 index 3bcc6a28e79..00000000000
28 --- a/dev-db/kyotocabinet/files/kyotocabinet-1.2.76-gcc6.patch
29 +++ /dev/null
30 @@ -1,11 +0,0 @@
31 ---- a/kcdbext.h
32 -+++ b/kcdbext.h
33 -@@ -1278,7 +1278,7 @@
34 - if (omode_ == 0) {
35 - set_error(_KCCODELINE_, BasicDB::Error::INVALID, "not opened");
36 - *sp = 0;
37 -- return false;
38 -+ return NULL;
39 - }
40 - if (!cache_) return db_.get(kbuf, ksiz, sp);
41 - size_t dvsiz = 0;
42
43 diff --git a/dev-db/kyotocabinet/kyotocabinet-1.2.76-r1.ebuild b/dev-db/kyotocabinet/kyotocabinet-1.2.76-r1.ebuild
44 deleted file mode 100644
45 index 324be9e0b8a..00000000000
46 --- a/dev-db/kyotocabinet/kyotocabinet-1.2.76-r1.ebuild
47 +++ /dev/null
48 @@ -1,62 +0,0 @@
49 -# Copyright 1999-2019 Gentoo Authors
50 -# Distributed under the terms of the GNU General Public License v2
51 -
52 -EAPI=6
53 -
54 -inherit autotools ltprune toolchain-funcs
55 -
56 -DESCRIPTION="A straightforward implementation of DBM"
57 -HOMEPAGE="http://fallabs.com/kyotocabinet/"
58 -SRC_URI="${HOMEPAGE}pkg/${P}.tar.gz"
59 -
60 -LICENSE="GPL-3"
61 -SLOT="0"
62 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
63 -IUSE="debug doc examples static-libs"
64 -
65 -DEPEND="sys-libs/zlib[static-libs?]
66 - app-arch/xz-utils[static-libs?]"
67 -RDEPEND="${DEPEND}"
68 -
69 -PATCHES=(
70 - "${FILESDIR}"/fix_configure-1.2.62.patch
71 - "${FILESDIR}"/${PN}-1.2.76-configure-8-byte-atomics.patch
72 - "${FILESDIR}"/${PN}-1.2.76-flags.patch
73 - "${FILESDIR}"/${PN}-1.2.76-gcc6.patch
74 -)
75 -
76 -src_prepare() {
77 - default
78 -
79 - sed -i -e "/DOCDIR/d" Makefile.in || die
80 - tc-export AR
81 -
82 - mv configure.in configure.ac || die
83 - eautoreconf
84 -}
85 -
86 -src_configure() {
87 - econf $(use_enable debug) \
88 - $(use_enable static-libs static) \
89 - $(use_enable !static-libs shared) \
90 - --enable-lzma
91 -}
92 -
93 -src_test() {
94 - emake -j1 check
95 -}
96 -
97 -src_install() {
98 - default
99 - prune_libtool_files
100 -
101 - if use examples; then
102 - insinto /usr/share/${PF}/example
103 - doins example/*
104 - fi
105 -
106 - if use doc; then
107 - insinto /usr/share/doc/${PF}
108 - doins -r doc/*
109 - fi
110 -}