summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Kępień <github@kempniu.pl>2016-11-18 14:32:31 +0100
committerJustin Bronder <jsbronder@gentoo.org>2016-11-19 11:33:12 -0500
commit3d6fbd8fac86bf903c86c56093c7c85129a3b725 (patch)
tree7f9cd62f4376cc844b443b1d9ad5ec2f5ac9e9b2 /net-nntp
parentBump version (diff)
downloadgentoo-3d6fbd8fac86bf903c86c56093c7c85129a3b725.tar.gz
gentoo-3d6fbd8fac86bf903c86c56093c7c85129a3b725.tar.bz2
gentoo-3d6fbd8fac86bf903c86c56093c7c85129a3b725.zip
Migrate to EAPI 6
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/sabnzbd/files/patches/0001-use-system-configobj-and-feedparser.patch (renamed from net-nntp/sabnzbd/files/1.1.x/0001-use-system-configobj-and-feedparser.patch)0
-rw-r--r--net-nntp/sabnzbd/files/patches/0002-assume-gntp-1.0.patch (renamed from net-nntp/sabnzbd/files/1.1.x/0002-assume-gntp-1.0.patch)0
-rw-r--r--net-nntp/sabnzbd/files/patches/0003-cfg-disable-growl-by-default.patch (renamed from net-nntp/sabnzbd/files/1.1.x/0003-cfg-disable-growl-by-default.patch)0
-rw-r--r--net-nntp/sabnzbd/files/patches/0004-use-system-rarfile.patch (renamed from net-nntp/sabnzbd/files/1.1.x/0004-use-system-rarfile.patch)0
-rw-r--r--net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild11
5 files changed, 5 insertions, 6 deletions
diff --git a/net-nntp/sabnzbd/files/1.1.x/0001-use-system-configobj-and-feedparser.patch b/net-nntp/sabnzbd/files/patches/0001-use-system-configobj-and-feedparser.patch
index ef1a6fc894e..ef1a6fc894e 100644
--- a/net-nntp/sabnzbd/files/1.1.x/0001-use-system-configobj-and-feedparser.patch
+++ b/net-nntp/sabnzbd/files/patches/0001-use-system-configobj-and-feedparser.patch
diff --git a/net-nntp/sabnzbd/files/1.1.x/0002-assume-gntp-1.0.patch b/net-nntp/sabnzbd/files/patches/0002-assume-gntp-1.0.patch
index 4e0674aa1f6..4e0674aa1f6 100644
--- a/net-nntp/sabnzbd/files/1.1.x/0002-assume-gntp-1.0.patch
+++ b/net-nntp/sabnzbd/files/patches/0002-assume-gntp-1.0.patch
diff --git a/net-nntp/sabnzbd/files/1.1.x/0003-cfg-disable-growl-by-default.patch b/net-nntp/sabnzbd/files/patches/0003-cfg-disable-growl-by-default.patch
index 384fb336f80..384fb336f80 100644
--- a/net-nntp/sabnzbd/files/1.1.x/0003-cfg-disable-growl-by-default.patch
+++ b/net-nntp/sabnzbd/files/patches/0003-cfg-disable-growl-by-default.patch
diff --git a/net-nntp/sabnzbd/files/1.1.x/0004-use-system-rarfile.patch b/net-nntp/sabnzbd/files/patches/0004-use-system-rarfile.patch
index 2fcbf280991..2fcbf280991 100644
--- a/net-nntp/sabnzbd/files/1.1.x/0004-use-system-rarfile.patch
+++ b/net-nntp/sabnzbd/files/patches/0004-use-system-rarfile.patch
diff --git a/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild b/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild
index e5f0860d7e0..726733fe1f3 100644
--- a/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild
+++ b/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild
@@ -2,13 +2,13 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI="6"
# Require python-2 with sqlite USE flag
PYTHON_DEPEND="2:2.7"
PYTHON_USE_WITH="sqlite"
-inherit eutils python user systemd versionator
+inherit python user systemd versionator
MY_P="${P/sab/SAB}"
@@ -64,15 +64,14 @@ pkg_setup() {
}
src_prepare() {
- epatch "${FILESDIR}"/1.1.x/0001-use-system-configobj-and-feedparser.patch
- epatch "${FILESDIR}"/1.1.x/0002-assume-gntp-1.0.patch
- epatch "${FILESDIR}"/1.1.x/0003-cfg-disable-growl-by-default.patch
- epatch "${FILESDIR}"/1.1.x/0004-use-system-rarfile.patch
+ eapply "${FILESDIR}"/patches
# remove bundled modules
rm -r sabnzbd/utils/{feedparser,configobj,rarfile}.py || die
rm -r gntp || die
rm licenses/License-{feedparser,configobj,gntp,rarfile}.txt || die
+
+ eapply_user
}
src_install() {