--- pygsl-0.9.4.ebuild.orig 2009-09-28 13:46:42.000000000 +0200 +++ pygsl-0.9.4.ebuild 2009-09-28 13:45:11.000000000 +0200 @@ -17,6 +17,14 @@ dev-python/numpy" RDEPEND="${DEPEND}" +src_unpack() { + unpack ${A} + cd "${S}" + if has_version '>=sci-libs/gsl-1.13'; then + epatch "${FILESDIR}/${P}-obsolete-units.patch" + fi +} + src_test() { cd "${S}/tests" PYTHONPATH=$(ls -d ../build/lib*) "${python}" run_test.py || die "tests failed"