Created
March 21, 2017 17:36
-
-
Save jbergstroem/05a79a904e2c0077d0305d2f2a6bfed6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- lit-4.0.0.ebuild 2017-03-21 17:52:04.226980111 +0100 | |
+++ lit-4.0.0-r1.ebuild 2017-03-21 19:36:09.131091393 +0100 | |
@@ -26,6 +26,14 @@ | |
# TODO: move the manpage generation here (from sys-devel/llvm) | |
+src_prepare() { | |
+ # py3 support | |
+ sed -e "s/assertItemsEqual/assertEqual/g" \ | |
+ -i tests/unit/TestRunner.py || die | |
+ | |
+ distutils-r1_python_prepare_all | |
+} | |
+ | |
python_test() { | |
./lit.py -sv tests || die | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- llvm-4.0.0.ebuild 2017-03-13 18:37:13.000000000 +0100 | |
+++ llvm-4.0.0-r1.ebuild 2017-03-21 17:02:13.950926825 +0100 | |
@@ -6,7 +6,7 @@ | |
: ${CMAKE_MAKEFILE_GENERATOR:=ninja} | |
# (needed due to CMAKE_BUILD_TYPE != Gentoo) | |
CMAKE_MIN_VERSION=3.7.0-r1 | |
-PYTHON_COMPAT=( python2_7 ) | |
+PYTHON_COMPAT=( python2_7 python3_4 ) | |
inherit check-reqs cmake-utils flag-o-matic \ | |
multilib-minimal pax-utils python-any-r1 toolchain-funcs versionator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment