diff options
author | William Hubbs <williamh@gentoo.org> | 2014-12-29 22:13:04 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2014-12-29 22:13:04 +0000 |
commit | 6fd064be57ad0d0e8d35213fb6d3d2ca8f446dad (patch) | |
tree | e14f52feae7f212685504d011ed6a09f8a480cb3 /www-client | |
parent | Version bump for bug 528438 (diff) | |
download | gentoo-2-6fd064be57ad0d0e8d35213fb6d3d2ca8f446dad.tar.gz gentoo-2-6fd064be57ad0d0e8d35213fb6d3d2ca8f446dad.tar.bz2 gentoo-2-6fd064be57ad0d0e8d35213fb6d3d2ca8f446dad.zip |
remove old versions
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/pybugz/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/pybugz/files/pybugz-0.10.1-bugzilla-4.4.1.patch | 71 | ||||
-rw-r--r-- | www-client/pybugz/pybugz-0.10.1-r2.ebuild | 40 | ||||
-rw-r--r-- | www-client/pybugz/pybugz-0.10.1.ebuild | 47 | ||||
-rw-r--r-- | www-client/pybugz/pybugz-0.11.ebuild | 38 |
5 files changed, 6 insertions, 197 deletions
diff --git a/www-client/pybugz/ChangeLog b/www-client/pybugz/ChangeLog index 89913f1812aa..c1d59632ba59 100644 --- a/www-client/pybugz/ChangeLog +++ b/www-client/pybugz/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-client/pybugz # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/pybugz/ChangeLog,v 1.137 2014/12/14 20:56:13 zlogene Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/pybugz/ChangeLog,v 1.138 2014/12/29 22:13:04 williamh Exp $ + + 29 Dec 2014; William Hubbs <williamh@gentoo.org> + -files/pybugz-0.10.1-bugzilla-4.4.1.patch, -pybugz-0.10.1-r2.ebuild, + -pybugz-0.10.1.ebuild, -pybugz-0.11.ebuild: + remove old versions 14 Dec 2014; Mikle Kolyada <zlogene@gentoo.org> pybugz-0.11.1.ebuild: ppc/ppc64 stable wrt bug #531826 diff --git a/www-client/pybugz/files/pybugz-0.10.1-bugzilla-4.4.1.patch b/www-client/pybugz/files/pybugz-0.10.1-bugzilla-4.4.1.patch deleted file mode 100644 index 3d1ad0926681..000000000000 --- a/www-client/pybugz/files/pybugz-0.10.1-bugzilla-4.4.1.patch +++ /dev/null @@ -1,71 +0,0 @@ ---- a/bugz/cli.py -+++ b/bugz/cli.py -@@ -29,6 +29,7 @@ BUGZ: --------------------------------------------------- - """ - - DEFAULT_COOKIE_FILE = '.bugz_cookie' -+DEFAULT_TOKEN_FILE = '.bugz_token' - DEFAULT_NUM_COLS = 80 - - # -@@ -143,6 +144,12 @@ class PrettyBugz: - except IOError: - pass - -+ self.token_file = os.path.join(os.environ['HOME'], DEFAULT_TOKEN_FILE) -+ try: -+ self.token = open(self.token_file).read().strip() -+ except IOError: -+ self.token = None -+ - if getattr(args, 'encoding'): - self.enc = args.encoding - else: -@@ -170,16 +177,21 @@ class PrettyBugz: - def get_input(self, prompt): - return raw_input(prompt) - -+ def set_token(self, *args): -+ if args and self.token: -+ args[0]['Bugzilla_token'] = self.token -+ return args -+ - def bzcall(self, method, *args): - """Attempt to call method with args. Log in if authentication is required. - """ - try: -- return method(*args) -+ return method(*self.set_token(*args)) - except xmlrpclib.Fault, fault: - # Fault code 410 means login required - if fault.faultCode == 410 and not self.skip_auth: - self.login() -- return method(*args) -+ return method(*self.set_token(*args)) - raise - - def login(self, args=None): -@@ -207,11 +219,20 @@ class PrettyBugz: - if args is not None: - params['remember'] = True - self.log('Logging in') -- self.bz.User.login(params) -+ result = self.bz.User.login(params) -+ if 'token' in result: -+ self.token = result['token'] - - if args is not None: -- self.cookiejar.save() -- os.chmod(self.cookiejar.filename, 0600) -+ if self.token: -+ fd = open(self.token_file, 'w') -+ fd.write(self.token) -+ fd.write('\n') -+ fd.close() -+ os.chmod(self.token_file, 0600) -+ else: -+ self.cookiejar.save() -+ os.chmod(self.cookiejar.filename, 0600) - - def logout(self, args): - self.log('logging out') diff --git a/www-client/pybugz/pybugz-0.10.1-r2.ebuild b/www-client/pybugz/pybugz-0.10.1-r2.ebuild deleted file mode 100644 index 3eeb24b09564..000000000000 --- a/www-client/pybugz/pybugz-0.10.1-r2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/pybugz/pybugz-0.10.1-r2.ebuild,v 1.6 2014/08/13 17:34:47 armin76 Exp $ - -EAPI=5 -PYTHON_COMPAT=( python2_7 pypy pypy2_0 ) -PYTHON_REQ_USE="readline(+)" - -if [ "${PV}" = "9999" ]; then - EGIT_REPO_URI="git://github.com/williamh/pybugz.git - https://github.com/williamh/pybugz.git" - inherit git-r3 -else - SRC_URI="https://github.com/williamh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ~ppc64 sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" - inherit vcs-snapshot -fi - -inherit bash-completion-r1 distutils-r1 - -DESCRIPTION="Command line interface to (Gentoo) Bugzilla" -HOMEPAGE="http://www.github.com/williamh/pybugz" -LICENSE="GPL-2" -SLOT="0" -IUSE="zsh-completion" - -RDEPEND="${DEPEND} - zsh-completion? ( app-shells/zsh )" - -PATCHES=( "${FILESDIR}"/${P}-bugzilla-4.4.1.patch ) - -python_install_all() { - distutils-r1_python_install_all - newbashcomp contrib/bash-completion bugz - - if use zsh-completion ; then - insinto /usr/share/zsh/site-functions - newins contrib/zsh-completion _pybugz - fi -} diff --git a/www-client/pybugz/pybugz-0.10.1.ebuild b/www-client/pybugz/pybugz-0.10.1.ebuild deleted file mode 100644 index c5e5b773c43c..000000000000 --- a/www-client/pybugz/pybugz-0.10.1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/pybugz/pybugz-0.10.1.ebuild,v 1.10 2012/10/28 00:10:29 ryao Exp $ - -EAPI=3 -PYTHON_DEPEND="2:2.7" -PYTHON_MODNAME="bugz" -PYTHON_USE_WITH="readline" - -if [ "${PV}" = "9999" ]; then - EGIT_REPO_URI="git://github.com/williamh/pybugz.git" - vcs=git-2 -else - SRC_URI="http://www.github.com/williamh/${PN}/tarball/${PV} -> ${P}.tar.gz" - KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" - GITHUB_COMMIT=74a57cb - S="${WORKDIR}/williamh-pybugz-${GITHUB_COMMIT}" -fi - -inherit $vcs bash-completion-r1 distutils - -DESCRIPTION="Command line interface to (Gentoo) Bugzilla" -HOMEPAGE="http://www.github.com/williamh/pybugz" -LICENSE="GPL-2" -SLOT="0" -IUSE="zsh-completion" - -RDEPEND="${DEPEND} - zsh-completion? ( app-shells/zsh )" - -DOCS="bugzrc.example" - -pkg_setup() { - python_set_active_version 2.7 -} - -src_install() { - distutils_src_install - - doman man/bugz.1 - newbashcomp contrib/bash-completion bugz - - if use zsh-completion ; then - insinto /usr/share/zsh/site-functions - newins contrib/zsh-completion _pybugz - fi -} diff --git a/www-client/pybugz/pybugz-0.11.ebuild b/www-client/pybugz/pybugz-0.11.ebuild deleted file mode 100644 index 5cb86846b4d5..000000000000 --- a/www-client/pybugz/pybugz-0.11.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/pybugz/pybugz-0.11.ebuild,v 1.3 2014/12/02 20:50:38 maekke Exp $ - -EAPI=5 -PYTHON_COMPAT=( python3_3 python3_4 ) -PYTHON_REQ_USE="readline(+)" - -if [ "${PV}" = "9999" ]; then - EGIT_REPO_URI="git://github.com/williamh/pybugz.git - https://github.com/williamh/pybugz.git" - inherit git-r3 -else - SRC_URI="https://github.com/williamh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" - inherit vcs-snapshot -fi - -inherit bash-completion-r1 distutils-r1 - -DESCRIPTION="Command line interface to (Gentoo) Bugzilla" -HOMEPAGE="http://www.github.com/williamh/pybugz" -LICENSE="GPL-2" -SLOT="0" -IUSE="zsh-completion" - -RDEPEND="${DEPEND} - zsh-completion? ( app-shells/zsh )" - -python_install_all() { - distutils-r1_python_install_all - newbashcomp contrib/bash-completion bugz - - if use zsh-completion ; then - insinto /usr/share/zsh/site-functions - newins contrib/zsh-completion _pybugz - fi -} |