recipe information

fromcheckers.apycotimportpython,scenarios,debcheck,lgp,pypi# trigger registrationfromcheckers.jplimportjpl#trigger registrationfromapycotlibimportnarvalactionsasnafromapycotlibimportSUCCESS,FAILURE,PARTIAL,NODATA,ERRORwithna.apycot_environment(plan)astest:test.checkout(test.texec['environment'])checker,status=test.run_checker('lgp.check')ifstatus>ERROR:build,status=test.run_checker('lgp.build')ifstatus>ERRORandnotbuild.debian_changes:# don't go further if we didn't manage to build a single packagestatus=ERRORifstatus>ERROR:lintian,status=test.run_checker('lintian',changes_files=build.debian_changes,)ifstatus>ERROR:rsync,status=test.run_checker('jpl.rsync',changes_files=build.debian_changes,rpm_files=build.rpms)ifstatus>ERROR:publish,status=test.run_checker('jpl.publish',changes_files=build.debian_changes)ifstatus>ERROR:iftest.options.get('pypi_publish',False)=='yes':upload,status=test.run_checker('pypi.upload')