parent
846f7a28e2
commit
468b0e0f58
@ -0,0 +1,38 @@
|
||||
# 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/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The library for Calculate 2"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.2"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="minimal"
|
||||
DEPEND="!<sys-apps/calculate-lib-2.1.8-r1
|
||||
!=sys-apps/calculate-lib-2.1.9
|
||||
!=sys-apps/calculate-lib-2.1.10
|
||||
!minimal? ( dev-python/py-smbpasswd )
|
||||
>=dev-python/pyxml-0.8
|
||||
sys-apps/iproute2
|
||||
sys-apps/pciutils
|
||||
sys-fs/lvm2
|
||||
sys-fs/mdadm
|
||||
sys-apps/file[python]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
cd "${S}"
|
||||
|
||||
# fix mksquashfs -comp
|
||||
epatch "${FILESDIR}/calculate-lib-2.2.30-fix_squash.patch"
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
diff --git pym/cl_distr.py pym/cl_distr.py
|
||||
index 572e9dd..2d8e51e 100644
|
||||
--- pym/cl_distr.py
|
||||
+++ pym/cl_distr.py
|
||||
@@ -1183,10 +1183,10 @@ class SquashDistributive(Distributive):
|
||||
raise DistributiveError(_("Failed to create squash") +
|
||||
" : %s"%_("command '%s' not found")%mksquashfsUtil)
|
||||
cmd = [mksquashfsUtil, "%s/"%directory,file, "-no-progress"]
|
||||
- if self.exclude:
|
||||
- cmd += ["-e"] + self.exclude
|
||||
if self.compress:
|
||||
cmd += ["-comp",self.compress]
|
||||
+ if self.exclude:
|
||||
+ cmd += ["-e"] + self.exclude
|
||||
processMkSquash = process(*cmd)
|
||||
if processMkSquash.failed():
|
||||
raise DistributiveError(_("Failed to create squashfs") +
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
DESCRIPTION="Calculate Utilities meta package"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="
|
||||
cl_assemble
|
||||
cl_builder
|
||||
cl_server
|
||||
"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!sys-apps/calculate-templates
|
||||
!<sys-apps/calculate-install-3.0.0_alpha1
|
||||
=sys-apps/calculate-lib-2.2.30-r1
|
||||
=sys-apps/calculate-i18n-2.2.30-r1
|
||||
|
||||
cl_assemble? ( =sys-apps/calculate-assemble-2.2.30-r2 )
|
||||
cl_builder? ( =sys-apps/calculate-builder-2.2.30-r6 )
|
||||
|
||||
cl_server? ( =sys-apps/calculate-server-2.1.16-r5 )
|
||||
"
|
Loading…
Reference in new issue