parent
5c9967251c
commit
bca678ff95
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_DEPEND="2:2.7"
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5 2.6 3.*"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate3/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="Qt gui console client for WSDL Calculate 3"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS=""
|
||||
|
||||
DEPEND="~sys-apps/calculate-core-3.1.1_alpha1
|
||||
dev-python/dbus-python
|
||||
dev-python/imaging
|
||||
dev-python/pyside[script]"
|
||||
RDEPEND="${DEPEND}"
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
cd "${S}"
|
||||
|
||||
# apply revision changes
|
||||
epatch "${FILESDIR}/calculate-console-gui-3.1.1_alpha1-r1.patch"
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
diff --git consolegui/application/MainFrameResult.py consolegui/application/MainFrameResult.py
|
||||
index 2a97aee..2ab8392 100755
|
||||
--- consolegui/application/MainFrameResult.py
|
||||
+++ consolegui/application/MainFrameResult.py
|
||||
@@ -784,14 +784,16 @@ class MessageDialog(QtGui.QWidget):
|
||||
if isPassword:
|
||||
self.pass_edit.setEchoMode(self.pass_edit.Password)
|
||||
if item.id == 2:
|
||||
- self.pass_edit2 = QtGui.QLineEdit(self)
|
||||
- self.pass_edit2.setEchoMode(self.pass_edit2.Password)
|
||||
+ if hasattr(self,'pass_edit2'):
|
||||
+ self.pass_edit2 = QtGui.QLineEdit(self)
|
||||
+ self.pass_edit2.setEchoMode(self.pass_edit2.Password)
|
||||
|
||||
self.layout.addWidget(LabelWordWrap(_('Repeat'), self), x, 0)
|
||||
self.layout.addWidget(self.pass_edit2, x, 1)
|
||||
x += 1
|
||||
self.pass_edit.textChanged.connect(self.check_passwd)
|
||||
- self.pass_edit2.textChanged.connect(self.check_passwd)
|
||||
+ if hasattr(self,'pass_edit2'):
|
||||
+ self.pass_edit2.textChanged.connect(self.check_passwd)
|
||||
|
||||
self.send_button = QtGui.QPushButton(_('Send'), self)
|
||||
self.send_button.setShortcut(QtGui.QKeySequence(QtCore.Qt.Key_Return))
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Calculate Utilities meta package"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS=""
|
||||
IUSE="cl_consolegui cl_client cl_desktop cl_console"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
=sys-apps/calculate-install-3.1.1_alpha1-r1
|
||||
=sys-apps/calculate-i18n-3.1.1_alpha1
|
||||
=sys-apps/calculate-lib-3.1.1_alpha1-r2
|
||||
=sys-apps/calculate-core-3.1.1_alpha1-r1
|
||||
=sys-apps/calculate-update-3.1.1_alpha1
|
||||
cl_client? ( =sys-apps/calculate-client-3.1.1_alpha1 )
|
||||
cl_desktop? ( =sys-apps/calculate-desktop-3.1.1_alpha1 )
|
||||
cl_consolegui? ( =sys-apps/calculate-console-gui-3.1.1_alpha1-r1 )
|
||||
cl_console? ( =sys-apps/calculate-console-3.1.1_alpha1 )
|
||||
"
|
Loading…
Reference in new issue