From: Arfrever Frehtes Taifersar Arahesis Date: Wed, 16 Jun 2010 01:43:15 +0000 (+0000) Subject: Delete call to deprecated python_version(). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=527d6eb06d15aeb87d1593970c2c627e58eb51c3;p=gentoo.git Delete call to deprecated python_version(). Package-Manager: portage-HEAD/cvs/Linux x86_64 --- diff --git a/dev-python/cgal-python/ChangeLog b/dev-python/cgal-python/ChangeLog index 33277f8473e1..98cc7fb7a52f 100644 --- a/dev-python/cgal-python/ChangeLog +++ b/dev-python/cgal-python/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/cgal-python # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cgal-python/ChangeLog,v 1.4 2010/02/26 22:12:23 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/cgal-python/ChangeLog,v 1.5 2010/06/16 01:43:15 arfrever Exp $ + + 16 Jun 2010; Arfrever Frehtes Taifersar Arahesis + cgal-python-0.9.4_beta1.ebuild: + Delete call to deprecated python_version(). 26 Feb 2010; Samuli Suominen cgal-python-0.9.4_beta1.ebuild: diff --git a/dev-python/cgal-python/cgal-python-0.9.4_beta1.ebuild b/dev-python/cgal-python/cgal-python-0.9.4_beta1.ebuild index 343b7203d03a..583d5adb7871 100644 --- a/dev-python/cgal-python/cgal-python-0.9.4_beta1.ebuild +++ b/dev-python/cgal-python/cgal-python-0.9.4_beta1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cgal-python/cgal-python-0.9.4_beta1.ebuild,v 1.3 2010/02/26 22:12:23 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/cgal-python/cgal-python-0.9.4_beta1.ebuild,v 1.4 2010/06/16 01:43:15 arfrever Exp $ EAPI=2 inherit eutils flag-o-matic toolchain-funcs python @@ -30,9 +30,8 @@ src_prepare() { bindings/makefile.inc || die fi - python_version sed -i \ - -e "s:-I../.. -O2:-I/usr/include/python${PYVER} -I../..:g" \ + -e "s:-I../.. -O2:-I$(python_get_includedir) -I../..:g" \ bindings/makefile.inc || die for i in $(find bindings -name Makefile); do sed -i -e "s:@g++:@$(tc-getCXX):g" ${i} || die @@ -51,7 +50,7 @@ src_test() { src_install(){ python_need_rebuild emake package || die - insinto "$(${python} -c 'from distutils.sysconfig import get_python_lib;print get_python_lib()')" + insinto $(python_get_sitedir) doins -r cgal_package/CGAL || die dodoc README.txt CHANGES if use examples; then