[dev-python/python-bugzilla] remove, now in Portage

This commit is contained in:
Sławomir Nizio
2014-11-08 16:34:25 +01:00
parent 18131f997f
commit a8f74dc704
4 changed files with 0 additions and 90 deletions
-1
View File
@@ -1 +0,0 @@
DIST python-bugzilla-0.7.0.tar.gz 51451 SHA256 f3fa9ee7fed635f190e23c74e45f22926b84f0310c8e81e2719db4c6732bd99e SHA512 7b58d5076d28835bfa2f8a9732f136831fd6c76b69e519a51293c304013bdcbfcd9a9713b903b1a82fe04595fd6db4f419b6b3e26b449d0cf3b80850dc9913bd WHIRLPOOL 2f40fae0cec31a83a2e217be86ffa5c40ce916d5259faa18ed761bf6c5fea4da5da775fcce8bc0a0a2fe50e418b102c1f7a179b096745b47135718740d12edb3
-3
View File
@@ -1,3 +0,0 @@
2010-01-03
Ian Whyman <ian.whyman@sabayon.org>
Some might find this useful.
@@ -1,49 +0,0 @@
Changes from these upstream commits:
* Fix typo in default imports, Björn Wingman
* rhbugzilla: Fix passing in multicall argument, Cole Robinson
* When logging Bug() info, sort the keys for easy reading, Cole Robinson
diff --git a/bugzilla/__init__.py b/bugzilla/__init__.py
index 941ea21..1c9f3f5 100644
--- a/bugzilla/__init__.py
+++ b/bugzilla/__init__.py
@@ -9,7 +9,7 @@
# option) any later version. See http://www.gnu.org/copyleft/gpl.html for
# the full text of the license.
-from bugzilla3 import Bugzilla3, Bugzilla32, Bugzilla34, Bugzilla3
+from bugzilla3 import Bugzilla3, Bugzilla32, Bugzilla34, Bugzilla36
from bugzilla4 import Bugzilla4
from rhbugzilla import RHBugzilla, RHBugzilla3, RHBugzilla4
from nvlbugzilla import NovellBugzilla
diff --git a/bugzilla/base.py b/bugzilla/base.py
index 7748e2b..fc9e692 100644
--- a/bugzilla/base.py
+++ b/bugzilla/base.py
@@ -1173,7 +1173,7 @@ class _Bug(object):
self.bugzilla = bugzilla
self.autorefresh = True
if 'dict' in kwargs and kwargs['dict']:
- log.debug("Bug(%s)" % kwargs['dict'].keys())
+ log.debug("Bug(%s)" % sorted(kwargs['dict'].keys()))
self.__dict__.update(kwargs['dict'])
if 'bug_id' in kwargs:
log.debug("Bug(%i)" % kwargs['bug_id'])
diff --git a/bugzilla/rhbugzilla.py b/bugzilla/rhbugzilla.py
index 4233d32..b3ec9de 100644
--- a/bugzilla/rhbugzilla.py
+++ b/bugzilla/rhbugzilla.py
@@ -42,9 +42,12 @@ class RHBugzilla(Bugzilla4):
user_agent = bugzilla.base.user_agent + ' RHBugzilla4/%s' % version
def __init__(self, **kwargs):
+ self.multicall = True
+ if "multicall" in kwargs:
+ self.multicall = kwargs.pop("multicall")
+
Bugzilla4.__init__(self, **kwargs)
self.user_agent = self.__class__.user_agent
- self.multicall = kwargs.get('multicall',True)
#---- Methods and properties with basic bugzilla info
@@ -1,37 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
PYTHON_DEPEND="2"
inherit distutils eutils
MY_P=${P%_*}
DESCRIPTION="A Python library for Bugzilla"
HOMEPAGE="https://fedorahosted.org/python-bugzilla/"
SRC_URI="https://fedorahosted.org/releases/p/y/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
S=${WORKDIR}/${MY_P}
PYTHON_MODNAME="bugzilla"
src_prepare() {
epatch "${FILESDIR}"/${MY_P}-82c2c.patch
distutils_src_prepare
}
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
pkg_postinst() {
distutils_pkg_postinst
elog "Automatic detection of file type of attachments"
elog "requires sys-apps/file compiled with USE=python."
}