From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/wxsqlite3/
Date: Sun, 4 Apr 2021 21:11:22 +0000 (UTC) [thread overview]
Message-ID: <1617570653.c399e672292aa70bb8ec555c8fedb59ca2d3adb7.soap@gentoo> (raw)
commit: c399e672292aa70bb8ec555c8fedb59ca2d3adb7
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 4 21:10:53 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Apr 4 21:10:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c399e672
dev-db/wxsqlite3: Port to EAPI 7
Bug: https://bugs.gentoo.org/689798
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild | 32 ++++++++++++++----------------
1 file changed, 15 insertions(+), 17 deletions(-)
diff --git a/dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild b/dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild
index 5287794cfeb..ce749755002 100644
--- a/dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild
+++ b/dev-db/wxsqlite3/wxsqlite3-3.2.1-r1.ebuild
@@ -1,11 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
WX_GTK_VER="3.0"
-
-inherit eutils multilib wxwidgets
+inherit wxwidgets
DESCRIPTION="C++ wrapper around the public domain SQLite 3.x database"
HOMEPAGE="http://wxcode.sourceforge.net/components/wxsqlite3/"
@@ -14,17 +13,16 @@ SRC_URI="mirror://sourceforge/wxcode/${P}.tar.gz"
LICENSE="wxWinLL-3"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE=""
-DEPEND="
- x11-libs/wxGTK:3.0[X]
+RDEPEND="
+ x11-libs/wxGTK:${WX_GTK_VER}[X]
dev-db/sqlite:3"
-RDEPEND="${DEPEND}"
-
-#S="${WORKDIR}/${P%.1}"
+DEPEND="${RDEPEND}"
src_prepare() {
- rm -rf sqlite3 || die
+ default
+
+ rm -r sqlite3 || die
cp configure30 configure || die
sed \
-e "s:@WXVERSION@:${WX_GTK_VER}:g" \
@@ -34,22 +32,22 @@ src_prepare() {
}
src_configure() {
+ setup-wxwidgets
econf \
--enable-shared \
--enable-unicode \
--with-wx-config="${WX_CONFIG}" \
--with-wxshared \
- --with-sqlite3-prefix="${PREFIX}/usr"
+ --with-sqlite3-prefix="${ESYSROOT}"/usr
}
src_install() {
+ HTML_DOCS=( docs/html/. )
default
+ dodoc Readme.txt
+ dodoc -r samples
+
insinto /usr/$(get_libdir)/pkgconfig
doins ${PN}.pc
-
- dodoc Readme.txt
- dohtml -r docs/html/*
- docinto samples
- dodoc -r samples/*
}
next reply other threads:[~2021-04-04 21:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-04 21:11 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-11-25 18:57 [gentoo-commits] repo/gentoo:master commit in: dev-db/wxsqlite3/ Pacho Ramos
2016-05-24 19:15 Pacho Ramos
2015-10-26 7:39 Justin Lecher
2015-10-25 9:24 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1617570653.c399e672292aa70bb8ec555c8fedb59ca2d3adb7.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox