From 1d6ac750bd57772463f7629b6adb26fe43c3911e Mon Sep 17 00:00:00 2001 From: Foster McLane Date: Sun, 21 Jan 2018 13:56:20 -0500 Subject: [PATCH] python-ntlm: fix description, use flags, and dependencies --- ...-1.1.0.ebuild => python-ntlm-1.1.0-r1.ebuild} | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) rename dev-python/python-ntlm/{python-ntlm-1.1.0.ebuild => python-ntlm-1.1.0-r1.ebuild} (65%) diff --git a/dev-python/python-ntlm/python-ntlm-1.1.0.ebuild b/dev-python/python-ntlm/python-ntlm-1.1.0-r1.ebuild similarity index 65% rename from dev-python/python-ntlm/python-ntlm-1.1.0.ebuild rename to dev-python/python-ntlm/python-ntlm-1.1.0-r1.ebuild index 6202a6195..bddd32783 100644 --- a/dev-python/python-ntlm/python-ntlm-1.1.0.ebuild +++ b/dev-python/python-ntlm/python-ntlm-1.1.0-r1.ebuild @@ -1,29 +1,27 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ -EAPI=5 +EAPI=6 PYTHON_COMPAT=( python{2_6,2_7} ) inherit distutils-r1 -DESCRIPTION="Clamd is a python interface to Clamd (Clamav daemon)" +DESCRIPTION="Python library for NTLM support" HOMEPAGE="https://github.com/mullender/python-ntlm" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="example" +IUSE="examples" -RDEPEND="" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="" +RDEPEND="${DEPEND}" src_install() { python_foreach_impl distutils-r1_python_install || die - if ! use example ; then + if ! use examples ; then rm -r "${D}"/usr/bin/ || die rm -r "${D}"/usr/lib/python-exec || die fi