aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2015-04-08 00:45:30 -0400
committerTim Harder <radhermit@gmail.com>2015-04-08 00:45:30 -0400
commitf0c729c4ba1200cf06611fd0cd9d563967f735a1 (patch)
treeb4a0a2574b25ec80086a4bfd150910b4543f309a /tox.ini
parentupdate news (diff)
downloadpkgcheck-f0c729c4ba1200cf06611fd0cd9d563967f735a1.tar.gz
pkgcheck-f0c729c4ba1200cf06611fd0cd9d563967f735a1.tar.bz2
pkgcheck-f0c729c4ba1200cf06611fd0cd9d563967f735a1.zip
tox: slightly simplify snakeoil installation
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 1 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index c29d8df1..9fadc2f8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,12 +10,9 @@ deps =
mock
coverage>3.9
commands =
+ pip install https://github.com/pkgcore/snakeoil/archive/master.tar.gz --install-option="--install-headers={envdir}/include/snakeoil"
bash -c '\
- [[ -d {toxworkdir}/snakeoil ]] || ( mkdir "{toxworkdir}/snakeoil" && wget -O - https://github.com/pkgcore/snakeoil/archive/master.tar.gz | tar -xz --strip-components=1 -C "{toxworkdir}/snakeoil" ) && \
[[ -d {toxworkdir}/pkgcore ]] || ( mkdir "{toxworkdir}/pkgcore" && wget -O - https://github.com/pkgcore/pkgcore/archive/master.tar.gz | tar -xz --strip-components=1 -C "{toxworkdir}/pkgcore" ) && \
- pushd "{toxworkdir}/snakeoil" >/dev/null && \
- python setup.py build_ext -I {envdir}/include build -b {envdir}/build install --install-headers "{envdir}/include/snakeoil" && \
- popd >/dev/null && \
pushd "{toxworkdir}/pkgcore" >/dev/null && \
python setup.py build_ext -I {envdir}/include build -b {envdir}/build --disable-man-pages --disable-html-docs install --disable-man-pages --disable-html-docs && \
popd >/dev/null && \