diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-25 19:07:08 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-25 19:07:08 +0000 |
commit | 7700467896690776d96c711ec95a116849adfb47 (patch) | |
tree | fe009083eccdfedab5fcdb6724fc506a0800ed5e /dev-python/sepolgen | |
parent | Version bump (diff) | |
download | gentoo-2-7700467896690776d96c711ec95a116849adfb47.tar.gz gentoo-2-7700467896690776d96c711ec95a116849adfb47.tar.bz2 gentoo-2-7700467896690776d96c711ec95a116849adfb47.zip |
Fix deprecation warnings.
(Portage version: 2.2.0_alpha30_p2/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/sepolgen')
-rw-r--r-- | dev-python/sepolgen/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/sepolgen/sepolgen-1.0.13.ebuild | 8 | ||||
-rw-r--r-- | dev-python/sepolgen/sepolgen-1.0.17-r1.ebuild | 12 | ||||
-rw-r--r-- | dev-python/sepolgen/sepolgen-1.0.17.ebuild | 8 |
4 files changed, 21 insertions, 13 deletions
diff --git a/dev-python/sepolgen/ChangeLog b/dev-python/sepolgen/ChangeLog index 0bd79e08531e..6edb38e1fb04 100644 --- a/dev-python/sepolgen/ChangeLog +++ b/dev-python/sepolgen/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/sepolgen # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.9 2011/02/13 19:36:38 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.10 2011/04/25 19:07:08 arfrever Exp $ + + 25 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + sepolgen-1.0.13.ebuild, sepolgen-1.0.17.ebuild, sepolgen-1.0.17-r1.ebuild: + Fix deprecation warnings. 13 Feb 2011; Anthony G. Basile <blueness@gentoo.org> metadata.xml: Updated metadata.xml to reflect new selinux herd. diff --git a/dev-python/sepolgen/sepolgen-1.0.13.ebuild b/dev-python/sepolgen/sepolgen-1.0.13.ebuild index 0deed38ff1f0..5c80fee14c4b 100644 --- a/dev-python/sepolgen/sepolgen-1.0.13.ebuild +++ b/dev-python/sepolgen/sepolgen-1.0.13.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.0.13.ebuild,v 1.5 2011/02/08 17:17:56 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.0.13.ebuild,v 1.6 2011/04/25 19:07:08 arfrever Exp $ + +EAPI="3" inherit python @@ -28,9 +30,9 @@ src_install() { } pkg_postinst() { - python_mod_optimize $(python_get_sitedir)/sepolgen + python_mod_optimize sepolgen } pkg_postrm() { - python_mod_cleanup $(python_get_sitedir)/sepolgen + python_mod_cleanup sepolgen } diff --git a/dev-python/sepolgen/sepolgen-1.0.17-r1.ebuild b/dev-python/sepolgen/sepolgen-1.0.17-r1.ebuild index 8e7954d44ea4..1bb52f7b4081 100644 --- a/dev-python/sepolgen/sepolgen-1.0.17-r1.ebuild +++ b/dev-python/sepolgen/sepolgen-1.0.17-r1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.0.17-r1.ebuild,v 1.3 2011/02/08 17:17:56 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.0.17-r1.ebuild,v 1.4 2011/04/25 19:07:08 arfrever Exp $ + +EAPI="3" inherit python @@ -17,9 +19,7 @@ DEPEND="" RDEPEND=">=dev-lang/python-2.5 >=sys-libs/libselinux-2.0" -src_unpack() { - unpack ${A} - +src_prepare() { # fix up default paths to not be RH specific sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict:' \ "${S}/src/sepolgen/defaults.py" || die @@ -46,9 +46,9 @@ src_install() { } pkg_postinst() { - python_mod_optimize $(python_get_sitedir)/sepolgen + python_mod_optimize sepolgen } pkg_postrm() { - python_mod_cleanup $(python_get_sitedir)/sepolgen + python_mod_cleanup sepolgen } diff --git a/dev-python/sepolgen/sepolgen-1.0.17.ebuild b/dev-python/sepolgen/sepolgen-1.0.17.ebuild index 6b817518cf34..7123893b9829 100644 --- a/dev-python/sepolgen/sepolgen-1.0.17.ebuild +++ b/dev-python/sepolgen/sepolgen-1.0.17.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.0.17.ebuild,v 1.4 2011/02/08 17:17:56 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.0.17.ebuild,v 1.5 2011/04/25 19:07:08 arfrever Exp $ + +EAPI="3" inherit python @@ -28,9 +30,9 @@ src_install() { } pkg_postinst() { - python_mod_optimize $(python_get_sitedir)/sepolgen + python_mod_optimize sepolgen } pkg_postrm() { - python_mod_cleanup $(python_get_sitedir)/sepolgen + python_mod_cleanup sepolgen } |