sslstrip: update to eapi

This commit is contained in:
Rick Farina (Zero_Chaos) 2017-02-03 15:14:18 -05:00
parent c2bede16f7
commit 82b2154cf2
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A

View file

@ -1,10 +1,11 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
EAPI=6
inherit python distutils
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="sslstrip remove https and forwards http"
HOMEPAGE="http://www.thoughtcrime.org/software/sslstrip/"
@ -15,13 +16,9 @@ SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND=">=dev-lang/python-2.5
>=dev-python/twisted-web-8.1.0"
src_compile() {
einfo "Nothing to compile"
}
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
>=dev-python/twisted-web-8.1.0[${PYTHON_USEDEP}]"
src_install() {
dodir /usr/lib/"${PN}"
@ -33,11 +30,3 @@ src_install() {
newsbin "${FILESDIR}"/sslstrip-r1 sslstrip
dodoc README
}
pkg_postinst() {
python_mod_optimize /usr/lib/sslstrip/sslstrip/
}
pkg_postrm() {
python_mod_cleanup /usr/lib/sslstrip/sslstrip/
}