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

commit 3592c5226c0927d030c879809785572e124b52da
Author: Pingax <[email protected]>
Date:   Mon Dec 26 13:19:48 2011 +0100

dnspython-1.9.4-1-i686
* New package

diff --git a/source/lib-extra/dnspython/FrugalBuild 
b/source/lib-extra/dnspython/FrugalBuild
new file mode 100644
index 0000000..fe38b9c
--- /dev/null
+++ b/source/lib-extra/dnspython/FrugalBuild
@@ -0,0 +1,22 @@
+# Compiling Time: 0 SBU
+# Maintainer: Pingax <[email protected]>
+
+pkgname=dnspython
+pkgver=1.9.4
+pkgrel=1
+pkgdesc="DNS toolkit for Python"
+url="http://www.dnspython.org";
+depends=('python-3.0')
+makedepends=('python3-distribute')
+archs=('i686' 'x86_64')
+groups=('lib-extra')
+up2date="Flastverdir $url/kits/"
+source=("$url/kits/$pkgver/$pkgname-$pkgver.tar.gz" query.py.patch)
+sha1sums=('41d00d0f81bc9aba02c5c62e1d4a8ee57810410e' \
+          '902ebeb60d541f51ef87aaef9fcd03ee8c0fd865')
+
+build() {
+    Fcd
+    Fpatchall
+    python3 setup.py install --root=$Fdestdir || Fdie
+}
diff --git a/source/lib-extra/dnspython/query.py.patch 
b/source/lib-extra/dnspython/query.py.patch
new file mode 100644
index 0000000..9b42f7a
--- /dev/null
+++ b/source/lib-extra/dnspython/query.py.patch
@@ -0,0 +1,11 @@
+--- dns/query.py.orig  2011-12-26 12:28:49.735723992 +0100
++++ dns/query.py       2011-12-26 13:13:18.744724236 +0100
+@@ -66,7 +66,7 @@
+     pollable.register(fd, event_mask)
+
+     if timeout:
+-        event_list = pollable.poll(long(timeout * 1000))
++        event_list = pollable.poll(int(timeout * 1000))
+     else:
+         event_list = pollable.poll()
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to