Skip to content

Commit

Permalink
mail-filter/tmda: python-single-r1, EAPI=6
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Feb 18, 2017
1 parent 1789c04 commit a268409
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 75 deletions.
4 changes: 2 additions & 2 deletions mail-filter/tmda/files/tmda-1.0-non-interactive-tty.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- TMDA/Pending.py.bak.20041011 2004-10-11 15:50:13.014474866 -0400
+++ TMDA/Pending.py 2004-10-11 16:06:02.640603837 -0400
--- a/TMDA/Pending.py 2004-10-11 15:50:13.014474866 -0400
+++ b/TMDA/Pending.py 2004-10-11 16:06:02.640603837 -0400
@@ -64,6 +64,7 @@
self.verbose = verbose
self.younger = younger
Expand Down
54 changes: 54 additions & 0 deletions mail-filter/tmda/tmda-1.1.12-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6
PYTHON_COMPAT=( python2_7 )

inherit python-single-r1

DESCRIPTION="Python-based SPAM reduction system"
HOMEPAGE="http://www.tmda.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ppc ~sparc x86"
IUSE=""

DEPEND="virtual/mta"
RDEPEND="${DEPEND}"

PATCHES=(
# Do not open /dev/tty when in batch mode. (bug #67150) -ticho
"${FILESDIR}/tmda-1.0-non-interactive-tty.patch"
)

src_install() {
# Executables
python_doscript bin/tmda-*

# The Python TMDA module
python_domodule TMDA

# The templates
insinto /etc/tmda
doins templates/*.txt

# Documentation
dodoc ChangeLog CODENAMES CRYPTO NEWS README THANKS UPGRADE
dodoc -r doc/html

# Contributed binaries and stuff
cd contrib || die

exeinto /usr/$(get_libdir)/tmda/contrib
doexe collectaddys def2html printcdb printdbm \
sendit.sh smtp-check-sender update-internaldomains vadduser-tmda \
vmailmgr-vdir.sh vpopmail-vdir.sh wrapfd3.sh

insinto /usr/$(get_libdir)/tmda/contrib
doins ChangeLog tmda.el tmda.spec \
tofmipd.init tofmipd.sysconfig vtmdarc
doins -r dot-tmda
}
73 changes: 0 additions & 73 deletions mail-filter/tmda/tmda-1.1.12.ebuild

This file was deleted.

0 comments on commit a268409

Please sign in to comment.