parent
80ae973947
commit
add92a741b
@ -0,0 +1,32 @@
|
||||
# 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="amd64 x86"
|
||||
|
||||
DEPEND="~sys-apps/calculate-core-3.0.2
|
||||
dev-python/dbus-python
|
||||
dev-python/imaging
|
||||
dev-python/pyside[script]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
cd "${S}"
|
||||
|
||||
# french translate
|
||||
epatch "${FILESDIR}/calculate-console-gui-3.0.2-french.patch"
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,36 @@
|
||||
# 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="The library for Calculate 3"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="minimal"
|
||||
DEPEND="!minimal? ( dev-python/py-smbpasswd )
|
||||
>=dev-python/pyxml-0.8
|
||||
sys-apps/iproute2
|
||||
sys-apps/pciutils
|
||||
sys-fs/lvm2
|
||||
sys-fs/mdadm
|
||||
dev-python/pyinotify
|
||||
sys-apps/file[python]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
cd "${S}"
|
||||
|
||||
# fix header param autoupdate
|
||||
epatch "${FILESDIR}/calculate-lib-3.0.2-fix_autoupdate.patch"
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
commit 6feec52f1c9a00d6867145f7b69a095a8d36b556
|
||||
Author: Mike Hiretsky <mh@calculate.ru>
|
||||
Date: Mon Sep 17 11:18:23 2012 +0400
|
||||
|
||||
Fix autoupdate header param for belong packages
|
||||
|
||||
diff --git calculate/lib/cl_template.py calculate/lib/cl_template.py
|
||||
index da73632..a0dc440 100644
|
||||
--- calculate/lib/cl_template.py
|
||||
+++ calculate/lib/cl_template.py
|
||||
@@ -4349,7 +4349,8 @@ re.M|re.S)
|
||||
if not objHead:
|
||||
applyDir = ""
|
||||
if applyDir:
|
||||
- if "autoupdate" in optDir or "autoupdate" in objHead.params:
|
||||
+ if ("autoupdate" in optDir or "autoupdate" in objHead.params ) and \
|
||||
+ not self.objVar.Get('cl_belong_pkg_pass'):
|
||||
self.autoUpdateDirs.append(applyDir)
|
||||
return (applyDir, objHead, createdDirs)
|
||||
|
||||
@@ -4802,7 +4803,8 @@ re.M|re.S)
|
||||
self.dictProcessedTemplates[pathOldFile] = []
|
||||
self.dictProcessedTemplates[pathOldFile].append(nameFileTemplate)
|
||||
preReturn(pathProg)
|
||||
- if "autoupdate" in optFile or "autoupdate" in objHeadNew.params:
|
||||
+ if ( "autoupdate" in optFile or "autoupdate" in objHeadNew.params ) \
|
||||
+ and not self.objVar.Get('cl_belong_pkg_pass'):
|
||||
self.autoUpdateFiles += applyFiles
|
||||
return (applyFiles, objHeadNew)
|
||||
|
@ -0,0 +1,24 @@
|
||||
# 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="amd64 x86"
|
||||
IUSE="cl_consolegui cl_console"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
=sys-apps/calculate-install-3.0.2
|
||||
=sys-apps/calculate-i18n-3.0.2
|
||||
=sys-apps/calculate-lib-3.0.2-r1
|
||||
=sys-apps/calculate-core-3.0.2
|
||||
cl_consolegui? ( =sys-apps/calculate-console-gui-3.0.2-r1 )
|
||||
cl_console? ( =sys-apps/calculate-console-3.0.2 )
|
||||
"
|
||||
|
Loading…
Reference in new issue