Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql-super-smack/
Date: Tue, 05 Apr 2022 02:38:23
Message-Id: 1649126265.87112c4ea4658dadd600465a0bdf98385d2d9026.sam@gentoo
1 commit: 87112c4ea4658dadd600465a0bdf98385d2d9026
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 5 02:37:45 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 5 02:37:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87112c4e
7
8 dev-db/mysql-super-smack: drop 1.3-r4
9
10 Bug: https://bugs.gentoo.org/836635
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .../mysql-super-smack-1.3-r4.ebuild | 66 ----------------------
14 1 file changed, 66 deletions(-)
15
16 diff --git a/dev-db/mysql-super-smack/mysql-super-smack-1.3-r4.ebuild b/dev-db/mysql-super-smack/mysql-super-smack-1.3-r4.ebuild
17 deleted file mode 100644
18 index 453fcaa21ab9..000000000000
19 --- a/dev-db/mysql-super-smack/mysql-super-smack-1.3-r4.ebuild
20 +++ /dev/null
21 @@ -1,66 +0,0 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -WANT_AUTOMAKE="1.13"
27 -
28 -inherit autotools libtool
29 -
30 -MY_PN="super-smack"
31 -MY_P="${MY_PN}-${PV}"
32 -DESCRIPTION="Benchmarking, stress testing, and load generation tool for MySQL & PostGreSQL"
33 -HOMEPAGE="http://vegan.net/tony/supersmack/"
34 -SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
35 -
36 -LICENSE="GPL-2"
37 -SLOT="0"
38 -KEYWORDS="amd64 ~ppc x86"
39 -IUSE="+mysql postgres"
40 -REQUIRED_USE="|| ( mysql postgres )"
41 -
42 -COMMON_DEPEND="sys-libs/zlib:=
43 - mysql? ( dev-db/mysql-connector-c:= )
44 - postgres? ( dev-db/postgresql:*[server] )"
45 -DEPEND="${COMMON_DEPEND} sys-devel/bison sys-devel/flex"
46 -RDEPEND="${COMMON_DEPEND} mysql? ( virtual/mysql )"
47 -
48 -S="${WORKDIR}/${MY_P}"
49 -
50 -PATCHES=(
51 - "${FILESDIR}"/${PN}-1.2.destdir.patch
52 - "${FILESDIR}"/${PN}-1.3.amd64.patch
53 - "${FILESDIR}"/${PN}-1.3.gcc4.3.patch
54 - "${FILESDIR}"/${PN}-1.3-gen-data.patch
55 - "${FILESDIR}"/${PN}-1.3-automake-1.13.patch
56 -)
57 -DOCS=( CHANGES INSTALL MANUAL README TUTORIAL )
58 -
59 -src_prepare() {
60 - # Clean up files so eautoreconf does not pick up any
61 - # deprecated autotools macros.
62 - rm acinclude.m4 aclocal.m4 acconfig.h config.status config.h || die
63 - mv configure.in configure.ac || die
64 - export CXXFLAGS+=" -std=gnu++98"
65 - default
66 - eautoreconf
67 - elibtoolize --patch-only
68 -}
69 -
70 -src_configure() {
71 - local myeconfargs=(
72 - $(usex mysql --with-mysql "")
73 - $(usex postgres --with-pgsql "")
74 - --with-datadir=/var/tmp/${MY_PN}
75 - --with-smacks-dir=/usr/share/${MY_PN}
76 - )
77 - econf "${myeconfargs[@]}"
78 -}
79 -
80 -src_install() {
81 - default
82 - keepdir /var/tmp/${MY_PN}
83 -}
84 -
85 -pkg_postinst() {
86 - elog "The gen-data binary is now installed as super-smack-gen-data"
87 -}