[dev-python/python-bugzilla] copy from Portage, fix dependency

Gentoo bug 528662.
This commit is contained in:
Sławomir Nizio
2014-11-08 17:03:58 +01:00
parent a8f74dc704
commit 765ba212b2
3 changed files with 35 additions and 0 deletions
@@ -0,0 +1,26 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-bugzilla/python-bugzilla-1.1.0.ebuild,v 1.1 2014/11/01 03:31:25 dilfridge Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} python3_4 )
inherit distutils-r1
DESCRIPTION="A python module for interacting with Bugzilla over XMLRPC"
HOMEPAGE="https://fedorahosted.org/python-bugzilla/"
SRC_URI="https://fedorahosted.org/releases/p/y/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
RDEPEND=""
# not sure about the dev-python/python-magic dependency
# but this is what is currently in Portage (#528662)
DEPEND="${RDEPEND}
|| ( sys-apps/file[python] dev-python/python-magic )
dev-python/requests
"