mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 16:33:09 +01:00
29 lines
642 B
Bash
29 lines
642 B
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=5
|
|
|
|
PYTHON_COMPAT=( python{2_6,2_7} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Clamd is a python interface to Clamd (Clamav daemon)"
|
|
HOMEPAGE="http://code.google.com/p/python-ntlm/"
|
|
SRC_URI="mirror://pypi/$(echo ${PN} | cut -c 1)/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="LGPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="example"
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_install() {
|
|
python_foreach_impl distutils-r1_python_install || die
|
|
if ! use example ; then
|
|
rm -r "${D}"/usr/bin/ || die
|
|
rm -r "${D}"/usr/lib/python-exec || die
|
|
fi
|
|
}
|