diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-31 16:57:46 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-31 16:57:46 +0000 |
commit | 0994426273506ad1f2b241c75b2cebfeee8791fe (patch) | |
tree | c01023cbbf2ddce237a9b3c3c0e0c19a39d3cc77 /net-analyzer | |
parent | Delete call to deprecated python_version(). (diff) | |
download | gentoo-2-0994426273506ad1f2b241c75b2cebfeee8791fe.tar.gz gentoo-2-0994426273506ad1f2b241c75b2cebfeee8791fe.tar.bz2 gentoo-2-0994426273506ad1f2b241c75b2cebfeee8791fe.zip |
Delete call to deprecated python_version().
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/scapy/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/scapy/scapy-1.1.1-r1.ebuild | 11 |
2 files changed, 11 insertions, 8 deletions
diff --git a/net-analyzer/scapy/ChangeLog b/net-analyzer/scapy/ChangeLog index 8ecbae33d96c..8e4a3e9a4750 100644 --- a/net-analyzer/scapy/ChangeLog +++ b/net-analyzer/scapy/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/scapy -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/scapy/ChangeLog,v 1.24 2009/12/22 02:17:49 ikelos Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/scapy/ChangeLog,v 1.25 2010/05/31 16:57:46 arfrever Exp $ + + 31 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + scapy-1.1.1-r1.ebuild: + Delete call to deprecated python_version(). *scapy-2.1.0 (22 Dec 2009) diff --git a/net-analyzer/scapy/scapy-1.1.1-r1.ebuild b/net-analyzer/scapy/scapy-1.1.1-r1.ebuild index 6e504d962919..48c8ec78627e 100644 --- a/net-analyzer/scapy/scapy-1.1.1-r1.ebuild +++ b/net-analyzer/scapy/scapy-1.1.1-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/scapy/scapy-1.1.1-r1.ebuild,v 1.4 2009/11/20 12:57:57 ikelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/scapy/scapy-1.1.1-r1.ebuild,v 1.5 2010/05/31 16:57:46 arfrever Exp $ inherit eutils python multilib @@ -35,8 +35,7 @@ src_install() { newexe scapy.py scapy # also install scapy as a importable python module - python_version - insinto /usr/$(get_libdir)/python${PYVER}/site-packages + insinto $(python_get_sitedir) doins scapy.py insinto /etc @@ -46,7 +45,7 @@ src_install() { } pkg_postinst() { - python_mod_optimize + python_mod_optimize $(python_get_sitedir)/scapy.py einfo "" einfo "- Check http://www.secdev.org/projects/scapy/ for additional info" @@ -59,5 +58,5 @@ pkg_postinst() { } pkg_postrm() { - python_mod_cleanup + python_mod_cleanup $(python_get_sitedir)/scapy.py } |