diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-01-19 11:52:19 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-01-19 11:52:19 +0000 |
commit | 71a86638bc57f7670bd80d64a6ec5324beab0bd5 (patch) | |
tree | 5cc9ca65ddd05314188a3b480178611dc74dee0d /dev-python/adodb-py | |
parent | Migrate slot 0 to python-r1. (diff) | |
download | gentoo-2-71a86638bc57f7670bd80d64a6ec5324beab0bd5.tar.gz gentoo-2-71a86638bc57f7670bd80d64a6ec5324beab0bd5.tar.bz2 gentoo-2-71a86638bc57f7670bd80d64a6ec5324beab0bd5.zip |
Migrate to distutils-r1.
(Portage version: 2.2.0_alpha155/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'dev-python/adodb-py')
-rw-r--r-- | dev-python/adodb-py/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/adodb-py/adodb-py-2.20-r1.ebuild | 36 |
2 files changed, 42 insertions, 1 deletions
diff --git a/dev-python/adodb-py/ChangeLog b/dev-python/adodb-py/ChangeLog index 7bf189b95420..879478c6af0e 100644 --- a/dev-python/adodb-py/ChangeLog +++ b/dev-python/adodb-py/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/adodb-py # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/adodb-py/ChangeLog,v 1.32 2013/01/17 16:11:04 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/adodb-py/ChangeLog,v 1.33 2013/01/19 11:52:19 mgorny Exp $ + +*adodb-py-2.20-r1 (19 Jan 2013) + + 19 Jan 2013; Michał Górny <mgorny@gentoo.org> +adodb-py-2.20-r1.ebuild: + Migrate to distutils-r1. 17 Jan 2013; Michał Górny <mgorny@gentoo.org> adodb-py-2.20.ebuild: Request built-in Python sqlite3 support rather than pysqlite package. diff --git a/dev-python/adodb-py/adodb-py-2.20-r1.ebuild b/dev-python/adodb-py/adodb-py-2.20-r1.ebuild new file mode 100644 index 000000000000..d881b3781063 --- /dev/null +++ b/dev-python/adodb-py/adodb-py-2.20-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/adodb-py/adodb-py-2.20-r1.ebuild,v 1.1 2013/01/19 11:52:19 mgorny Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_5,2_6,2_7} ) +PYTHON_USE_WITH='sqlite?' + +inherit distutils-r1 + +MY_P=${PN/-py/}-${PV//./} + +DESCRIPTION="Active Data Objects Data Base library for Python" +HOMEPAGE="http://adodb.sourceforge.net/" +SRC_URI="mirror://sourceforge/adodb/${MY_P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" +IUSE="mysql postgres sqlite" + +RDEPEND="postgres? ( dev-python/psycopg:0[${PYTHON_USEDEP}] ) + mysql? ( >=dev-python/mysql-python-0.9.2[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PN}_sandbox_violation.patch" +) + +python_install_all() { + local HTML_DOCS=( adodb-py-docs.htm *.gif ) + distutils-r1_python_install_all +} |