summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-07-25 17:12:17 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-07-25 17:12:17 +0000
commite4b235b59c35dc2c84bf14f0ddad5ccd12f6aaef (patch)
tree925eb2dfd71d0ffb836216d0e16f08a7fdd52f29 /sci-libs/gdal
parentdrop to ~x86 to match dev-games/crystalspace (diff)
downloadgentoo-2-e4b235b59c35dc2c84bf14f0ddad5ccd12f6aaef.tar.gz
gentoo-2-e4b235b59c35dc2c84bf14f0ddad5ccd12f6aaef.tar.bz2
gentoo-2-e4b235b59c35dc2c84bf14f0ddad5ccd12f6aaef.zip
Shutup python warning. Fixes bug #376295.
(Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/gdal')
-rw-r--r--sci-libs/gdal/ChangeLog5
-rw-r--r--sci-libs/gdal/gdal-1.8.1.ebuild7
2 files changed, 7 insertions, 5 deletions
diff --git a/sci-libs/gdal/ChangeLog b/sci-libs/gdal/ChangeLog
index 93492512eeda..45c848cdca11 100644
--- a/sci-libs/gdal/ChangeLog
+++ b/sci-libs/gdal/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/gdal
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/ChangeLog,v 1.116 2011/07/22 22:55:24 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/ChangeLog,v 1.117 2011/07/25 17:12:17 scarabeus Exp $
+
+ 25 Jul 2011; Tomáš Chvátal <scarabeus@gentoo.org> gdal-1.8.1.ebuild:
+ Shutup python warning. Fixes bug #376295.
*gdal-1.8.1 (22 Jul 2011)
diff --git a/sci-libs/gdal/gdal-1.8.1.ebuild b/sci-libs/gdal/gdal-1.8.1.ebuild
index 54e273ac470b..f591e4e75469 100644
--- a/sci-libs/gdal/gdal-1.8.1.ebuild
+++ b/sci-libs/gdal/gdal-1.8.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.8.1.ebuild,v 1.1 2011/07/22 22:55:24 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.8.1.ebuild,v 1.2 2011/07/25 17:12:17 scarabeus Exp $
EAPI=2
@@ -249,9 +249,8 @@ src_install() {
pkg_postinst() {
if use python; then
- python_need_rebuild
- python_mod_optimize $(python_get_sitedir)/${PN}.py \
- $(python_get_sitedir)/ogr.py
+ python_need_rebuild
+ python_mod_optimize ${PN}.py ogr.py
fi
echo
elog "Check available image and data formats after building with"