diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2005-02-22 18:08:37 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2005-02-22 18:08:37 +0000 |
commit | 953b9928e901245bf5240c084da785ed53547122 (patch) | |
tree | f540f3025c392e608e03d00dbf350ec3a851819a /dev-util/kodos | |
parent | stable, #82753 (diff) | |
download | gentoo-2-953b9928e901245bf5240c084da785ed53547122.tar.gz gentoo-2-953b9928e901245bf5240c084da785ed53547122.tar.bz2 gentoo-2-953b9928e901245bf5240c084da785ed53547122.zip |
PyQt 3.14 compatibility fix
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-util/kodos')
-rw-r--r-- | dev-util/kodos/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/kodos/Manifest | 9 | ||||
-rw-r--r-- | dev-util/kodos/files/digest-kodos-2.4.5-r1 | 1 | ||||
-rw-r--r-- | dev-util/kodos/files/kodos-2.4.5-sizetype.patch | 132 | ||||
-rw-r--r-- | dev-util/kodos/kodos-2.4.2.ebuild | 4 | ||||
-rw-r--r-- | dev-util/kodos/kodos-2.4.5-r1.ebuild | 29 | ||||
-rw-r--r-- | dev-util/kodos/kodos-2.4.5.ebuild | 4 |
7 files changed, 180 insertions, 9 deletions
diff --git a/dev-util/kodos/ChangeLog b/dev-util/kodos/ChangeLog index ec6032c73c17..cc00607ed11e 100644 --- a/dev-util/kodos/ChangeLog +++ b/dev-util/kodos/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/kodos -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/kodos/ChangeLog,v 1.7 2004/12/08 01:29:54 weeve Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/kodos/ChangeLog,v 1.8 2005/02/22 18:08:37 carlo Exp $ + +*kodos-2.4.5-r1 (22 Feb 2005) + + 22 Feb 2005; Carsten Lohrke <carlo@gentoo.org> + +files/kodos-2.4.5-sizetype.patch, +kodos-2.4.5-r1.ebuild: + PyQt 3.14 compatibility fix 07 Dec 2004; Jason Wever <weeve@gentoo.org> kodos-2.4.5.ebuild: Stable on sparc. diff --git a/dev-util/kodos/Manifest b/dev-util/kodos/Manifest index 79552cbb505f..2a1886e34661 100644 --- a/dev-util/kodos/Manifest +++ b/dev-util/kodos/Manifest @@ -1,6 +1,9 @@ -MD5 479ba1d4deff8b167665247a952638e2 ChangeLog 802 -MD5 5fdfb110d3b7ffe13cac1e798d0e97d3 kodos-2.4.2.ebuild 604 +MD5 1d36c1c9c3d940737123d9f69689eb70 kodos-2.4.2.ebuild 604 +MD5 733e1ff50e3089c485c3d46b00075fe7 kodos-2.4.5.ebuild 603 +MD5 3d456102777e1850eabe606de850103c ChangeLog 974 +MD5 2a004c9269ca5fafe6bfc017b9bc1437 kodos-2.4.5-r1.ebuild 599 MD5 56ad59727dbcdbf30e7ed8282d3913e5 metadata.xml 175 -MD5 ff4cd5f2d479b33c9a1b26db234bc2d0 kodos-2.4.5.ebuild 603 +MD5 13db8ce8c0df0dd70628eb170f0a98c8 files/kodos-2.4.5-sizetype.patch 7946 MD5 14e76de2edc7c14471f28e979f2f814d files/digest-kodos-2.4.2 63 MD5 1ae40e8bbeba73ecaf0872cd909f0338 files/digest-kodos-2.4.5 63 +MD5 1ae40e8bbeba73ecaf0872cd909f0338 files/digest-kodos-2.4.5-r1 63 diff --git a/dev-util/kodos/files/digest-kodos-2.4.5-r1 b/dev-util/kodos/files/digest-kodos-2.4.5-r1 new file mode 100644 index 000000000000..5f83abf1885a --- /dev/null +++ b/dev-util/kodos/files/digest-kodos-2.4.5-r1 @@ -0,0 +1 @@ +MD5 88cd0bd510812aa74a83721ccdd0fa21 kodos-2.4.5.tar.gz 357015 diff --git a/dev-util/kodos/files/kodos-2.4.5-sizetype.patch b/dev-util/kodos/files/kodos-2.4.5-sizetype.patch new file mode 100644 index 000000000000..ba00d64e53fc --- /dev/null +++ b/dev-util/kodos/files/kodos-2.4.5-sizetype.patch @@ -0,0 +1,132 @@ +--- modules/aboutBA.py.orig 2005-01-31 03:12:26.000000000 +0100 ++++ modules/aboutBA.py 2005-01-31 03:15:50.000000000 +0100 +@@ -626,7 +626,7 @@ + Layout6.addWidget(self.versionLabel,1,1) + + self.TextLabel1 = QLabel(LayoutWidget,"TextLabel1") +- self.TextLabel1.setSizePolicy(QSizePolicy(7,1,0,0,self.TextLabel1.sizePolicy().hasHeightForWidth())) ++ self.TextLabel1.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Minimum,0,0,self.TextLabel1.sizePolicy().hasHeightForWidth())) + TextLabel1_font = QFont(self.TextLabel1.font()) + TextLabel1_font.setFamily("helvetic") + self.TextLabel1.setFont(TextLabel1_font) +--- modules/kodosBA.py.orig 2005-01-31 03:12:26.000000000 +0100 ++++ modules/kodosBA.py 2005-01-31 03:16:13.000000000 +0100 +@@ -847,7 +847,7 @@ + KodosBALayout.addWidget(self.buttonGroup2,1,0) + + self.groupBox1 = QGroupBox(self.centralWidget(),"groupBox1") +- self.groupBox1.setSizePolicy(QSizePolicy(7,7,0,0,self.groupBox1.sizePolicy().hasHeightForWidth())) ++ self.groupBox1.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Expanding,0,0,self.groupBox1.sizePolicy().hasHeightForWidth())) + self.groupBox1.setLineWidth(1) + self.groupBox1.setColumnLayout(0,Qt.Vertical) + self.groupBox1.layout().setSpacing(6) +--- modules/newUserDialogBA.py.orig 2005-01-31 03:12:26.000000000 +0100 ++++ modules/newUserDialogBA.py 2005-01-31 03:17:16.000000000 +0100 +@@ -176,7 +176,7 @@ + if not name: + self.setName("NewUserDialog") + +- self.setSizePolicy(QSizePolicy(1,5,0,0,self.sizePolicy().hasHeightForWidth())) ++ self.setSizePolicy(QSizePolicy(QSizePolicy.Minimum,QSizePolicy.Preferred,0,0,self.sizePolicy().hasHeightForWidth())) + self.setIcon(self.image0) + + NewUserDialogLayout = QVBoxLayout(self,11,6,"NewUserDialogLayout") +@@ -190,7 +190,7 @@ + layout13 = QGridLayout(None,1,1,0,6,"layout13") + + self.pixmapLabel2 = QLabel(self,"pixmapLabel2") +- self.pixmapLabel2.setSizePolicy(QSizePolicy(0,0,0,0,self.pixmapLabel2.sizePolicy().hasHeightForWidth())) ++ self.pixmapLabel2.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.pixmapLabel2.sizePolicy().hasHeightForWidth())) + self.pixmapLabel2.setPixmap(self.image1) + self.pixmapLabel2.setScaledContents(1) + +@@ -201,7 +201,7 @@ + layout13.addWidget(self.textLabel4,1,0) + + self.pixmapLabel1 = QLabel(self,"pixmapLabel1") +- self.pixmapLabel1.setSizePolicy(QSizePolicy(0,0,0,0,self.pixmapLabel1.sizePolicy().hasHeightForWidth())) ++ self.pixmapLabel1.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.pixmapLabel1.sizePolicy().hasHeightForWidth())) + self.pixmapLabel1.setPixmap(self.image2) + self.pixmapLabel1.setScaledContents(1) + +--- modules/prefsBA.py.orig 2005-01-31 03:12:26.000000000 +0100 ++++ modules/prefsBA.py 2005-01-31 03:18:57.000000000 +0100 +@@ -82,12 +82,12 @@ + layout4 = QGridLayout(None,1,1,0,6,"layout4") + + self.TextLabel2 = QLabel(LayoutWidget,"TextLabel2") +- self.TextLabel2.setSizePolicy(QSizePolicy(0,1,0,0,self.TextLabel2.sizePolicy().hasHeightForWidth())) ++ self.TextLabel2.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Minimum,0,0,self.TextLabel2.sizePolicy().hasHeightForWidth())) + + layout4.addWidget(self.TextLabel2,1,0) + + self.browserButton = QPushButton(LayoutWidget,"browserButton") +- self.browserButton.setSizePolicy(QSizePolicy(0,0,0,0,self.browserButton.sizePolicy().hasHeightForWidth())) ++ self.browserButton.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.browserButton.sizePolicy().hasHeightForWidth())) + + layout4.addWidget(self.browserButton,0,3) + +@@ -112,26 +112,26 @@ + layout4.addMultiCellWidget(self.emailServerEdit,4,4,1,3) + + self.TextLabel1_2Emaii = QLabel(LayoutWidget,"TextLabel1_2Emaii") +- self.TextLabel1_2Emaii.setSizePolicy(QSizePolicy(0,1,0,0,self.TextLabel1_2Emaii.sizePolicy().hasHeightForWidth())) ++ self.TextLabel1_2Emaii.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Minimum,0,0,self.TextLabel1_2Emaii.sizePolicy().hasHeightForWidth())) + + layout4.addMultiCellWidget(self.TextLabel1_2Emaii,3,4,0,0) + + self.TextLabel1_2 = QLabel(LayoutWidget,"TextLabel1_2") +- self.TextLabel1_2.setSizePolicy(QSizePolicy(0,1,0,0,self.TextLabel1_2.sizePolicy().hasHeightForWidth())) ++ self.TextLabel1_2.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Minimum,0,0,self.TextLabel1_2.sizePolicy().hasHeightForWidth())) + + layout4.addWidget(self.TextLabel1_2,5,0) + spacer = QSpacerItem(380,20,QSizePolicy.Expanding,QSizePolicy.Minimum) + layout4.addMultiCell(spacer,5,5,2,3) + + self.recentFilesSpinBox = QSpinBox(LayoutWidget,"recentFilesSpinBox") +- self.recentFilesSpinBox.setSizePolicy(QSizePolicy(0,0,0,0,self.recentFilesSpinBox.sizePolicy().hasHeightForWidth())) ++ self.recentFilesSpinBox.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.recentFilesSpinBox.sizePolicy().hasHeightForWidth())) + self.recentFilesSpinBox.setMaxValue(25) + self.recentFilesSpinBox.setValue(5) + + layout4.addWidget(self.recentFilesSpinBox,5,1) + + self.TextLabel1 = QLabel(LayoutWidget,"TextLabel1") +- self.TextLabel1.setSizePolicy(QSizePolicy(0,1,0,0,self.TextLabel1.sizePolicy().hasHeightForWidth())) ++ self.TextLabel1.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Minimum,0,0,self.TextLabel1.sizePolicy().hasHeightForWidth())) + + layout4.addWidget(self.TextLabel1,0,0) + layout5.addLayout(layout4) +--- modules/referenceBA.py.orig 2005-01-31 03:12:26.000000000 +0100 ++++ modules/referenceBA.py 2005-01-31 03:19:35.000000000 +0100 +@@ -617,7 +617,7 @@ + self.referenceListView = QListView(self.centralWidget(),"referenceListView") + self.referenceListView.addColumn(self.__tr("Symbol")) + self.referenceListView.addColumn(self.__tr("Definition")) +- self.referenceListView.setSizePolicy(QSizePolicy(5,5,0,0,self.referenceListView.sizePolicy().hasHeightForWidth())) ++ self.referenceListView.setSizePolicy(QSizePolicy(QSizePolicy.Preferred,QSizePolicy.Preferred,0,0,self.referenceListView.sizePolicy().hasHeightForWidth())) + self.referenceListView.setFrameShape(QListView.StyledPanel) + self.referenceListView.setFrameShadow(QListView.Sunken) + self.referenceListView.setVScrollBarMode(QListView.Auto) +--- modules/reportBugBA.py.orig 2005-01-31 03:12:26.000000000 +0100 ++++ modules/reportBugBA.py 2005-01-31 03:20:07.000000000 +0100 +@@ -119,7 +119,7 @@ + Layout22.addWidget(self.emailAddressEdit,0,1) + + self.TextLabel2_2 = QLabel(self.GroupBox7,"TextLabel2_2") +- self.TextLabel2_2.setSizePolicy(QSizePolicy(1,0,0,0,self.TextLabel2_2.sizePolicy().hasHeightForWidth())) ++ self.TextLabel2_2.setSizePolicy(QSizePolicy(QSizePolicy.Minimum,QSizePolicy.Fixed,0,0,self.TextLabel2_2.sizePolicy().hasHeightForWidth())) + + Layout22.addWidget(self.TextLabel2_2,0,0) + +--- modules/resultsBA.py.orig 2005-01-31 03:12:26.000000000 +0100 ++++ modules/resultsBA.py 2005-01-31 03:20:30.000000000 +0100 +@@ -71,7 +71,7 @@ + + self.matchNumberSpinBox = QSpinBox(self,'matchNumberSpinBox') + self.matchNumberSpinBox.setEnabled(0) +- self.matchNumberSpinBox.setSizePolicy(QSizePolicy(0,0,self.matchNumberSpinBox.sizePolicy().hasHeightForWidth())) ++ self.matchNumberSpinBox.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,self.matchNumberSpinBox.sizePolicy().hasHeightForWidth())) + self.matchNumberSpinBox.setMinValue(1) + Layout10.addWidget(self.matchNumberSpinBox) + spacer_2 = QSpacerItem(20,20,QSizePolicy.Expanding,QSizePolicy.Minimum) diff --git a/dev-util/kodos/kodos-2.4.2.ebuild b/dev-util/kodos/kodos-2.4.2.ebuild index 4a9dc3b41780..a7ef60e1c7fd 100644 --- a/dev-util/kodos/kodos-2.4.2.ebuild +++ b/dev-util/kodos/kodos-2.4.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/kodos/kodos-2.4.2.ebuild,v 1.4 2004/07/18 16:37:58 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/kodos/kodos-2.4.2.ebuild,v 1.5 2005/02/22 18:08:37 carlo Exp $ inherit distutils diff --git a/dev-util/kodos/kodos-2.4.5-r1.ebuild b/dev-util/kodos/kodos-2.4.5-r1.ebuild new file mode 100644 index 000000000000..fc3f3675a4bc --- /dev/null +++ b/dev-util/kodos/kodos-2.4.5-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/kodos/kodos-2.4.5-r1.ebuild,v 1.1 2005/02/22 18:08:37 carlo Exp $ + +inherit distutils eutils + +DESCRIPTION="Kodos is a Python GUI utility for creating, testing and debugging regular expressions." +HOMEPAGE="http://kodos.sourceforge.net/" +SRC_URI="mirror://sourceforge/kodos/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc" +IUSE="" + +DEPEND=">dev-python/PyQt-3.8.1" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-sizetype.patch +} + + +src_install() { + distutils_src_install + cd ${D}/usr/bin + dosym kodos.py /usr/bin/kodos +} diff --git a/dev-util/kodos/kodos-2.4.5.ebuild b/dev-util/kodos/kodos-2.4.5.ebuild index 5856908eecc9..d8ba256c0d15 100644 --- a/dev-util/kodos/kodos-2.4.5.ebuild +++ b/dev-util/kodos/kodos-2.4.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/kodos/kodos-2.4.5.ebuild,v 1.3 2004/12/08 01:29:54 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/kodos/kodos-2.4.5.ebuild,v 1.4 2005/02/22 18:08:37 carlo Exp $ inherit distutils |