+++ /dev/null
---- git-deps.orig 2016-07-05 14:15:35.520601179 +0200
-+++ git-deps 2016-07-05 14:18:38.601254285 +0200
-@@ -689,9 +689,7 @@
- abort("Cannot find flask module which is required for webserver mode.")
-
- webserver = Flask('git-deps')
-- here = os.path.dirname(os.path.realpath(__file__))
-- root = os.path.join(here, 'html')
-- webserver.root_path = root
-+ webserver.root_path = os.path.expanduser('~/git-deps-html')
-
- ##########################################################
- # Static content
EGIT_REPO_URI="https://github.com/aspiers/git-deps"
EGIT_BRANCH=master
-PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
+PYTHON_COMPAT=( python2_7 )
-inherit eutils git-r3 python-r1
+inherit eutils git-r3 python-single-r1
DESCRIPTION="git commit dependency analysis tool"
HOMEPAGE="https://github.com/aspiers/git-deps"
SLOT="0"
RDEPEND="
- dev-python/flask
- dev-python/pygit2
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/pygit2[${PYTHON_USEDEP}]
net-libs/nodejs
${PYTHON_DEPS}
"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-PATCHES="${FILESDIR}/html_location.patch"
-
HTML_DOCS="html/."
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
src_install() {
- python_foreach_impl python_newexe git-deps.py git-deps
+ python_newscript git-deps.py git-deps
einstalldocs
}