pyrex has some simple tests we could run in the Demos subdir. Running `emake -C Demos test' works nicely. Index: pyrex-0.9.9.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/pyrex/pyrex-0.9.9.ebuild,v retrieving revision 1.1 diff -u -B -r1.1 pyrex-0.9.9.ebuild --- pyrex-0.9.9.ebuild 13 Apr 2010 15:56:07 -0000 1.1 +++ pyrex-0.9.9.ebuild 17 May 2010 19:57:59 -0000 @@ -29,6 +29,10 @@ DOCS="CHANGES.txt ToDo.txt USAGE.txt" +src_test() { + emake -C Demos test || die "emake test failed" +} + src_install() { distutils_src_install
Created attachment 231851 [details, diff] Alternatively, patch the Makefile so our default src_test will pick it up, and have something to mail upstream :)
Comment on attachment 231851 [details, diff] Alternatively, patch the Makefile so our default src_test will pick it up, and have something to mail upstream :) Ah, now I know why they don't have that. It only seems to work post-install.
This package is so dead, I don't really see a purpose in testing whether it will actually not use the installed version.