parent
4cb2664afd
commit
87c774e94e
@ -0,0 +1,40 @@
|
||||
# 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}"
|
||||
|
||||
# changes
|
||||
epatch "${FILESDIR}/calculate-lib-3.0.0-r1.patch"
|
||||
# fix variables
|
||||
epatch "${FILESDIR}/calculate-lib-3.0.0-fix_variables.patch"
|
||||
# accelerate apply templates on pkg_preinst
|
||||
epatch "${FILESDIR}/calculate-lib-3.0.0-accelerate_package_configure.patch"
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
diff --git a/calculate/lib/cl_template.py b/calculate/lib/cl_template.py
|
||||
index 5547101..e906e60 100644
|
||||
--- a/calculate/lib/cl_template.py
|
||||
+++ b/calculate/lib/cl_template.py
|
||||
@@ -3954,10 +3954,11 @@ re.M|re.S)
|
||||
self.cltObj.allTemplates = self.allTemplates
|
||||
self.numberAllTemplates(self.allTemplates)
|
||||
# Обрабатываем шаблоны
|
||||
- for dirTemplate in dirsTemplatesExists:
|
||||
- if self.scanningTemplates(dirTemplate,
|
||||
- skipTemplates=skipTemplates) is False:
|
||||
- return False
|
||||
+ if not os.environ.get("EBUILD_PHASE",""):
|
||||
+ for dirTemplate in dirsTemplatesExists:
|
||||
+ if self.scanningTemplates(dirTemplate,
|
||||
+ skipTemplates=skipTemplates) is False:
|
||||
+ return False
|
||||
if self.cltObj:
|
||||
# Созданные директории
|
||||
self.cltObj.createdDirs = self.createdDirs
|
@ -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.0-r6
|
||||
=sys-apps/calculate-i18n-3.0.0
|
||||
=sys-apps/calculate-lib-3.0.0-r3
|
||||
=sys-apps/calculate-core-3.0.0-r2
|
||||
cl_consolegui? ( =sys-apps/calculate-console-gui-3.0.0-r2 )
|
||||
cl_console? ( =sys-apps/calculate-console-3.0.0-r1 )
|
||||
"
|
||||
|
Loading…
Reference in new issue