Migrate to EAPI 6
authorMichał Kępień <github@kempniu.pl>
Fri, 18 Nov 2016 13:32:31 +0000 (14:32 +0100)
committerJustin Bronder <jsbronder@gentoo.org>
Sat, 19 Nov 2016 16:33:12 +0000 (11:33 -0500)
net-nntp/sabnzbd/files/patches/0001-use-system-configobj-and-feedparser.patch [moved from net-nntp/sabnzbd/files/1.1.x/0001-use-system-configobj-and-feedparser.patch with 100% similarity]
net-nntp/sabnzbd/files/patches/0002-assume-gntp-1.0.patch [moved from net-nntp/sabnzbd/files/1.1.x/0002-assume-gntp-1.0.patch with 100% similarity]
net-nntp/sabnzbd/files/patches/0003-cfg-disable-growl-by-default.patch [moved from net-nntp/sabnzbd/files/1.1.x/0003-cfg-disable-growl-by-default.patch with 100% similarity]
net-nntp/sabnzbd/files/patches/0004-use-system-rarfile.patch [moved from net-nntp/sabnzbd/files/1.1.x/0004-use-system-rarfile.patch with 100% similarity]
net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild

index e5f0860d7e02ede17a8ce16e08b9f0b3e9719738..726733fe1f36cc9889e10f23361d50ee24e8e1d4 100644 (file)
@@ -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() {