<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pkgsrc/databases/py-sqlite2, branch cube-native-xorg</title>
<subtitle>[no description]</subtitle>
<id>https://git.osdyson.ru/mirror/pkgsrc/atom?h=cube-native-xorg</id>
<link rel='self' href='https://git.osdyson.ru/mirror/pkgsrc/atom?h=cube-native-xorg'/>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/'/>
<updated>2008-09-10T12:40:58Z</updated>
<entry>
<title>Fix typo.</title>
<updated>2008-09-10T12:40:58Z</updated>
<author>
<name>wiz</name>
<email>wiz@pkgsrc.org</email>
</author>
<published>2008-09-10T12:40:58Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=f7408464c8c76a7f2bda9165f62dc74fffe560db'/>
<id>urn:sha1:f7408464c8c76a7f2bda9165f62dc74fffe560db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Be slightly more defensive in case an unsupported Python version is</title>
<updated>2008-09-10T11:33:01Z</updated>
<author>
<name>joerg</name>
<email>joerg@pkgsrc.org</email>
</author>
<published>2008-09-10T11:33:01Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=0fda7b3dd919bc05806373fc974a25aed9d9eb43'/>
<id>urn:sha1:0fda7b3dd919bc05806373fc974a25aed9d9eb43</id>
<content type='text'>
requested.</content>
</entry>
<entry>
<title>Don't try to build and install the Python 2.5+ tests on 2.3 and 2.4 to</title>
<updated>2008-09-10T10:47:31Z</updated>
<author>
<name>joerg</name>
<email>joerg@pkgsrc.org</email>
</author>
<published>2008-09-10T10:47:31Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=22ca0ff1bf943d1bf614452faca4b8eb781c7e09'/>
<id>urn:sha1:22ca0ff1bf943d1bf614452faca4b8eb781c7e09</id>
<content type='text'>
unbreak PLIST for those versions. Bump revision.</content>
</entry>
<entry>
<title>Found a new homepage, and an even newer version, including changelogs:</title>
<updated>2008-09-06T16:12:44Z</updated>
<author>
<name>wiz</name>
<email>wiz@pkgsrc.org</email>
</author>
<published>2008-09-06T16:12:44Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=92208d78bfac5d4111cef86ddd186d3bc14b4486'/>
<id>urn:sha1:92208d78bfac5d4111cef86ddd186d3bc14b4486</id>
<content type='text'>
2.5.0:
- Windows binaries are now cross-built using mingw on Linux
- import various fixes from Python 2.6 version
- Connection has new method iterdump() that allows you to create a script file
  that can be used to clone a database
- the docs are now built using Sphinx and were imported from Python 2.6's
  sqlite3 module
- Connection.enable_load_extension(enabled) to allow/disallow extension
  loading. Allows you to use fulltext search extension, for example ;-)
- Give the remaining C functions used in multiple .c source files the pysqlite_
  prefix.
- Release GIL during sqlite3_prepare() calls for better concurrency.
- Automatically download the SQLite amalgamation when building statically.

2.4.1:
- Made unicode strings for the database parameter in connect() work again
- Removed bad defaults from setup.cfg

2.4.0:
- Implemented context managers. pysqlite's connections can now be used as
  context managers with Python 2.5 or later:

        from __future__ import with_statement
        from pysqlite2 import dbapi2 as sqlite

        con = sqlite.connect(":memory:")
        con.execute("create table person (id integer primary key, firstname varchar unique)")

        # Successful, con.commit() is called automatically afterwards
        with con:
            con.execute("insert into person(firstname) values (?)", ("Joe",))

        # con.rollback() is called after the with block finishes with an exception, the
        # exception is still raised and must be catched
        try:
            with con:
                con.execute("insert into person(firstname) values (?)", ("Joe",))
        except sqlite.IntegrityError:
            print "couldn't add Joe twice"

- pysqlite connections can now be created from APSW connections. This enables
  users to use APSW functionality in applications using the DB-API from
  pysqlite:

        from pysqlite2 import dbapi2 as sqlite
        import apsw

        apsw_con = apsw.Connection(":memory:")
        apsw_con.createscalarfunction("times_two", lambda x: 2*x, 1)

        # Create pysqlite connection from APSW connection
        con = sqlite.connect(apsw_con)
        result = con.execute("select times_two(15)").fetchone()[0]
        assert result == 30
        con.close()

  Caveat: This will only work if both pysqlite and APSW are dynamically
  linked against the same SQLite shared library. Otherwise you will
  experience a segfault.

- Fixed shuffled docstrings for fetchXXX methods.

- Workaround for SQLite 3.5.x versions which apparently return NULL for
  "no-operation" statements.

- Disable the test for rollback detection on old SQLite versions. This prevents
  test failures on systems that ship outdated SQLite libraries like MacOS X.

- Implemented set_progress_handler for progress callbacks from SQLite. This is
  particularly useful to update GUIs during long-running queries.  Thanks to
  exarkun for the original patch.</content>
</entry>
<entry>
<title>Update to 2.4.1, changes undocumented.</title>
<updated>2008-09-06T16:03:09Z</updated>
<author>
<name>wiz</name>
<email>wiz@pkgsrc.org</email>
</author>
<published>2008-09-06T16:03:09Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=279a309d61d088d7d83ae6138cdfcc141abb5f11'/>
<id>urn:sha1:279a309d61d088d7d83ae6138cdfcc141abb5f11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typo.</title>
<updated>2008-09-05T15:18:28Z</updated>
<author>
<name>ghen</name>
<email>ghen@pkgsrc.org</email>
</author>
<published>2008-09-05T15:18:28Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=a5b4e858902716232aeabd347443dc24944fb52e'/>
<id>urn:sha1:a5b4e858902716232aeabd347443dc24944fb52e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add DESTDIR support.</title>
<updated>2008-06-12T02:14:13Z</updated>
<author>
<name>joerg</name>
<email>joerg@pkgsrc.org</email>
</author>
<published>2008-06-12T02:14:13Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=ba171a91fab519f587b027c1a2888cb6e3fce049'/>
<id>urn:sha1:ba171a91fab519f587b027c1a2888cb6e3fce049</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update PYTHON_VERSIONS_COMPATIBLE</title>
<updated>2008-04-25T20:39:06Z</updated>
<author>
<name>joerg</name>
<email>joerg@pkgsrc.org</email>
</author>
<published>2008-04-25T20:39:06Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=a77e7015fef465c9d21fd49774b5fe3fc8b9f6e8'/>
<id>urn:sha1:a77e7015fef465c9d21fd49774b5fe3fc8b9f6e8</id>
<content type='text'>
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.</content>
</entry>
<entry>
<title>Switch from PYTHON_VERSIONS_ACCEPTED= to PYTHON_VERSIONS_INCOMPATIBLE= (and enable 25)</title>
<updated>2008-04-11T15:27:22Z</updated>
<author>
<name>abs</name>
<email>abs@pkgsrc.org</email>
</author>
<published>2008-04-11T15:27:22Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=e346e4ec0a830dcd97f1065c8bbf367ef01cc5d5'/>
<id>urn:sha1:e346e4ec0a830dcd97f1065c8bbf367ef01cc5d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The self-test requires the package to be installed, and this is not the</title>
<updated>2007-11-19T23:10:18Z</updated>
<author>
<name>rillig</name>
<email>rillig@pkgsrc.org</email>
</author>
<published>2007-11-19T23:10:18Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=dfccb7888c483b7baf6aa3d9454dcc7facd2d76e'/>
<id>urn:sha1:dfccb7888c483b7baf6aa3d9454dcc7facd2d76e</id>
<content type='text'>
case with the standard do-test target.</content>
</entry>
</feed>
