Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/axiom: ChangeLog axiom-0.6.0.ebuild
Date: Mon, 30 Nov 2009 12:46:54
Message-Id: E1NF5eV-0003W2-L4@stork.gentoo.org
1 arfrever 09/11/30 12:46:51
2
3 Modified: ChangeLog
4 Added: axiom-0.6.0.ebuild
5 Log:
6 Version bump. Set SUPPORT_PYTHON_ABIS.
7 (Portage version: 14920-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.29 dev-python/axiom/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/axiom/ChangeLog?rev=1.29&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/axiom/ChangeLog?rev=1.29&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/axiom/ChangeLog?r1=1.28&r2=1.29
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/axiom/ChangeLog,v
19 retrieving revision 1.28
20 retrieving revision 1.29
21 diff -u -r1.28 -r1.29
22 --- ChangeLog 6 Sep 2009 23:00:11 -0000 1.28
23 +++ ChangeLog 30 Nov 2009 12:46:51 -0000 1.29
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/axiom
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/axiom/ChangeLog,v 1.28 2009/09/06 23:00:11 idl0r Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/axiom/ChangeLog,v 1.29 2009/11/30 12:46:51 arfrever Exp $
29 +
30 +*axiom-0.6.0 (30 Nov 2009)
31 +
32 + 30 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +axiom-0.6.0.ebuild:
34 + Version bump. Set SUPPORT_PYTHON_ABIS.
35
36 06 Sep 2009; Christian Ruppert <idl0r@g.o>
37 -files/axiom-0.5.20-sqlite3.patch, -files/axiom-0.5.27-sqlite3.patch:
38
39
40
41 1.1 dev-python/axiom/axiom-0.6.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/axiom/axiom-0.6.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/axiom/axiom-0.6.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: axiom-0.6.0.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/axiom/axiom-0.6.0.ebuild,v 1.1 2009/11/30 12:46:51 arfrever Exp $
51
52 EAPI="2"
53 SUPPORT_PYTHON_ABIS="1"
54
55 # setup.py uses epsilon.setuphelper.autosetup(), which tries to use
56 # build-${PYTHON_ABI} directories as packages.
57 DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
58
59 inherit distutils eutils twisted
60
61 MY_PN="Axiom"
62 MY_P="${MY_PN}-${PV}"
63
64 DESCRIPTION="Axiom is an object database implemented on top of SQLite."
65 HOMEPAGE="http://divmod.org/trac/wiki/DivmodAxiom http://pypi.python.org/pypi/Axiom"
66 SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
67
68 LICENSE="MIT"
69 SLOT="0"
70 KEYWORDS="~amd64 ~ia64 ~ppc64 ~x86"
71 IUSE=""
72
73 DEPEND="|| ( >=dev-lang/python-2.5[sqlite]
74 ( >=dev-lang/python-2.4 >=dev-python/pysqlite-2.0 ) )
75 >=dev-db/sqlite-3.2.1
76 >=dev-python/twisted-2.4
77 >=dev-python/twisted-conch-0.7.0-r1
78 >=dev-python/epsilon-0.6"
79 RDEPEND="${DEPEND}"
80 RESTRICT_PYTHON_ABIS="3.*"
81
82 S=${WORKDIR}/${MY_P}
83
84 DOCS="NAME.txt"
85
86 src_prepare() {
87 epatch "${FILESDIR}/${PN}-0.5.30-sqlite3.patch"
88 epatch "${FILESDIR}/${PN}-0.5.30-sqlite3_3.6.4.patch"
89 python_copy_sources
90 }
91
92 src_compile() {
93 # Skip distutils_src_compile to avoid installation of $(python_get_sitedir)/build directory.
94 :
95 }
96
97 src_test() {
98 testing() {
99 PYTHONPATH="." trial axiom
100 }
101 python_execute_function testing
102 }
103
104 src_install() {
105 PORTAGE_PLUGINCACHE_NOOP="1" distutils_src_install
106 }
107
108 update_axiom_plugin_cache() {
109 einfo "Updating axiom plugin cache..."
110 "$(PYTHON)" -c 'from twisted.plugin import IPlugin, getPlugIns;from axiom import plugins; list(getPlugIns(IPlugin, plugins))'
111 }
112
113 pkg_postrm() {
114 twisted_pkg_postrm
115 python_execute_function update_axiom_plugin_cache
116 }
117
118 pkg_postinst() {
119 twisted_pkg_postinst
120 python_execute_function update_axiom_plugin_cache
121 }