| 1 |
radhermit |
1.1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
|
|
# $Header: $
|
| 4 |
|
|
|
| 5 |
|
|
EAPI="4"
|
| 6 |
|
|
PYTHON_DEPEND="2"
|
| 7 |
|
|
SUPPORT_PYTHON_ABIS="1"
|
| 8 |
|
|
RESTRICT_PYTHON_ABIS="3.*"
|
| 9 |
|
|
|
| 10 |
|
|
inherit distutils
|
| 11 |
|
|
|
| 12 |
|
|
DESCRIPTION="Simple-to-use and -install issue-tracking system with command-line, web, and e-mail interfaces."
|
| 13 |
|
|
HOMEPAGE="http://roundup.sourceforge.net http://pypi.python.org/pypi/roundup"
|
| 14 |
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
| 15 |
|
|
|
| 16 |
|
|
LICENSE="MIT ZPL"
|
| 17 |
|
|
SLOT="0"
|
| 18 |
|
|
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
| 19 |
|
|
IUSE=""
|
| 20 |
|
|
|
| 21 |
|
|
DEPEND=">=sys-libs/db-3.2.9"
|
| 22 |
|
|
RDEPEND="${DEPEND}"
|
| 23 |
|
|
|
| 24 |
|
|
DOCS="CHANGES.txt doc/*.txt"
|
| 25 |
|
|
|
| 26 |
|
|
src_install() {
|
| 27 |
|
|
distutils_src_install
|
| 28 |
|
|
rm -rf "${ED}"/usr/share/doc/${PN} || die
|
| 29 |
|
|
dohtml -r doc/*
|
| 30 |
|
|
}
|
| 31 |
|
|
|
| 32 |
|
|
pkg_postinst() {
|
| 33 |
|
|
distutils_pkg_postinst
|
| 34 |
|
|
|
| 35 |
|
|
ewarn "As a non privileged user! (not root)"
|
| 36 |
|
|
ewarn "Run 'roundup-admin install' to set up a roundup instance"
|
| 37 |
|
|
ewarn "Then edit your config.ini file in the tracker home you setup"
|
| 38 |
|
|
ewarn "Run 'roundup-admin initialise' to setup the admin pass"
|
| 39 |
|
|
ewarn "run /usr/bin/roundup start port host \"your tracker name\" [your tracker home], and all should work!"
|
| 40 |
|
|
ewarn "run /usr/bin/roundup stop [your tracker home] to stop the server"
|
| 41 |
|
|
ewarn "log is in [tracker home]/roundup.log"
|
| 42 |
|
|
ewarn "pid file is in [tracker home]/roundup.pid"
|
| 43 |
|
|
ewarn
|
| 44 |
|
|
ewarn "See upgrading.txt for upgrading instructions."
|
| 45 |
|
|
}
|