Package python-module-ftw.testbrowser: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | %define mname ftw %define oname %mname.testbrowser Name: python-module-%oname Version: 1.14.6 Release: alt1.dev0.git20150130 Summary: A test browser for Zope and Plone License: GPLv2+ Group: Development/Python Url: https://pypi.python.org/pypi/ftw.testbrowser/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # https://github.com/4teamwork/ftw.testbrowser.git Source: %name-%version.tar BuildPreReq: python-module-setuptools-tests python-module-lxml BuildPreReq: python-module-mechanize python-module-requests BuildPreReq: python-module-unittest2 python-module-cssselect BuildPreReq: python-module-sphinx-devel BuildPreReq: python-module-plone.testing BuildPreReq: python-module-zope.component BuildPreReq: python-module-zope.deprecation BuildPreReq: python-module-zope.interface BuildPreReq: python-module-plone.app.testing BuildPreReq: python-module-Products.CMFCore BuildPreReq: python-module-Products.statusmessages BuildPreReq: python-module-ftw.builder BuildPreReq: python-module-plone.app.contenttypes BuildPreReq: python-module-plone.formwidget.autocomplete BuildPreReq: python-module-plone.formwidget.contenttree BuildPreReq: python-module-plone.z3cform BuildPreReq: python-module-z3c.form BuildPreReq: python-module-z3c.formwidget.query BuildPreReq: python-module-zope.configuration BuildPreReq: python-module-zope.publisher BuildPreReq: python-module-zope.schema BuildPreReq: python-module-zope.testbrowser %py_provides %oname %py_requires %mname plone.testing zope.component zope.deprecation %py_requires zope.interface plone.app.testing zope.testbrowser.testing %description ftw.testbrowser is a browser library for testing Plone web sites and applications. It integrations directly into Plone / Zope and uses lxml for parsing and querying pages. It supports all the basic features such as filling forms. %package tests Summary: Tests for %oname Group: Development/Python Requires: %name = %EVR %py_requires Products.CMFCore Products.statusmessages ftw.builder %py_requires plone.app.contenttypes plone.formwidget.autocomplete %py_requires plone.formwidget.contenttree plone.z3cform z3c.form %py_requires z3c.formwidget.query zope.configuration zope.publisher %py_requires zope.schema %description tests ftw.testbrowser is a browser library for testing Plone web sites and applications. It integrations directly into Plone / Zope and uses lxml for parsing and querying pages. It supports all the basic features such as filling forms. This package contains tests for %oname. %package pickles Summary: Pickles for %oname Group: Development/Python %description pickles ftw.testbrowser is a browser library for testing Plone web sites and applications. It integrations directly into Plone / Zope and uses lxml for parsing and querying pages. It supports all the basic features such as filling forms. This package contains pickles for %oname. %package docs Summary: Documentation for %oname Group: Development/Documentation BuildArch: noarch %description docs ftw.testbrowser is a browser library for testing Plone web sites and applications. It integrations directly into Plone / Zope and uses lxml for parsing and querying pages. It supports all the basic features such as filling forms. This package contains documentation for %oname. %prep %setup %prepare_sphinx docs ln -s ../objects.inv docs/source/ %build %python_build_debug %install %python_install %ifarch x86_64 mv %buildroot%_libexecdir %buildroot%_libdir %endif export PYTHONPATH=$PWD %make pickle %make html install -d %buildroot%python_sitelibdir/%oname cp -fR docs/pickle %buildroot%python_sitelibdir/%oname/ %check python setup.py test %files %doc *.rst docs/*.txt %dir %python_sitelibdir/%oname %python_sitelibdir/%mname/* %python_sitelibdir/*.egg-info %exclude %python_sitelibdir/*/pickle %exclude %python_sitelibdir/%mname/*/test* %files tests %python_sitelibdir/%mname/*/test* %files pickles %python_sitelibdir/*/pickle %files docs %doc docs/html/* %changelog * Sat Feb 14 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.14.6-alt1.dev0.git20150130 - Version 1.14.6.dev0 * Sat Nov 29 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.14.5-alt1.dev0.git20141107 - Initial build for Sisyphus |