Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mydumper/
Date: Fri, 16 Apr 2021 06:26:46
Message-Id: 1618554387.e9c9b8c947d1168519c56ba8fa9cd5620452daca.juippis@gentoo
1 commit: e9c9b8c947d1168519c56ba8fa9cd5620452daca
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Thu Mar 25 15:28:00 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 16 06:26:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9c9b8c9
7
8 dev-db/mydumper: bump to 0.10.3
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/20116
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 dev-db/mydumper/Manifest | 1 +
15 dev-db/mydumper/mydumper-0.10.3.ebuild | 45 ++++++++++++++++++++++++++++++++++
16 2 files changed, 46 insertions(+)
17
18 diff --git a/dev-db/mydumper/Manifest b/dev-db/mydumper/Manifest
19 index 04dded9a944..6e72aa713bf 100644
20 --- a/dev-db/mydumper/Manifest
21 +++ b/dev-db/mydumper/Manifest
22 @@ -1,2 +1,3 @@
23 DIST mydumper-0.10.1.tar.gz 63967 BLAKE2B ad2876eb4fd6528c119d722e70b096d12698119e6d84737601d7bc0e71022926f579d21456b73b8ff1d384c961256538467badeaceaf60a92b333196a17dda10 SHA512 dbcb207c8ac61b286cd4464a3f2c67ea6972d1cab215c09a577cdf621f685011cc26e1e36399b72be2a8165b4e4c518b401be928b6a1a31e35d2f27c169dcc18
24 +DIST mydumper-0.10.3.tar.gz 64622 BLAKE2B 14020b6bbb72271659dec965de164274e2bf81c72b52fa7c1d6997f393d1c0cc977d06d689bb7d7c6e3da86926add2c61f1551afdd30be71ddc97c4803d4e455 SHA512 d7cf6897815de3d46ec15cbcacc393722f7d547300a45e70960e47b8ce30e06a5e652f52a0ff8999d2ac3662b4a48927aadbab464668ac23f446eee95ba574cf
25 DIST mydumper-0.9.5.tar.gz 60010 BLAKE2B f74a949712526b3fc3b1957c9f9dc5c5f820d88f781926331e751eb99e6315b37bd8f38ac8a0e1943485cc74fe9b14a7e74e955c77ceba6b10bb1e18a7720d75 SHA512 5b72234c88fd22c103afb9fa5a7c3c99d6585cb450b8cc7385cfd23ae2ce09c0848d15767a5957a7b8f87a7614bdb058dea8990f1a2a12300c2c74fc9da2de75
26
27 diff --git a/dev-db/mydumper/mydumper-0.10.3.ebuild b/dev-db/mydumper/mydumper-0.10.3.ebuild
28 new file mode 100644
29 index 00000000000..72aba08da6e
30 --- /dev/null
31 +++ b/dev-db/mydumper/mydumper-0.10.3.ebuild
32 @@ -0,0 +1,45 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit cmake
39 +
40 +DESCRIPTION="A high-performance multi-threaded backup (and restore) toolset for MySQL"
41 +HOMEPAGE="https://github.com/maxbube/mydumper"
42 +SRC_URI="https://github.com/maxbube/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="GPL-3"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="doc"
48 +
49 +RDEPEND="app-arch/zstd
50 + dev-db/mysql-connector-c:=
51 + dev-libs/glib:=
52 + dev-libs/libpcre:=
53 + dev-libs/openssl:0=
54 + sys-libs/zlib:="
55 +DEPEND="${RDEPEND}"
56 +BDEPEND="virtual/pkgconfig
57 + doc? ( dev-python/sphinx )"
58 +
59 +PATCHES=(
60 + "${FILESDIR}/${PN}-atomic.patch" #654314
61 +)
62 +
63 +src_prepare() {
64 + # respect user cflags; do not expand ${CMAKE_C_FLAGS} (!)
65 + sed -i -e 's|-Werror -O3 -g|${CMAKE_C_FLAGS}|' CMakeLists.txt || die
66 +
67 + # fix doc install path
68 + sed -i -e "s|share/doc/mydumper|share/doc/${PF}|" docs/CMakeLists.txt || die
69 +
70 + cmake_src_prepare
71 +}
72 +
73 +src_configure() {
74 + local mycmakeargs=("-DBUILD_DOCS=$(usex doc)")
75 +
76 + cmake_src_configure
77 +}