summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2009-02-10 11:03:09 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2009-02-10 11:03:09 +0000
commitf957221196ecd98af90a20131aa0c271d67615ee (patch)
tree55f2cecd99c91b2c3bd415e8a08249ace40dbdc7 /dev-python/axiom
parentFix --as-needed bug #247443 (diff)
downloadhistorical-f957221196ecd98af90a20131aa0c271d67615ee.tar.gz
historical-f957221196ecd98af90a20131aa0c271d67615ee.tar.bz2
historical-f957221196ecd98af90a20131aa0c271d67615ee.zip
new version with some improvements
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'dev-python/axiom')
-rw-r--r--dev-python/axiom/ChangeLog10
-rw-r--r--dev-python/axiom/Manifest5
-rw-r--r--dev-python/axiom/axiom-0.5.30.ebuild58
-rw-r--r--dev-python/axiom/files/axiom-0.5.30-sqlite3.patch45
4 files changed, 116 insertions, 2 deletions
diff --git a/dev-python/axiom/ChangeLog b/dev-python/axiom/ChangeLog
index 6d1ce63e6fba..3b46900ee666 100644
--- a/dev-python/axiom/ChangeLog
+++ b/dev-python/axiom/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-python/axiom
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/axiom/ChangeLog,v 1.18 2009/01/09 19:47:25 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/axiom/ChangeLog,v 1.19 2009/02/10 11:03:08 lordvan Exp $
+
+*axiom-0.5.30 (10 Feb 2009)
+
+ 10 Feb 2009; Thomas Raschbacher <lordvan@gentoo.org>
+ +files/axiom-0.5.30-sqlite3.patch, +axiom-0.5.30.ebuild:
+ version bump, now deletes dropin.cache from twisted plugin dir and calls
+ twisted eclass functions so we update plugin cache again after (un)merge.
+ also using EAPI2 to now download new version from Project page
09 Jan 2009; Patrick Lauer <patrick@gentoo.org> ChangeLog:
Really remove old
diff --git a/dev-python/axiom/Manifest b/dev-python/axiom/Manifest
index 2c2db24e5790..d880ceb41637 100644
--- a/dev-python/axiom/Manifest
+++ b/dev-python/axiom/Manifest
@@ -1,6 +1,9 @@
AUX axiom-0.5.20-sqlite3.patch 1303 RMD160 d886aca7dc2bdb737e5d1580778cbc889d969102 SHA1 2a8149a95bc3b3e4856ee8482d0a87776868c7e2 SHA256 04a168a9df2f288a25b4989ddba35c8fd2823902bbe9f5987979f8c12c6188c5
AUX axiom-0.5.27-sqlite3.patch 1303 RMD160 d886aca7dc2bdb737e5d1580778cbc889d969102 SHA1 2a8149a95bc3b3e4856ee8482d0a87776868c7e2 SHA256 04a168a9df2f288a25b4989ddba35c8fd2823902bbe9f5987979f8c12c6188c5
+AUX axiom-0.5.30-sqlite3.patch 1303 RMD160 d886aca7dc2bdb737e5d1580778cbc889d969102 SHA1 2a8149a95bc3b3e4856ee8482d0a87776868c7e2 SHA256 04a168a9df2f288a25b4989ddba35c8fd2823902bbe9f5987979f8c12c6188c5
DIST Axiom-0.5.27.tar.gz 163648 RMD160 36478cd4e6035f987e6bf23a16525dbb535c7bc1 SHA1 6fc6d98abf82357a1be8e5e2f4fc161427793efa SHA256 19889cca81ea7e2cb5bf4f82d9e9e352e42fa2c8f54ff7305cc68376d5324dfc
+DIST Axiom-0.5.30.tar.gz 182535 RMD160 dcfca555760e8c88ade4bb05c616d02a1986bf77 SHA1 3d57da12d666201cff1ede7eae8f475decee5a25 SHA256 4a4217e70e01e11d357c2c2c23bc72d244a78fa40a401cca48cd5f0a619c7060
EBUILD axiom-0.5.27.ebuild 994 RMD160 a44458b39e2e36a2917473d39133db61b8b7f792 SHA1 661e2c7076a0c2615b5ca2c13fa86a197a9ce68b SHA256 274f20e6f5f8c5970776208913c6c56d2fd13d8ae7f72492d3a915dc37fae4f2
-MISC ChangeLog 2475 RMD160 b562110063f235eab8e6e874325ffd7161fed8f8 SHA1 7d481a566348668ae1d28319dd6c9eeb8af4ec3f SHA256 d40bbabc9125d5ded078f7444402f69ad12a6d7c538d33f675030f8c91242a2f
+EBUILD axiom-0.5.30.ebuild 1380 RMD160 8de31c3680bfe3f001596482e2417aef124c0d3d SHA1 797772e6073629da8fa598078c183d8d6f394847 SHA256 44de41a9d1c4cf4455d00c16b5c2507856e1c2ade473f0f30619631c296ad14f
+MISC ChangeLog 2835 RMD160 a6ee320279e4474ca5faaaef1ccc42464ef3eb93 SHA1 1692a60278245aed8eda3d673dbb2ba4459b962b SHA256 b70e3848de907ae52d717b12c45201bbd7a89d80a7befb2f64a65bc1a3636f61
MISC metadata.xml 593 RMD160 945c97c2065fa3f9286307b2178a97e0ad8bf43c SHA1 4371b5c6e8dbd31035225361cd83f1e365e5e632 SHA256 44a4c515aea049428c5a317bb4808fc2981474ad0b79c72f9b48cbeed4744045
diff --git a/dev-python/axiom/axiom-0.5.30.ebuild b/dev-python/axiom/axiom-0.5.30.ebuild
new file mode 100644
index 000000000000..e418885e8573
--- /dev/null
+++ b/dev-python/axiom/axiom-0.5.30.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/axiom/axiom-0.5.30.ebuild,v 1.1 2009/02/10 11:03:08 lordvan Exp $
+
+inherit twisted distutils eutils
+
+MY_P=Axiom-${PV}
+
+DESCRIPTION="Axiom is an object database implemented on top of SQLite."
+HOMEPAGE="http://divmod.org/trac/wiki/DivmodAxiom"
+SRC_URI="http://divmod.org/trac/attachment/wiki/SoftwareReleases/${MY_P}.tar.gz?format=raw -> ${MY_P}.tar.gz"
+#SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~ia64 ~ppc64 ~x86 ~amd64"
+IUSE=""
+EAPI="2"
+
+DEPEND="|| ( >=dev-lang/python-2.5[sqlite]
+ ( >=dev-lang/python-2.4 >=dev-python/pysqlite-2.0 ) )
+ >=dev-db/sqlite-3.2.1
+ >=dev-python/twisted-2.4
+ >=dev-python/twisted-conch-0.7.0-r1
+ =dev-python/epsilon-0.5*"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="NAME.txt"
+
+src_unpack() {
+ distutils_src_unpack
+ epatch "${FILESDIR}/${P}-sqlite3.patch"
+}
+
+src_compile() {
+ # skip this, or epsilon will install the temporary "build" dir
+ true
+}
+
+src_test() {
+ PYTHONPATH=. trial axiom || die "trial failed"
+}
+
+src_install() {
+ distutils_src_install
+ # remove stupid dropin.cache from destdir
+ rm "${D}usr/$(get_libdir)/python${PYVER}/site-packages/twisted/plugins/dropin.cache"
+}
+
+pkg_postrm() {
+ twisted_pkg_postrm
+}
+
+pkg_postinst() {
+ twisted_pkg_postinst
+}
diff --git a/dev-python/axiom/files/axiom-0.5.30-sqlite3.patch b/dev-python/axiom/files/axiom-0.5.30-sqlite3.patch
new file mode 100644
index 000000000000..8913a1e70d80
--- /dev/null
+++ b/dev-python/axiom/files/axiom-0.5.30-sqlite3.patch
@@ -0,0 +1,45 @@
+--- axiom/_pysqlite2.py 2006-07-05 18:31:18.000000000 +0300
++++ axiom/_pysqlite2.py 2007-11-02 05:10:45.000000000 +0200
+@@ -8,7 +8,11 @@
+ """
+ import time
+
+-from pysqlite2 import dbapi2
++# Use python2.5's sqlite3 if avaliable
++try:
++ from sqlite3 import dbapi2
++except:
++ from pysqlite2 import dbapi2
+
+ from twisted.python import log
+
+--- axiom/test/test_pysqlite2.py 2006-07-02 19:23:40.000000000 +0300
++++ axiom/test/test_pysqlite2.py 2007-11-02 05:39:44.000000000 +0200
+@@ -2,7 +2,11 @@
+ Test cases for PySQLite2-specific parts of the backend.
+ """
+
+-from pysqlite2.dbapi2 import OperationalError
++# Use python2.5's sqlite3 if avaliable
++try:
++ from sqlite3.dbapi2 import OperationalError
++except:
++ from pysqlite2.dbapi2 import OperationalError
+
+ from twisted.trial.unittest import TestCase
+
+--- axiom/test/test_xatop.py 2007-02-23 02:09:19.000000000 +0200
++++ axiom/test/test_xatop.py 2007-11-02 05:38:48.000000000 +0200
+@@ -9,7 +9,11 @@
+ from axiom import attributes, item, store, errors
+ from axiom.errors import ItemNotFound
+
+-from pysqlite2.dbapi2 import sqlite_version_info
++# Use python2.5's sqlite3 if avaliable
++try:
++ from sqlite3.dbapi2 import sqlite_version_info
++except:
++ from pysqlite2.dbapi2 import sqlite_version_info
+
+
+ class RevertException(Exception):