Hi, please find attached the ebuild for CxxTest and two little patches. From the description of the project: "CxxTest is a JUnit/CppUnit/xUnit-like [unit testing] framework for C++. Its advantages over existing alternatives are that it: - Doesn't require RTTI - Doesn't require member template functions - Doesn't require exception handling - Doesn't require any external libraries (including memory management, file/console I/O, graphics libraries) - Is distributed entirely as a set of header files This makes it extremely portable and usable." dev-util/cppunit and dev-util/qtunit are imho the closest alternatives. See http://weblogs.asp.net/rosherove/archive/2004/12/30/343938.aspx for a comparision of CxxTest and CppUnit. Boris
Created attachment 52805 [details] my little ebuild
Created attachment 52806 [details, diff] change the reference to the user guide in the README Don't mess around with people who are already looking for help.
Created attachment 52807 [details, diff] if no local doc is installed point to the web
Can we add this to the portage tree, already? This bug is over two years old, and I used these ebuilds without issue. Some people use cxxtest, and being able to easily install it would be a boon to them.
(In reply to comment #4) > Can we add this to the portage tree, already? This bug is over two years old, > and I used these ebuilds without issue. Some people use cxxtest, and being able > to easily install it would be a boon to them. > I agree, I would like to see it as well. There is a bug in the ebuild, though: --- old.cxxtest-3.10.1.ebuild 2008-09-01 23:56:56.000000000 -0700 +++ cxxtest-3.10.1.ebuild 2008-09-01 23:50:03.000000000 -0700 @@ -14,7 +14,7 @@ KEYWORDS="~x86" IUSE="examples doc" -RDEPEND=">=dev-lang/perl" +RDEPEND="dev-lang/perl" S="${WORKDIR}/${PN}"
website is now: http://cxxtest.tigris.org/ (tigris project page) or http://cxxtest.com/ (wiki)
oh. builds and runs fine under ~amd64, too. i'd love to see this package in portage.
Created attachment 197620 [details] dev-libs/cxxtest-3.10.1.ebuild ebuild cleanup
I have removed all the hackishes so the ebuild can be safely added to the portage tree; feedbacks and testing are welcome too. Hope to be usefull.