summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2016-05-10 18:57:30 +0800
committerIan Delaney <idella4@gentoo.org>2016-05-10 20:29:10 +0800
commit4ae6356754fabeb47a68815a7a91bd9375309ee2 (patch)
tree1eb82cf263411211ccbfd6d3a07a2f53ae8bf353 /app-misc/email2trac
parentnet-libs/gnutls: cleanup (diff)
downloadgentoo-4ae6356754fabeb47a68815a7a91bd9375309ee2.tar.gz
gentoo-4ae6356754fabeb47a68815a7a91bd9375309ee2.tar.bz2
gentoo-4ae6356754fabeb47a68815a7a91bd9375309ee2.zip
app-misc/email2trac: bump to vn. 2.8.8
new ebuild submitted via Gentoo-bug: #58115 Package-Manager: portage-2.2.28
Diffstat (limited to 'app-misc/email2trac')
-rw-r--r--app-misc/email2trac/Manifest1
-rw-r--r--app-misc/email2trac/email2trac-2.8.8.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/app-misc/email2trac/Manifest b/app-misc/email2trac/Manifest
index adbefef859bf..c6504f929e2f 100644
--- a/app-misc/email2trac/Manifest
+++ b/app-misc/email2trac/Manifest
@@ -1,2 +1,3 @@
DIST email2trac-2.6.2.tar.gz 104732 SHA256 4d1ccd12e18a303d3700eeb5449eb330ddbc13ed66103df79fffed950fd9243f SHA512 69b596b4c60ccc40b53ddfce5c13d5d7f27ac1fc5674e1cb3fbf84b083c2abc77d36879d665924a62b826e7d3a52d0ead1e1d693a55aae5edfc092998e01a0df WHIRLPOOL ac92802ab7fc0c0b6e0daddd3f723f1b21b2772f63dc9a6194db78572fc039c0d4f3602f1dc55caf5cc9387d481c9bf2aabb7961fb91147060ecce48926e13d5
DIST email2trac-2.8.4.tar.gz 107791 SHA256 2673ea60f355c812d890346c1eaa9d0a65c791d214bf545b171ed66a8feceafb SHA512 f0bfd00442d50090f9cc582849026b08bb091bc72223b4569597c2ffdb57759206500da65390dc1609a24e521e137aee072d1ee3412391bf0e4b778933ff2165 WHIRLPOOL 18b35e889fc52e488dc88b7ef73302d8497961bf2710e3353b3d21c3514191bfdc4ec7d99ff9ad2c92cb9626d2db2f5dbca92e03963fe4b90e29d35f308118f4
+DIST email2trac-2.8.8.tar.gz 108366 SHA256 a22e1a45b3682723f1ed45afe48b2b5b1543392f829ad7e236d6ad318324bb63 SHA512 8b13d22b50367337e5ed939dc689e0fbde4a63e1932351cab6aac2da7878fd37c9a09ff6e9f9aa4a1f709f24f2808de5d25b494813e292f61ee9be973c601da5 WHIRLPOOL 4ada4d9ad0e6824b99a8259e1cf633b57a8607e5742163d4a1062ed84733ae6bebe5c4e3d7dd2935cfab856c3329bc37984a2860025cf97379a43580938415c9
diff --git a/app-misc/email2trac/email2trac-2.8.8.ebuild b/app-misc/email2trac/email2trac-2.8.8.ebuild
new file mode 100644
index 000000000000..6e0622d7398d
--- /dev/null
+++ b/app-misc/email2trac/email2trac-2.8.8.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1
+
+DESCRIPTION="Utilities to convert emails to trac tickets"
+HOMEPAGE="https://oss.trac.surfsara.nl/email2trac"
+SRC_URI="ftp://ftp.sara.nl/pub/outgoing/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="${PYTHON_DEPS}
+ <www-apps/trac-1.2[${PYTHON_USEDEP}]"
+
+pkg_setup() {
+ einfo "You can set the following variables in make.conf:"
+ einfo " - EMAIL2TRAC_TRAC_USER (default: apache)"
+ einfo " - EMAIL2TRAC_MTA_USER (default: nobody)"
+
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ sed -i -e "/^CFLAGS/s:=:&${CFLAGS} :" \
+ -e "s:\$(CC):& ${LDFLAGS} :" \
+ Makefile.in || die 'sed failed'
+}
+
+src_configure() {
+ econf --sysconfdir=/etc/${PN}/ \
+ --with-trac_user=${EMAIL2TRAC_TRAC_USER:-apache} \
+ --with-mta_user=${EMAIL2TRAC_MTA_USER:-nobody}
+}