Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=bc2614e4abb9d2060a037ca65030f0a2aad6e277

commit bc2614e4abb9d2060a037ca65030f0a2aad6e277
Author: crazy <[EMAIL PROTECTED]>
Date:   Mon May 19 21:38:33 2008 +0200

pysqlite2-2.4.1-1-x86_64
* Version bump
* removed utf8  patch , in upstream already

diff --git a/source/devel-extra/pysqlite2/FrugalBuild 
b/source/devel-extra/pysqlite2/FrugalBuild
index e2dd54e..0784c3b 100644
--- a/source/devel-extra/pysqlite2/FrugalBuild
+++ b/source/devel-extra/pysqlite2/FrugalBuild
@@ -4,25 +4,21 @@

pkgname=pysqlite2
_F_archive_name=pysqlite
-pkgver=2.4.0
-pkgrel=2
+pkgver=2.4.1
+pkgrel=1
pkgdesc="Python DB-API 2.0 interface for SQLite."
url="http://initd.org/tracker/pysqlite";
depends=('python' 'sqlite3>=3.4.1')
groups=('devel-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump 'http://initd.org/tracker/pysqlite/wiki/pysqlite' | grep 
-m1 tar.gz | Flasttar"
-source=(http://initd.org/pub/software/pysqlite/releases/2.4/$pkgver/pysqlite-$pkgver.tar.gz
 \
-       fix_utf8_handling.patch)
-sha1sums=('53720df970945e65466350e4bcd59b974e4e7500' \
-          'd4dcbdef115fb8f909c966327f42c2e7fa1e17d1')
+source=(http://initd.org/pub/software/pysqlite/releases/2.4/$pkgver/pysqlite-$pkgver.tar.gz)
+sha1sums=('03d2c52c65e017e657d852c0583aa39bb6563a73')

build()
{
Fcd pysqlite-$pkgver
-       export CFLAGS="$GFLAGS -fno-strict-aliasing"
Fbuild
-
# Put documentation in the right place
Fmkdir usr/share/doc/$pkgname-$pkgver
Fmv usr/pysqlite2-doc/* usr/share/doc/$pkgname-$pkgver
diff --git a/source/devel-extra/pysqlite2/fix_utf8_handling.patch 
b/source/devel-extra/pysqlite2/fix_utf8_handling.patch
deleted file mode 100644
index 47f6112..0000000
--- a/source/devel-extra/pysqlite2/fix_utf8_handling.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur pysqlite-2.4.0/src/connection.c 
pysqlite-2.4.0-fix-utf8/src/connection.c
---- pysqlite-2.4.0/src/connection.c    2007-11-25 17:56:11.000000000 +0100
-+++ pysqlite-2.4.0-fix-utf8/src/connection.c   2007-12-21 20:44:44.000000000 
+0100
-@@ -83,7 +83,7 @@
-     Py_INCREF(&PyUnicode_Type);
-     self->text_factory = (PyObject*)&PyUnicode_Type;
-
--    if (PyString_Check(database)) {
-+    if (PyString_Check(database) || PyUnicode_Check(database)) {
-         Py_BEGIN_ALLOW_THREADS
-         rc = sqlite3_open(PyString_AsString(database), &self->db);
-         Py_END_ALLOW_THREADS
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to