summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-10-02 04:46:54 +0000
committerTim Harder <radhermit@gentoo.org>2011-10-02 04:46:54 +0000
commiteed68660bafb47ff1a195ba84c333abf5ae61499 (patch)
treed0867bcb926e5aaab88aadf22b5215f08b505397 /app-misc/email2trac
parentVersion bump. (diff)
downloadgentoo-2-eed68660bafb47ff1a195ba84c333abf5ae61499.tar.gz
gentoo-2-eed68660bafb47ff1a195ba84c333abf5ae61499.tar.bz2
gentoo-2-eed68660bafb47ff1a195ba84c333abf5ae61499.zip
Version bump.
(Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/email2trac')
-rw-r--r--app-misc/email2trac/ChangeLog7
-rw-r--r--app-misc/email2trac/email2trac-2.4.2.ebuild44
2 files changed, 50 insertions, 1 deletions
diff --git a/app-misc/email2trac/ChangeLog b/app-misc/email2trac/ChangeLog
index 9848c7021f04..27eac2337e0e 100644
--- a/app-misc/email2trac/ChangeLog
+++ b/app-misc/email2trac/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/email2trac
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/email2trac/ChangeLog,v 1.7 2011/04/20 01:25:26 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/email2trac/ChangeLog,v 1.8 2011/10/02 04:46:54 radhermit Exp $
+
+*email2trac-2.4.2 (02 Oct 2011)
+
+ 02 Oct 2011; Tim Harder <radhermit@gentoo.org> +email2trac-2.4.2.ebuild:
+ Version bump.
20 Apr 2011; Tim Harder <radhermit@gentoo.org> metadata.xml:
Fix herd.
diff --git a/app-misc/email2trac/email2trac-2.4.2.ebuild b/app-misc/email2trac/email2trac-2.4.2.ebuild
new file mode 100644
index 000000000000..dae435a1a685
--- /dev/null
+++ b/app-misc/email2trac/email2trac-2.4.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/email2trac/email2trac-2.4.2.ebuild,v 1.1 2011/10/02 04:46:54 radhermit Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+
+inherit python
+
+DESCRIPTION="Utilites to convert emails into trac objects"
+HOMEPAGE="https://subtrac.sara.nl/oss/email2trac/"
+SRC_URI="ftp://ftp.sara.nl/pub/outgoing/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND="=www-apps/trac-0.12*"
+
+pkg_setup() {
+ einfo "You can set the following variables in make.conf:"
+ einfo " - EMAIL2TRAC_TRAC_USER (default: apache)"
+ einfo " - EMAIL2TRAC_MTA_USER (default: nobody)"
+}
+
+src_prepare() {
+ sed -i -e "/^CFLAGS/s:=:&${CFLAGS} :" \
+ -e "s:\$(CC):& ${LDFLAGS} :" \
+ Makefile.in
+}
+
+src_configure() {
+ econf --sysconfdir=/etc/${PN}/ \
+ --with-trac_user=${EMAIL2TRAC_TRAC_USER:-apache} \
+ --with-mta_user=${EMAIL2TRAC_MTA_USER:-nobody}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README
+ python_convert_shebangs -r 2 "${D}"
+}