<div dir="ltr">Hi Michael,<br><div class="gmail_extra"><br><div class="gmail_quote">2014-11-29 14:25 GMT-05:00 Michael Banck <span dir="ltr"><<a href="mailto:mbanck@debian.org" target="_blank">mbanck@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sebastian,<br>
<span class=""><br>
On Sat, Nov 29, 2014 at 12:12:49AM -0500, Sebastian Wouters wrote:<br>
> In my last mail I forgot to CC the mailing list, so that's why part of<br>
> the mail will seem familiar.<br>
><br>
>  - My freshly created account on alioth is "sebwouters-guest".<br>
<br>
</span>Ok, I've added you to the project now, welcome!<br>
<span class=""><br>
>  - Do I just need to provide the modified libchemps2-1.4 source (with<br>
> patches) and the debian/ folder (with patches) on the debichem git repo?<br>
<br>
</span>I have to admit I haven't been using git for packaging yet, so I hope<br>
somebody else can answer this.  I think most people are using<br>
pristine-tar for the handling of upstream code in git.<br></blockquote><div><br></div><div>I'll try to get the things for the C++ library uploaded today.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
>  - Thus far, I have only worked out the C++ shared library and development<br>
> files, but there's in fact also a python interface (PyCheMPS2) which would<br>
> be nice to have as a third library in the package.<br>
<br>
</span>Which one is used by the external packages you mentioned in your first<br>
mail?  In any case, exposing the python package does not make sense at<br>
some point IMO.  If you don't have a lot of experience with python<br>
packages, somebody else from the team can take a look at some point if<br>
you want.<br></blockquote><div><br></div><div>psi4 uses the C++ library directly, pyscf uses the python interface to the library, and I don't know about horton at this point, although I assume they also want to use the python interface.<br></div><div>I think it would be good to have the python bindings as a third part of the libchemps2 package.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
>  - A second thing which I still need to figure out is how to run the tests<br>
> of the shared C++ / Python library. They're not intended for users to<br>
> install as an executable, but it might be good to run these tests after the<br>
> buildd deamon has finished.<br>
<br>
</span>In general (and I haven't looked at your package yet), there's two ways<br>
to runs tests: (i) as part of the package building process and (ii)<br>
after package installation using the autopkgtest framework[1].<br>
<br>
We have not done a lot with autopkgtest so far (but this is an important<br>
topic we should tackle after the jessie release), but we try to run<br>
testsuites during build whenever possible.<br>
<br>
I try to keep the following in mind when doing (i):<br>
<br>
1. If debhelper's dh is used, dh_auto_test should run tests<br>
automatically, but this is seldom the case for chemistry software. So we<br>
usually add an override_dh_auto_test target, which runs the testsuite.<br>
<br>
2. I honor DEB_BUILD_OPTIONS=nocheck - if that is set, tests are not<br>
run, see e.g. the mpqc package.<br>
<br>
3. In general, I make test suite failures non-fatal for the build, and<br>
review the build logs for problems instead, also done in the mpqc<br>
package.<br>
<br>
4. depending on how long the testsuite takes (some take a very long<br>
time, especially on lower-powered autobuilders), I only enable a couple<br>
of tests which cover the functionality users are most likely to require.<br>
This is either done via patch to upstream, or some Debian-specific<br>
test-configuration from debian/.<br>
<br>
5. If I do 4., then I try to add an option so that passing<br>
DEB_BUILD_OPTIONS=fullcheck runs the full testsuite optionally.  See<br>
the libint2 package (only in subversion so far) for that.<br>
<br>
Does that answer your question?<br>
<br></blockquote><div>That answers my question. I'll take a look at mpqc. Thanks!<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Michael<br>
<br>
[1] <a href="http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests.rst;hb=HEAD" target="_blank">http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests.rst;hb=HEAD</a><br>
</blockquote></div><br></div><div class="gmail_extra">Sebastian<br><div dir="ltr"><div><div dir="ltr"><div><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"></span></div></div></div></div>
</div></div>