summaryrefslogtreecommitdiff
path: root/www-apps/isso/isso-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/isso/isso-9999.ebuild')
-rw-r--r--www-apps/isso/isso-9999.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/www-apps/isso/isso-9999.ebuild b/www-apps/isso/isso-9999.ebuild
index 2812aee9..d195ed8b 100644
--- a/www-apps/isso/isso-9999.ebuild
+++ b/www-apps/isso/isso-9999.ebuild
@@ -18,14 +18,14 @@ EAPI=5
PYTHON_COMPAT=( python2_7 )
if [[ $PV == *9999* ]]; then
- inherit distutils-r1 git-r3
+ inherit user distutils-r1 git-r3
EGIT_REPO_URI=https://github.com/posativ/isso.git
JS_REPO_URIS=( https://github.com/jrburke/almond.git
https://github.com/jrburke/r.js.git
https://github.com/requirejs/text.git )
VCS_DEPEND="dev-vcs/git[curl]"
else
- inherit distutils-r1
+ inherit user distutils-r1
SRC_URI=mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
fi
@@ -62,6 +62,10 @@ DEPEND="${HDEPEND}\
${LIBDEPEND}"
RDEPEND="${LIBDEPEND}"
+pkg_setup() {
+ enewuser ${PN}
+}
+
src_fetch() {
if [[ ${PV} == *9999* ]]; then
git-r3_src_fetch
@@ -132,9 +136,14 @@ python_test() {
python_install_all() {
distutils-r1_python_install_all
+
if [[ ${PV} == *9999* ]]; then
insinto /etc
newins docs/isso.example.cfg isso.conf
use doc && dodoc -r "${T}"/html
fi
+ # TODO: Find an example config for non-live version
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
}