diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-14 19:23:29 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-14 19:23:29 +0000 |
commit | aaccc5bb0cebc17d2532b8908c50185977895ae3 (patch) | |
tree | 8125661413c43752c805671236045684d764398a /mail-filter | |
parent | Removing no longer available rubyforge mirrors (diff) | |
download | gentoo-2-aaccc5bb0cebc17d2532b8908c50185977895ae3.tar.gz gentoo-2-aaccc5bb0cebc17d2532b8908c50185977895ae3.tar.bz2 gentoo-2-aaccc5bb0cebc17d2532b8908c50185977895ae3.zip |
Disable versioning of Python scripts (bug #315193).
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/spambayes/ChangeLog | 8 | ||||
-rw-r--r-- | mail-filter/spambayes/spambayes-1.1_alpha6-r1.ebuild | 48 |
2 files changed, 55 insertions, 1 deletions
diff --git a/mail-filter/spambayes/ChangeLog b/mail-filter/spambayes/ChangeLog index 57763eae1d47..bbad3af5b6c7 100644 --- a/mail-filter/spambayes/ChangeLog +++ b/mail-filter/spambayes/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-filter/spambayes # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/spambayes/ChangeLog,v 1.16 2010/04/15 03:50:37 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/spambayes/ChangeLog,v 1.17 2010/05/14 19:23:29 arfrever Exp $ + +*spambayes-1.1_alpha6-r1 (14 May 2010) + + 14 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +spambayes-1.1_alpha6-r1.ebuild: + Disable versioning of Python scripts (bug #315193). 15 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> spambayes-1.1_alpha6.ebuild: diff --git a/mail-filter/spambayes/spambayes-1.1_alpha6-r1.ebuild b/mail-filter/spambayes/spambayes-1.1_alpha6-r1.ebuild new file mode 100644 index 000000000000..3ded3d46a5fe --- /dev/null +++ b/mail-filter/spambayes/spambayes-1.1_alpha6-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/spambayes/spambayes-1.1_alpha6-r1.ebuild,v 1.1 2010/05/14 19:23:29 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_P="${P/_alpha/a}" + +DESCRIPTION="An anti-spam filter using on Bayesian filtering" +HOMEPAGE="http://spambayes.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="PSF-2.2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/lockfile" +RDEPEND="${DEPEND}" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +# Some scripts import objects from other scripts. +DISTUTILS_DISABLE_VERSIONING_OF_PYTHON_SCRIPTS="1" + +src_install() { + distutils_src_install + + dodoc *.txt + insinto /usr/share/doc/${PF}/contrib + doins contrib/* + insinto /usr/share/doc/${PF}/utilities + doins utilities/* + insinto /usr/share/doc/${PF}/testtools + doins testtools/* + + newinitd "${FILESDIR}/spambayespop3proxy.rc" spambayespop3proxy + + insinto /etc + doins "${FILESDIR}/bayescustomize.ini" + + keepdir /var/lib/spambayes +} |