Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
python-logilab-common
python-logilab-common.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-logilab-common.spec of Package python-logilab-common
# # spec file for package python-logilab-common (Version 0.35.0) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: python-logilab-common Summary: Python lowlevel functionality shared by logilab projects Version: 0.35.0 Release: 1 BuildRequires: python-devel Source: logilab-common-%{version}.tar.bz2 License: GPL v2 or later Group: Development/Languages/Python Url: http://www.logilab.org/projects/common/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} %description The package logilab.common contains several modules providing low level functionalities shared among some python projects developed by logilab. The package is used by pylint, an advanced Python style and syntax checker. Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant database driver. Command line parsing modules require optik to be installed, if you're using python2.1 or 2.2. Please send any comment, patch or question to the python-projects mailing-list. Before asking a question, please first search the archives in case it would have already been answered. You may want to use google and add "site:lists.logilab.org" to your keywords to narrow your search. We will soon provide our own search engine. Authors: -------- contact@logilab.fr %prep %setup -n logilab-common-%{version} %build python setup.py build %install python setup.py install --prefix=%{_prefix} --record-rpm=INSTALLED_FILES \ --root="$RPM_BUILD_ROOT" %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc ChangeLog README # %doc ureports # %doc test # FIXME: Why are these not part of INSTALLED_FILES ? %{py_sitedir}/logilab/__init__.py %{py_sitedir}/logilab/common/test/data/* %changelog * Fri Sep 12 2008 garloff@suse.de - Update to 0.35.0: * fix #5945: wrong edge proporties in graph.DotBackend * testlib: filter tests with tag decorator * shellutils: new simple unzip function * Fri Aug 22 2008 garloff@suse.de - Update to 0.34.0: * changelog properly adds new line at the end of each entry * add a with_tempdir decorator ensuring all temporary files and dirs are removed * improve DotBackend configuration. graphiz rendered can now be selected and additionnal graph parameter used * db: support of Decimal Type - Update to 0.33.0: * decorators: new @locked decorator * cache: make it thread safe, changed behaviour so that when cache size is 0 and __delitem__ is called, a KeyError is raised (more consistent) * testlib: - added assertIsNot, assertNone and assertNotNone assertion - added assertUnorderedIterableEquals - added assertDirEquals - various failure ouput improvement * umessage: umessage.date() may return unparsable string as is instead of None * compat: adds a max function taking 'key' as keyword argumento as in 2.5 * configuration: escape rest when printing for default value - Update to 0.32.0: * textutils: add the apply_unit fonction * testlib: - added a assertXMLEqualsTuple test assertion - added a assertIs assertion - Update to 0.31.0: * improved documentation and error messages * testlib: support a msg argument on more assertions, pysqlite2 as default * pytest: pytestconf.py for customization - Update to 0.30.0: * db: remember logged user on the connection * clcommands: commands may be hidden (eg not displayed in help), generic ListCommandsCommand useful to build bash completion helpers * changelog: module to parse ChangeLog file as this one, backported from logilab.devtools - Update to 0.29.1: * date: new nb_open_days function counting worked days between two dates * adbh: add -p option to mysql commands to ask for password - Update to 0.29.0: * adbh: mysql doesn't support ILIKE, implement list_indices for mysql * db: mysql adapter use mx DateTime when available, fix unicode handling - Update to 0.28.2: * testlib: restore python2.3 compatiblity - Update to 0.28.1: * testlib: introduce InnerTest class to name generative tests, fix generative tests description storage * pytest: fix -s option * modutils: included Stefan Rank's patch to deal with 2.4 relative import * configuration: don't give option's keywords not recognized by optparse, fix merge_options function - Update to 0.28.0: * date: new `add_days_worked` function * shellutils: new `chown` function * testlib: new `strict` argument to assertIsInstance * __init__: new `attrdict` and `nullobject` classes - Update tp 0.27.0: * deprecation: new class_moved utility function * interface: fix subinterface handling - Update to 0.26.1: * optparser: support --version at main command level * testlib: added man page for pytest * textutils: fix a bug in normalize{_,_rest_}paragraph which may cause infinite loop if an indent string containing some spaces is given - Update to 0.26.0: * db: binarywrap support * modutils: new LazyObject class - Update to 0.25.2: * adbh: new needs_from_clause variable on db helper - Update to 0.25.1: * pytest: new --profile option, setup module / teardown module hook, other fixes and enhancements * db: mysql support fixes * adbh: fix postgres list_indices implementation - Update to 0.25.0: * adbh: - list_tables implementation for sqlite - new list_indices, create_index, drop_index methods * restore python < 2.4 compat - Update to 0.24.0: * decorators: new classproperty decorator * adbh: new module containing advanced db helper which were in the "db" module, with additional registered procedures handling - Update to 0.23.1: * modutils: fix load_module_from_* (even with use_sys=False, it should try to get outer packages from sys.modules) - Update to 0.23.0: * db: - mark support_users and support_groups methods as obsolete in favor of users_support and groups_support attributes - new ilike_support property on dbms helpers - extended db helper api - completed mysql support * textutils: new unormalize function to normalize diacritical chars by their ascii equivalent * modutils: new load_module_from_file shortcut function * clcommands: pop_args accept None as value for expected_size_after, meaning remaining args should not be checked * interface: new extend function to dynamically add an implemented interface to a new style class * Tue Jul 17 2007 garloff@suse.de - Update to 0.22.2: * new 'typechanged' action for configuration.read_old_config - Update to 0.22.1: * important bug fix in bd.py * added history in pytest debugger sessions * fix pytest coverage bug * fix textutils test * fix a bug which provoqued a crash if devtools was not installed - Update to 0.22.0: * pytest improvements * shellutils: use shutil.move instead of os.rename as default action of mv * db: new `list_users` and `sql_drop_unique_constraint` methods i on advanced helpers * deprecation: new `obsolete` decorator - Update to 0.21.3: * fixed cached decorator to use __dict__ instead of attribute lookup, avoiding potential bugs with inheritance when using cached class methods - Update to 0.21.2: * fix ReST normalization (#3471) - Update to 0.21.1: * tree: make Node iterable (iter on its children) * configuration: fix #3197 (OptionsManagerMixin __init__ isn't passing correctly its "version" argument) * textutils: new 'rest' argument to normalize_text to better deal with ReST formated text * some packaging fixes - Update to 0.21.0: * db: - new optional keepownership argument to backup|restore_database methods - only register mxDatetime converters on psycopg2 adapter if mx.DateTime is available * moved some stuff which was in common __init__ file into specific module. At this occasion new "decorators" and "deprecation" modules has been added * deprecated fileutils.[files_by_ext,include_files_by_ext,exclude_files_by_ext] functions in favor of new function shellutils.find * mark the following modules for deprecation, they will be removed in a near version: - astutils: moved to astng - bind (never been used) - html: deprecated - logger/logservice: use logging module - monclient/monserver (not used anymore) - patricia (never been used) - twisted_distutils (not used anymore) * removed the following functions/methods which have been deprecated for a while now: - modutils.load_module_from_parts - textutils.searchall - tree.Node.leafs - fileutils.get_by_ext, filetutils.get_mode, fileutils.ensure_mode - umessage: more robust charset handling - Update to 0.20.2: * fileutils: new remove_dead_links function * date: add missing strptime import - Update to 0.20.1: * umessage: - new message_from_string function - fixed get_payload encoding bug * db: default postgres module is now psycopg2, which has been customized to return mx.Datetime objects for date/time related types - Update to 0.20.0: * db: - fixed date handling - new methods on advanced helper to generate backup commands * configuration: basic deprecated config handling support * new implementation of pytest * backport a dot backend from yams into a new "graph" module - Update to 0.19.3: * fixed bug in textutils.normalise_[text|paragraph] with unsplitable word larger than the maximum line size * added pytest.bat for windows installation * changed configuration.generate_config to include None values into the generated file * Tue Sep 26 2006 cthiel@suse.de - fix build with python 2.5 - update to version 0.19.2 * testlib: o fixed a bug in find_test making it returns some bad test names o new assertIsInstance method on TestCase * optik_ext: make it works if mx.DateTime is not installed, in which case the date type option won't be available * test fixes - changes from 0.19.0 to 0.19.1 * db: o fixed bug when querying boolean on sqlite using python's bool type o fixed time handling and added an adapter for DateTimeDeltaType o added "drop_on_commit" argument to create_temporary_table on db helper o added missing implementation of executemany on pysqlite2 wrapper to support pyargs correctly like execute * optik_ext: fixed "named" type option to support csv values and to return a dictionary - changes from 0.18.0 to 0.19.0 * new umessage module which provides a class similar to the standard email.Message class but returning unicode strings * new clcommands module to handle commands based command line tool (based on the configuration module) * new "date" otion type in optik_ext * new AttrObject in testlib to create objects in test with arbitrary attributes * add pytest to run project's tests and get rid of all runtests.py * add pytest option to enable design-by-contract using aspects * some enhancements to the configuration module - changes from 0.17.0 to 0.18.0 * added -c / --capture option to testlib.unittest_main * fixed bugs in lgc.configuration * optparser: added a OptionParser that extends optparse's with commands - changes from 0.16.1 to 0.17.0 * python2.5 compatibility (testlib.py + compat.py) * testlib.assertListEquals return all errors at once * new "password" option type in optik_ext * configuration: refactored to support interactive input of a configuration - changes from 0.16.0 to 0.16.1 * testlib: improved test collections * compat: added cmp argument to sorted - changes from 0.15.1 to 0.16.0 * testlib: o added a set of command line options (PYDEBUG is deprecated, use the -i/--pdb option, and added -x/--exitfirst option) o added support for generative tests * db: o fix get_connection parameter order and host/port handling o added .sql_temporary_table method to advanced func helpers o started a psycopg2 adapter * configuration: enhanced to handle default value in help and man pages generation (require python >= 2.4) - changes from 0.15.0 to 0.15.1 * db: add missing port handling to get_connection function and dbapimodule.connect methods * testlib: various fixes and minor improvments - changes from 0.14.1 to 0.15.0 * added "cached" decorator and a simple text progression bar into __init__ * added a simple text progress bar into __init__ * configuration: fixed man page generation when using python 2.4 * db: added pysqllite2 support, preconfigured to handle timestamp using mxDatetime and to correctly handle boolean types - changes from 0.14.0 to 0.14.1 * backported file support and add LOG_CRIT to builtin in logservice module - changes from 0.13.1 to 0.14.0 * renamed assertXML*Valid to assertXML*WellFormed and deprecated the old name * fixed modutils.load_module_from_* - changes from 0.13.0 to 0.13.1 * fix some tests, patch contributed by Marien Zwart * added ability to log into a file with make_logger() * Tue Feb 28 2006 jmatejek@suse.cz - updated to reflect python changes due to #149809 * Sat Jan 28 2006 garloff@suse.de - Update to 0.13.0: * testlib: ability to skip a test * configuration: - cleaner configuration file generation - refactoring so that we can have more control on file configuration loading using read_config_file and load_config_file instead of load_file_configuration * modutils: fix is_relative to return False when from_file is a file located somewhere in sys.path * compat: make set iterable and support more other set operations... * removed the astng sub-package, since it's now self-distributed as python-logilab-astng * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Dec 20 2005 garloff@suse.de - Update to 0.12.0: * shellutils: bug fix in mv() * compat: use the set module when available, added sorted() and reversed() * table: new methods and some optimizations * tree: renamed leafs() to leaves() * Sat Aug 13 2005 ro@suse.de - remove noarch for now * Wed Aug 03 2005 garloff@suse.de - Update to 0.11. - bzip2 sources. * Tue Jul 26 2005 garloff@suse.de - Make it a noarch package. * Sun Jul 17 2005 garloff@suse.de - Initial creation of package python-logilab-common 0.10.0.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor