net-misc/tokyotyrant: bump to EAPI=7
authorMikle Kolyada <zlogene@gentoo.org>
Fri, 26 Jul 2019 10:27:53 +0000 (13:27 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Fri, 26 Jul 2019 10:28:50 +0000 (13:28 +0300)
Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
net-misc/tokyotyrant/files/fix_testsuite.patch
net-misc/tokyotyrant/tokyotyrant-1.1.41-r2.ebuild [moved from net-misc/tokyotyrant/tokyotyrant-1.1.41-r1.ebuild with 59% similarity]

index d48825381777b8397627bbe6b369d758930a8b3d..7ee9dc801cb67d77b8b27c9781402a9baf38864b 100644 (file)
@@ -1,5 +1,5 @@
---- Makefile.in        2009-10-14 10:33:16.000000000 +0200
-+++ Makefile.in.new    2009-10-14 10:27:39.000000000 +0200
+--- a/Makefile.in      2009-10-14 10:33:16.000000000 +0200
++++ b/Makefile.in.new  2009-10-14 10:27:39.000000000 +0200
 @@ -166,48 +166,49 @@
  
  
similarity index 59%
rename from net-misc/tokyotyrant/tokyotyrant-1.1.41-r1.ebuild
rename to net-misc/tokyotyrant/tokyotyrant-1.1.41-r2.ebuild
index 3aebae8184ac03cdf5b1bf5ca1b5fbe35c5b1332..1da7a34c20099ced1e8cde9bb723234ce7f88670 100644 (file)
@@ -1,13 +1,13 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
+EAPI=7
 
-inherit eutils user
+inherit user
 
 DESCRIPTION="A network interface to Tokyo Cabinet"
-HOMEPAGE="http://fallabs.com/tokyotyrant/"
-SRC_URI="${HOMEPAGE}${P}.tar.gz"
+HOMEPAGE="https://fallabs.com/tokyotyrant/"
+SRC_URI="https://fallabs.com/tokyotyrant/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
@@ -16,7 +16,6 @@ IUSE="debug examples lua"
 
 DEPEND="dev-db/tokyocabinet
        sys-libs/zlib
-       app-arch/bzip2
        lua? ( dev-lang/lua )"
 RDEPEND="${DEPEND}"
 
@@ -28,8 +27,9 @@ pkg_setup() {
 }
 
 src_prepare() {
-       epatch "${FILESDIR}"/fix_makefiles-1.4.41.patch
-       epatch "${FILESDIR}"/fix_testsuite.patch
+       default
+       eapply "${FILESDIR}"/fix_makefiles-1.4.41.patch
+       eapply "${FILESDIR}"/fix_testsuite.patch
 }
 
 src_configure() {
@@ -40,7 +40,7 @@ src_configure() {
 
 src_install() {
        rm ttservctl || die "Install failed"
-       emake DESTDIR="${D}" install || die "Install failed"
+       default
 
        for x in /var/{lib,run,log}/${PN}; do
                dodir "${x}" || die "Install failed"
@@ -49,16 +49,16 @@ src_install() {
 
        if use examples; then
                insinto /usr/share/${PF}/example
-               doins example/* || die "Install failed"
+               doins -r example/
        fi
 
-       dohtml doc/* || die
+       dodoc -r doc
 
-       newinitd "${FILESDIR}/${PN}.initd" ${PN} || die "Install failed"
-       newconfd "${FILESDIR}/${PN}.confd" ${PN} || die "Install failed"
+       newinitd "${FILESDIR}/${PN}.initd" ${PN}
+       newconfd "${FILESDIR}/${PN}.confd" ${PN}
 
 }
 
 src_test() {
-       emake -j1 check || die "Tests failed"
+       emake -j1 check
 }