Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 294397 Details for
Bug 313475
mail-filter/ask: Verify and potentially improve Python-related code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revised ebuild patch
ask.patch (text/plain), 1.32 KB, created by
Ian Delaney (RETIRED)
on 2011-11-30 23:31:40 UTC
(
hide
)
Description:
revised ebuild patch
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2011-11-30 23:31:40 UTC
Size:
1.32 KB
patch
obsolete
>diff -ur ask.orig/ask-2.5.3.ebuild ask/ask-2.5.3.ebuild >--- ask.orig/ask-2.5.3.ebuild 2011-11-28 13:24:15.250974809 +0800 >+++ ask/ask-2.5.3.ebuild 2011-12-01 07:24:54.107021157 +0800 >@@ -2,7 +2,9 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/mail-filter/ask/ask-2.5.3.ebuild,v 1.1 2011/11/20 12:44:11 eras Exp $ > >-inherit multilib >+EAPI=4 >+IPYTHON_DEPEND="2" >+inherit multilib python > > DESCRIPTION="Active Spam Killer: A program to filter spam" > HOMEPAGE="http://www.paganini.net/ask/index.html" >@@ -16,9 +18,13 @@ > RDEPEND="virtual/mta > procmail? ( >=mail-filter/procmail-3.22 )" > >+pkg_setup() { >+ python_set_active_version 2 >+ python_pkg_setup >+} >+ > src_install() { > dobin askfilter asksetup askversion.py utils/asksenders >- > insinto /usr/$(get_libdir)/ask > doins askconfig.py asklock.py asklog.py askmail.py askmain.py \ > askmessage.py askremote.py >@@ -32,6 +38,7 @@ > doman docs/*.1 > > dodoc ChangeLog docs/ask_doc* >+ python_convert_shebangs -r 2 "${ED}" > } > > pkg_postinst() { >@@ -39,3 +46,11 @@ > elog "WARNING: if you upgrade from ask-2.4.1, you must replace ask.py with askfilter" > elog " in your procmail/maildrop recipe!" > } >+ >+pkg_postinst() { >+ python_mod_optimize /usr/$(get_libdir)/ask >+} >+ >+pkg_postrm() { >+ python_mod_cleanup /usr/$(get_libdir)/ask >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 313475
:
294029
| 294397