mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-01 11:11:08 +02:00
sslstrip: update to eapi
This commit is contained in:
parent
c2bede16f7
commit
82b2154cf2
1 changed files with 7 additions and 18 deletions
|
|
@ -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/
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue