# ChangeLog for dev-python/mother
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 20 Jul 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
+ -mother-0.5.5.ebuild, +mother-0.6.4-r5.ebuild:
+ Version bump, add use flags and switch to new python ebuild syntax
+
19 Jun 2007; Ali Polatel (hawking) <polatel@gmail.com>
-mother-0.5.2.ebuild, +mother-0.5.5.ebuild:
version bump
-DIST mother-0.5.5.tgz 44826 RMD160 6500985416ab1241469e44c53c86524e495fa30d SHA1 ab67e457a06921494e66f07918b5f3377e0bf7c6 SHA256 1526e5f61a630b2136a214ccb6c597d47113a5694381a4ca17aa92b67b986608
-EBUILD mother-0.5.5.ebuild 515 RMD160 dbe03e98fdd7a6feaf5a8c76c6ebf63847bb941d SHA1 684fd0f01730623823db3056a470c7bdabe20099 SHA256 187c485b673847adbf61ec1b23184dbc6803532556f10c3ef2249644754ce680
-MISC ChangeLog 603 RMD160 c56241fd38e6fa7cd4e18eb5faf595c570efbaaa SHA1 e34f98dc74477560d707f07b303d6b5b1b9f4a8d SHA256 ff79fe547a393e9e317e90e5c7e1e155ab2d7219fb6f13aa417d66070af9c66d
+DIST mother-0.6.4-r5.tgz 91825 RMD160 d2444022fa2592d3aa6d0056a1252509831d6e91 SHA1 4e5a3cdd91c752115267d97a8d27c4a0057266fb SHA256 38f149cfc7d4c9aecd0baeb4ae6031007f6f43dbbff57eb3862d00e338438351
+EBUILD mother-0.6.4-r5.ebuild 802 RMD160 393677063c31fa1dfcb363e8a18b0370e3712ac9 SHA1 3708efbcafc6f1565f9bcce8e28b7b460e951a5b SHA256 9078c7053e624b2f74377e52e2275e0cbc34178d34873bcb890315efa1d40581
+MISC ChangeLog 789 RMD160 2ea2fede278b31953aa9200d3ec4874ac51e1ecb SHA1 690253b81d50427a477300583c799f958f2d757b SHA256 803a7e32263b2826458c581d20e71353f1a9c625825923cabcaba286bef829d0
MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f
+++ /dev/null
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-NEED_PYTHON="2.4"
-
-inherit distutils
-
-DESCRIPTION="A python PostgreSQL introspective ORM"
-HOMEPAGE="http://www.dbmother.org/"
-SRC_URI="http://www.dbmother.org/download/${P}.tgz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=dev-python/psycopg-2.0"
-
-DOCS="AUTHORS doc/*"
-
-src_install() {
- distutils_src_install
-
- insinto /usr/share/doc/${PF}/examples
- doins examples/*
-}
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+DESCRIPTION="An Object Relational Mapper with strong introspection"
+HOMEPAGE="http://www.dbmother.org/"
+SRC_URI="http://www.dbmother.org/download/${PF}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples +postgres sqlite"
+
+RDEPEND="
+ sqlite? ( dev-python/apsw )
+ postgres? ( >=dev-python/psycopg-2.0 )"
+DEPEND="${RDEPEND}"
+RESTRICT_PYTHON_ABIS="3.*"
+
+S=${WORKDIR}/${PF}
+
+src_install() {
+ distutils_src_install
+
+ doman doc/mothermapper.1 || die
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/* || die
+ fi
+
+ if use doc; then
+ dodoc doc/manual.* || die
+ fi
+}