summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen2014-03-08 15:50:34 (GMT)
committereroen2014-03-08 15:50:34 (GMT)
commit75db4a85309f28d8aa98fb0addead9ebaa78f407 (patch)
tree28d515c71d7d4a01657ef16548abea6dc0836452
parent87ef9063b6829781c0a13e03ee86e8ac25e97d6f (diff)
downloaderoen-overlay-75db4a85309f28d8aa98fb0addead9ebaa78f407.tar.gz
eroen-overlay-75db4a85309f28d8aa98fb0addead9ebaa78f407.tar.bz2
eroen-overlay-75db4a85309f28d8aa98fb0addead9ebaa78f407.tar.xz
isso - config for non-live
-rw-r--r--www-apps/isso/isso-9999.ebuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/www-apps/isso/isso-9999.ebuild b/www-apps/isso/isso-9999.ebuild
index d195ed8..5b20103 100644
--- a/www-apps/isso/isso-9999.ebuild
+++ b/www-apps/isso/isso-9999.ebuild
@@ -19,18 +19,19 @@ PYTHON_COMPAT=( python2_7 )
if [[ $PV == *9999* ]]; then
inherit user distutils-r1 git-r3
- EGIT_REPO_URI=https://github.com/posativ/isso.git
+ EGIT_REPO_URI=https://github.com/posativ/${PN}.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 user distutils-r1
- SRC_URI=mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ https://raw.github.com/posativ/${PN}/${PV%.*}/docs/${PN}.example.cfg -> ${P}.example.cfg"
fi
DESCRIPTION="lightweight Disqus alternative"
-HOMEPAGE="http://posativ.org/isso https://pypi.python.org/pypi/isso/ https://github.com/posativ/isso/"
+HOMEPAGE="http://posativ.org/isso/ https://pypi.python.org/pypi/isso/ https://github.com/posativ/isso/"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
@@ -38,6 +39,8 @@ IUSE=""
if [[ ${PV} == *9999* ]]; then
IUSE+=" debug doc"
DOCS=( README.md CHANGES.rst docs/{contribute.rst,faq.rst,isso.example.cfg} )
+else
+ DOCS=( "${DISTDIR}"/${P}.example.cfg )
fi
LIBDEPEND="dev-python/html5lib[${PYTHON_USEDEP}]
@@ -96,7 +99,6 @@ src_unpack() {
src_compile() {
if [[ ${PV} == *9999* ]]; then
- mkdir -p isso/css || die
scss isso/css/isso.scss isso/css/isso.css || die
node bin/r.js -o isso/js/build.embed.js || die
@@ -139,10 +141,12 @@ python_install_all() {
if [[ ${PV} == *9999* ]]; then
insinto /etc
- newins docs/isso.example.cfg isso.conf
+ newins docs/isso.example.cfg ${PN}.conf
use doc && dodoc -r "${T}"/html
+ else
+ insinto /etc
+ newins "${DISTDIR}"/${P}.example.cfg ${PN}.conf
fi
- # TODO: Find an example config for non-live version
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}