diff options
| -rw-r--r-- | www-apps/isso/isso-9999.ebuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/www-apps/isso/isso-9999.ebuild b/www-apps/isso/isso-9999.ebuild index d195ed8b..5b201035 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} |
