diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-21 18:13:42 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-21 18:13:42 +0000 |
commit | ddf7cd4f48a44b6ab987afc11acdb6c6c9ea577c (patch) | |
tree | b94dfe6702caa98ebf70d331f51d8517cda6dbc8 /dev-python/imdbpy | |
parent | Delete older ebuild. (diff) | |
download | gentoo-2-ddf7cd4f48a44b6ab987afc11acdb6c6c9ea577c.tar.gz gentoo-2-ddf7cd4f48a44b6ab987afc11acdb6c6c9ea577c.tar.bz2 gentoo-2-ddf7cd4f48a44b6ab987afc11acdb6c6c9ea577c.zip |
Version bump.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/imdbpy')
-rw-r--r-- | dev-python/imdbpy/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/imdbpy/files/imdbpy-4.6-data_location.patch | 11 | ||||
-rw-r--r-- | dev-python/imdbpy/imdbpy-4.6.ebuild | 39 |
3 files changed, 57 insertions, 1 deletions
diff --git a/dev-python/imdbpy/ChangeLog b/dev-python/imdbpy/ChangeLog index cb5049f450c0..54f36e7c9187 100644 --- a/dev-python/imdbpy/ChangeLog +++ b/dev-python/imdbpy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/imdbpy # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/imdbpy/ChangeLog,v 1.4 2010/06/07 10:39:44 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/imdbpy/ChangeLog,v 1.5 2010/06/21 18:13:42 arfrever Exp $ + +*imdbpy-4.6 (21 Jun 2010) + + 21 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +imdbpy-4.6.ebuild, +files/imdbpy-4.6-data_location.patch: + Version bump. 07 Jun 2010; Dirkjan Ochtman <djc@gentoo.org> +files/4.5.1-no-docs.patch, imdbpy-4.5.1.ebuild: diff --git a/dev-python/imdbpy/files/imdbpy-4.6-data_location.patch b/dev-python/imdbpy/files/imdbpy-4.6-data_location.patch new file mode 100644 index 000000000000..90dc467170eb --- /dev/null +++ b/dev-python/imdbpy/files/imdbpy-4.6-data_location.patch @@ -0,0 +1,11 @@ +--- setup.py ++++ setup.py +@@ -70,7 +70,7 @@ + + # XXX: I'm not sure that 'etc' is a good idea. Making it an absolute + # path seems a recipe for a disaster (with bdist_egg, at least). +-data_files = [('doc', setuptools.findall('docs')), ('etc', ['docs/imdbpy.cfg'])] ++data_files = [('/etc', ['docs/imdbpy.cfg'])] + + + # Defining these 'features', it's possible to run commands like: diff --git a/dev-python/imdbpy/imdbpy-4.6.ebuild b/dev-python/imdbpy/imdbpy-4.6.ebuild new file mode 100644 index 000000000000..6911aabb6e09 --- /dev/null +++ b/dev-python/imdbpy/imdbpy-4.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/imdbpy/imdbpy-4.6.ebuild,v 1.1 2010/06/21 18:13:42 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils eutils + +MY_PN="IMDbPY" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python package to access the IMDb movie database" +HOMEPAGE="http://imdbpy.sourceforge.net/ http://pypi.python.org/pypi/IMDbPY" +SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="dev-python/setuptools" +RDEPEND="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +PYTHON_MODNAME="imdb" + +src_prepare() { + distutils_src_prepare + epatch "${FILESDIR}/${P}-data_location.patch" +} + +src_install() { + distutils_src_install + dodoc docs/* +} |