diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-05-03 17:42:31 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-05-03 17:42:31 +0000 |
commit | dde07d778da20c266662e16a68c161db9a50aa3b (patch) | |
tree | e402a9e7e993d667d3cd5a1809236e5f98b00350 /dev-python | |
parent | media-libs/id3lib: Fix obsolete macros to work with automake-1.13, #467704; b... (diff) | |
download | gentoo-2-dde07d778da20c266662e16a68c161db9a50aa3b.tar.gz gentoo-2-dde07d778da20c266662e16a68c161db9a50aa3b.tar.bz2 gentoo-2-dde07d778da20c266662e16a68c161db9a50aa3b.zip |
Copy the egg-info with the new package name to the original name for backward compat.
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/mimeparse/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild (renamed from dev-python/mimeparse/mimeparse-0.1.4.ebuild) | 17 |
2 files changed, 24 insertions, 2 deletions
diff --git a/dev-python/mimeparse/ChangeLog b/dev-python/mimeparse/ChangeLog index c48ab75f3a54..1a18886e2d14 100644 --- a/dev-python/mimeparse/ChangeLog +++ b/dev-python/mimeparse/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-python/mimeparse # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mimeparse/ChangeLog,v 1.8 2013/05/03 01:08:58 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mimeparse/ChangeLog,v 1.9 2013/05/03 17:42:31 floppym Exp $ + +*mimeparse-0.1.4-r1 (03 May 2013) + + 03 May 2013; Mike Gilbert <floppym@gentoo.org> +mimeparse-0.1.4-r1.ebuild, + -mimeparse-0.1.4.ebuild: + Copy the egg-info with the new package name to the original name for backward + compat. 03 May 2013; Mike Gilbert <floppym@gentoo.org> mimeparse-0.1.3-r1.ebuild, mimeparse-0.1.4.ebuild: diff --git a/dev-python/mimeparse/mimeparse-0.1.4.ebuild b/dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild index ebc6ce6d0cee..2d6fc773bb02 100644 --- a/dev-python/mimeparse/mimeparse-0.1.4.ebuild +++ b/dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mimeparse/mimeparse-0.1.4.ebuild,v 1.2 2013/05/03 01:08:58 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild,v 1.1 2013/05/03 17:42:31 floppym Exp $ EAPI=5 PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} ) @@ -24,3 +24,18 @@ S="${WORKDIR}/${MY_P}" python_test() { "${PYTHON}" mimeparse_test.py || die "Tests fail with ${EPYTHON}" } + +python_install() { + distutils-r1_python_install + + if [[ ${EPYTHON} == pypy* ]]; then + local pyver=2.7 + else + local pyver=${EPYTHON#python} + fi + python_export PYTHON_SITEDIR + + # Previous versions were just called 'mimeparse' + cp "${D%/}${PYTHON_SITEDIR}/python_mimeparse-${PV}-py${pyver}.egg-info" \ + "${D%/}${PYTHON_SITEDIR}/mimeparse-${PV}-py${pyver}.egg-info" || die +} |