diff options
author | Dane Smith <c1pher@gentoo.org> | 2011-05-25 13:29:01 -0400 |
---|---|---|
committer | Dane Smith <c1pher@gentoo.org> | 2011-05-25 13:29:01 -0400 |
commit | 9628c96c614de930a20e3e95fcf1adabf113a8b7 (patch) | |
tree | f093005519ea14ee7e63b457c6685fb309c482fa | |
parent | Manifest (diff) | |
download | c1pher-9628c96c614de930a20e3e95fcf1adabf113a8b7.tar.gz c1pher-9628c96c614de930a20e3e95fcf1adabf113a8b7.tar.bz2 c1pher-9628c96c614de930a20e3e95fcf1adabf113a8b7.zip |
Switch to EAPI3.
-rw-r--r-- | net-nntp/sabnzbd/Manifest | 2 | ||||
-rw-r--r-- | net-nntp/sabnzbd/sabnzbd-0.6.1.ebuild | 26 |
2 files changed, 14 insertions, 14 deletions
diff --git a/net-nntp/sabnzbd/Manifest b/net-nntp/sabnzbd/Manifest index d18f5fa..571f731 100644 --- a/net-nntp/sabnzbd/Manifest +++ b/net-nntp/sabnzbd/Manifest @@ -1,4 +1,4 @@ DIST SABnzbd-0.6.1-src.tar.gz 1888233 RMD160 0ac6823c2b850d4184b94f6a206241bcab04af1e SHA1 6e009f210235bb6b8278c59634bf2db1b5fb32f4 SHA256 b9b7e15c3e774aae42e248f19bc97bdbc17afe6bf27e236a7d565ddf5e11ae58 -EBUILD sabnzbd-0.6.1.ebuild 3624 RMD160 57dd59c268e7904b8a412cfd9b865e0373d4141c SHA1 6753fbaf7d99635157e78bb86d8f80700427c8a3 SHA256 be356808b7aac364e323615f861a4a9013c232abfa074bf3daad3fee0c9ec6ab +EBUILD sabnzbd-0.6.1.ebuild 3704 RMD160 091f2842dfa9d73216f429d19f864337b3a6c4e6 SHA1 e7080b0b5fe37e8c5915c5d29a24e6d040afe907 SHA256 1983ead04f5da44acd882845de2b513b6f2cf5796a86b5f69bf1d35894483d9a MISC ChangeLog 252 RMD160 37a18861a1739a133fa07f2cf89be3bf067c88d3 SHA1 1d39f9e535afcdc498cfe06da872bf37d67a134b SHA256 ee66b4dfcec39dc60c0ac5f155b2d2be1b5f268209c5f78407488f8c798e52ec MISC metadata.xml 252 RMD160 0d6b4d4e9e2fc0a9fc73289b6f3234195a3a1405 SHA1 6d719654a220ceff01851fa059936c79ca6bf9be SHA256 50fba57de1e11a48fbf58020c096095ebf9ec5defa2b5bcda9ed44e5be159d3f diff --git a/net-nntp/sabnzbd/sabnzbd-0.6.1.ebuild b/net-nntp/sabnzbd/sabnzbd-0.6.1.ebuild index 4cff54a..45aa4b1 100644 --- a/net-nntp/sabnzbd/sabnzbd-0.6.1.ebuild +++ b/net-nntp/sabnzbd/sabnzbd-0.6.1.ebuild @@ -6,7 +6,7 @@ inherit eutils multilib python PYTHON_DEPEND="2:2.5" RESTRICT_PYTHON_ABIS="3.*" -EAPI="4" +EAPI="3" MY_P="$P" MY_P="${MY_P/sab/SAB}" @@ -49,16 +49,16 @@ src_install() { cp "${FILESDIR}/${PN}.ini" "${S}" || die "copying sample ${PN}.ini" - dodoc CHANGELOG.txt ISSUES.txt INSTALL.txt README.txt Sample-PostProc.sh Sample-PostProc.cmd + dodoc CHANGELOG.txt ISSUES.txt INSTALL.txt README.txt Sample-PostProc.sh \ + Sample-PostProc.cmd || die insopts -m0660 -o root -g ${PN} - newconfd "${FILESDIR}/${PN}.conf" "${PN}" - - newinitd "${FILESDIR}/${PN}.init" "${PN}" + newconfd "${FILESDIR}/${PN}.conf" "${PN}" || die + newinitd "${FILESDIR}/${PN}.init" "${PN}" || die #SABnzbd >=0.6.0 write temp files when editing config from the web GUI, so directory needs to be writable by the SABnzbd process diropts -m0770 -o root -g ${PN} - dodir /etc/${PN} + dodir /etc/${PN} || die insinto /etc/${PN}/ insopts -m0660 -o root -g ${PN} @@ -67,7 +67,7 @@ src_install() { #Create all default dirs & mark with .keep so portage will not remove them keepdir ${DHOMEDIR} for i in admin cache complete download dirscan incomplete nzb_backup scripts; do - keepdir ${DHOMEDIR}/${i} + keepdir ${DHOMEDIR}/${i} || die done #Create & assign ownership of SABnzbd default directories @@ -75,26 +75,26 @@ src_install() { fperms -R 770 ${DHOMEDIR} #Create & assign ownership of SABnzbd log directory - keepdir /var/log/${PN} + keepdir /var/log/${PN} || die fowners -R root:${PN} /var/log/${PN} fperms -R 770 /var/log/${PN} #Create & assign ownership of SABnzbd PID directory - keepdir /var/run/${PN} + keepdir /var/run/${PN} || die fowners -R root:${PN} /var/run/${PN} fperms -R 770 /var/run/${PN} #Add themes & code into /usr/share - dodir /usr/share/${P} + dodir /usr/share/${P} || die insinto /usr/share/${P} for i in interfaces sabnzbd email locale po tools util;do - doins -r $i + doins -r $i || die done - doins SABnzbd.py + doins SABnzbd.py || die #create symlink to /usr/share/sabnzbd (minus version #) - dosym /usr/share/${P} /usr/share/${PN} + dosym /usr/share/${P} /usr/share/${PN} || die #Adjust permissions in python source directory for root:sabnzbd fowners -R root:${PN} /usr/share/${P} |