Update 3.1.1

atratsevskiy
parent 691a2722b2
commit 130ab12ad7

@ -15,6 +15,7 @@ AUX calculate-install-3.1.1_alpha2-r2.patch 3151 SHA256 86bb3f0e44b6f30b5561852f
AUX calculate-install-3.1.1_alpha2-r3.patch 5434 SHA256 91056b03c55ef33ad73c5b247f91535e82218a34424df0ab5577263316252dea SHA512 0523c2dd3cb63fc762e5aa7e0cdcc65f361f0ee855837a10298f794b41855259b9cc37fa1b70401d6e90c47cc4bbc028f7a14bce0c1dcb375bc294b4ce4e3515 WHIRLPOOL ff684eb14144c29f5417f5f0fce41414fc5ed0788840e2fb70d1718a851d505df18e0ee298954cd29bc087bc9166cf00934e8bd4b487113d3553c0c64c663613
AUX calculate-install-3.1.1_alpha2-r4.patch 5891 SHA256 53eb023ce99ab21da848823ee28dba8cb6eff73bd7d4fb3e3368e7914bd3eb29 SHA512 80da80b91b986b2f4d5d33c32c6b5deb11001622d4424a454f814f94ac2b5aa3de7ac36a4ffbe1334bcf49c5055b30eb52054ba48d1d1f2117e9c8230b0f8282 WHIRLPOOL f57ba399c8f8f3792ecd2a44698cc1e0bfecebd5bb1d17999f2a718402f0a04cba472eb34b75e4236981c8a1ae02c907aaa19f735dc74c495bffbe2894e22d38
AUX calculate-install-3.1.1_alpha2-r5.patch 6325 SHA256 895f34416f1370d9a70e520d08f682b2fb17296affb07c67e2bbdeba08830a35 SHA512 168944d4b8dd8ff9a4512604f6ed5f2e964bdf85f00c12da582474a28e307bb6d214f286e0e7a6a29dd4bb1e0c5d98af9bd294794a586a90c120c77b6154af7b WHIRLPOOL d5ca81c04794bfe5a3043b5d94df177a6de297327ff6c70b3f7073e897ff5a6150a720dbf483611771bf0b0a4a33029d31aceb3c07133e00f6361f6a9a930a03
AUX calculate-install-3.1.1_alpha2-r6.patch 7676 SHA256 1b2cef49aed0c165e85fe9eb04b5cab3cbdecb803391e05ec0b0792a9981173b SHA512 de90ef03fa479d8b3f51e963d4fa8342229dd3bb7a01a90deaf837e76f8a0554f6f0f66c046cb58c755cee3f545ae70004e8bd5dee47a6c0f7c0328fecf6f982 WHIRLPOOL 4cbba2f4b00b08562837cf9c065619f422ae0ddef8c23abe9b2bccef9201a776001c20e335b83b5c5dc7a83a2a0a4e50247e4549c5a6fcc1751882e254fa30de
DIST calculate-install-2.2.29.tar.bz2 82398 SHA256 0d1b5fcca2711f31fbd5680dea652fa7765ad781529ba80c5fa92cf736d73d10 SHA512 f9623ec564cce283a3813a2a308347b64d5368c06b0665de5223c9c2d75dcfb00348def034e958718ba9e9fa8a7ea2fa76b90fd0b4dc4e41bebf6222ee4a5da9 WHIRLPOOL 57361d7f5270cc2782d32635b02b1150a506f8e517ee916d66bc6df0c8c037193ad6fa33cef1c7b5fec6867204ea06c2778983a4bfd722b41af3c9d1c172270a
DIST calculate-install-3.0.0.tar.bz2 75771 SHA256 8423554b46a87781d223b8b6378fb71f2474eb049897b20f328363f66f566f88 SHA512 934fac15a2b34357d20161a9804e05de68491a8069b1b6008f016e9fbbccb403e8805ef395598934faafe8db2deca0c040d3d690d8f49cfe2adca453e10e4752 WHIRLPOOL 2448066fb70de8db95ff8edfa94f894047a18e402a84dc3e27e2efcc8a1cc7b05996209acaef44bc59366507865bb76b457ae75e5dfb0c4f478c397ef9497ac9
DIST calculate-install-3.0.1.tar.bz2 75704 SHA256 e332e8a7b90f82d7f70055c2570c82480c687c648720e71f4af84dce10d8b46a SHA512 f0e543fa75cb209bc7a35ac53e2c315c483e8b0b48891883e3dfb43d1796d00b9ec53e473b2223d658d2b8772a911cf77b5851c8168e6d1c376c3ae706a8f5a3 WHIRLPOOL 34ea096bb37f6c71a38f2c9566b8587dd91efc09cae2a6b8bdd6347a54dce3afb6659397adfd1d5ee08adf69921d84d9e8bd355a5f18326ff6b19338e1253e82
@ -62,6 +63,7 @@ EBUILD calculate-install-3.1.1_alpha2-r2.ebuild 1048 SHA256 cadf762b9f8cf1099219
EBUILD calculate-install-3.1.1_alpha2-r3.ebuild 1048 SHA256 45bcf99340dbf8147a99aa1743e7ffd4b1ed5dc11c599b716bd63e3728aed3a6 SHA512 545471df1486d2e6dc7176a31e2e68517400f6daef709d2c6444d0746e8f0b814ffe259971eafe6142fa9ee6324bc095acf40c2fd895db53b16bbf4f554418be WHIRLPOOL 599802a96e34f79bf104e19365e952244e0ec7541e56d94f34c2afbda27b7311959e4a63038c1b88d5ac34bb5b0cf4188de778513cc45e1b00437f84cdd750f6
EBUILD calculate-install-3.1.1_alpha2-r4.ebuild 1048 SHA256 91a3c12cfc43b6f74ac5027f854807dbffe59036845af8ff23275c4f64fc04cf SHA512 65bf26563ee5d55f1418be701e1cd440f2a865152e3381c93d9a8decc40a2c85374ce4b2356b28b959371812cec2ddf5e593beeca78ac293aa370522c5b90709 WHIRLPOOL 2217fedb155e5fda10db9b0211923d341b6a42466d333d3cdf7b1c28f82bc7af43001a59be37d6cee0acf6cece22256596df811d0f6474b285ec1ba104a040d6
EBUILD calculate-install-3.1.1_alpha2-r5.ebuild 1048 SHA256 6e0881fa05e691174ee6f001ce96ab5c66b4182a0783c89b7438aeef351a2d58 SHA512 cb22c9ccdea7dfc38cc11c12548281d7534e0f38bcf64a7091f227124ae956c248c38ad4a8a10a51ce31de29afdefe8439c1379474d0614482c04d1afd16561e WHIRLPOOL a852aac2486405d4c16ab91e97106d54ca9d1762ac39d70d8bb8d31d22fc528316f6f6b11ef4ce33fd32dfeb1ddc4ce231dc97d324dc3ad4cf671911cfddaab7
EBUILD calculate-install-3.1.1_alpha2-r6.ebuild 1048 SHA256 5a7bf7ac9ae00b7c5e1970c5040d21415454c2a81efb473104b6edd7cfda1b2e SHA512 f19ef1f747a47249cd2161e9850e484708b2babb7dbe6d0579c2fde5e31834f0e170de191c88dc669963305e3aa63bb117605d47af2df6b355992ff8ed4046bf WHIRLPOOL 03bba63a3432430ad5a5b2bb9d03fde72765048f699e99e8c211f54b52c3e8ff70c0d020c960b20d5be04d0fe8b16f85e8aee445b25a60c90540e038f1704392
EBUILD calculate-install-3.1.1_alpha2.ebuild 904 SHA256 c0bf9f967dd0bd2e678bb78279dfa574919e9797858be606681e7099d1166db5 SHA512 b34467529708b7300ad1ddf15e89942e5df61792d84afb20478abf5697032593e2bf4843bf8ac1c9ca4b5265501126eab1c7e28d32f475b584df8a5396bd5802 WHIRLPOOL 4993b452efe5c87d9f8182c965577c6309f0fb5aea05da9d11f0920d6be41c6eba5cf886eb586f4d19a1f495707b979e88864299fa048a1818e47c2ded46e3c4
EBUILD calculate-install-3.1.9999.ebuild 683 SHA256 e97dd6f046d54a16eee281fa35790c92507b150bc940f3c2b36117e6f44f0a8d SHA512 c1179c500dcaa48506f6334e9e2ccc3cc70d712b2899d7e1d9265bc202f088ab71baa1aaea462deee56fdd5244bee4ab9b9a9da72f25ec511d4f2fa0c3c35f43 WHIRLPOOL 010d35b929fce496b5f16228688e23a95c9c87ebed0d290eeb454e5c1432b55b3b276dfb5786a27222543446a1090ce2f133d80373649fe72341b508d1e16a78
MISC ChangeLog 33978 SHA256 a1cc544f9763b08b3647d90fac1ec53748016bb23260181315896c8c02431443 SHA512 11a09ba60fbc727bd47b57653b4bb0937d98774eb9ca95680a5b55997c7e22db3976cbd0878d908fa0200e04b6cc9eb0ae9ac6f1623235490e2e46e54cc1f7f4 WHIRLPOOL 50352c2950f301cbb5116b8c9972e592767dcb03bd71d081c75de5e69b2a920331abec4756658faf64e291bf6f4f41df67b8d62946683629a2c99b48274eb2f3

@ -0,0 +1,44 @@
# 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 program of installation Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS=""
IUSE="pxe minimal"
DEPEND="~sys-apps/calculate-core-3.1.1_alpha2
!<sys-apps/calculate-install-2.2.29
app-portage/layman
!app-misc/livecd-tools
sys-apps/iproute2[-minimal]
!minimal? ( sys-boot/grub
sys-apps/gptfdisk
>=sys-apps/util-linux-2.19.1
sys-fs/dosfstools
sys-fs/squashfs-tools
sys-block/parted )
pxe? ( sys-apps/calculate-server
net-ftp/tftp-hpa
net-misc/dhcp
net-fs/nfs-utils )"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-install-3.1.1_alpha2-r6.patch"
}

@ -0,0 +1,179 @@
diff --git data/calculate data/calculate
index c2d6505..1ec60b3 100644
--- data/calculate
+++ data/calculate
@@ -136,7 +136,8 @@ start() {
# reinit net.* services
local roottype=`variable_value main.os_root_type`
- if [[ $roottype == "livecd" ]]
+ local rootdev=`variable_value main.os_root_dev`
+ if [[ $roottype == "livecd" ]] && [[ $rootdev == "/dev/nfs" ]]
then
touch /* /bin/* /sbin/*
udevadm trigger --action="add" --subsystem-match=net
diff --git install/cl_wsdl_install.py install/cl_wsdl_install.py
index a007be4..d4c117d 100644
--- install/cl_wsdl_install.py
+++ install/cl_wsdl_install.py
@@ -192,7 +192,8 @@ class Wsdl:
@rpc(Integer, InstallInfo, _returns = Array(ReturnedMessage))
@core_method(category=__('Installation'),title=__('Flash install'),
- image='drive-removable-media-usb-pendrive,media-flash',
+ image='drive-removable-media-usb-pendrive,'
+ 'drive-removable-media-usb,media-flash',
gui=True, rights=['install'])
def install_flash ( self, sid, info):
"""
@@ -220,7 +221,8 @@ class Wsdl:
@rpc(Integer, InstallInfo, _returns = Array(ReturnedMessage))
@core_method(category=__('Installation'),title=__('PXE install'),
- image='network-server',command='cl-install-pxe',
+ image='network-server,preferences-desktop-remote-desktop',
+ command='cl-install-pxe',
gui=True, rights=['installpxe'])
def install_pxe ( self, sid, info):
"""
@@ -251,7 +253,8 @@ class Wsdl:
@rpc(Integer, InstallInfo, _returns = Array(ReturnedMessage))
@core_method(category=__('Configuration'),title=__('Network'),
- image='network-idle,preferences-system-network',
+ image='gnome-network-properties,'
+ 'network-idle,preferences-system-network',
command="cl-setup-network",
gui=True, rights=['setup'])
def setup_network ( self, sid, info):
@@ -281,7 +284,7 @@ class Wsdl:
@rpc(Integer, InstallInfo, _returns = Array(ReturnedMessage))
@core_method(category=__('Configuration'),title=__('Video'),
- image='gnome-multimedia,video-display',
+ image='video-display,gnome-multimedia',
command="cl-setup-video",
gui=True, rights=['setup'])
def setup_video ( self, sid, info):
@@ -369,7 +372,7 @@ class Wsdl:
@rpc(Integer, InstallInfo, _returns = Array(ReturnedMessage))
@core_method(category=__('Configuration'),title=__('System'),
- image='system,computer',command="cl-setup-system",
+ image='system-run,system,computer',command="cl-setup-system",
gui=True, rights=['setup'])
def setup_system ( self, sid, info):
"""
diff --git install/variables/disk.py install/variables/disk.py
index 2fd5e5c..9ca8a8b 100644
--- install/variables/disk.py
+++ install/variables/disk.py
@@ -621,7 +621,7 @@ class VariableOsLocationData(LocationHelper,TableVariable):
self.label = _("Locations")
def set(self,value):
- return sorted(value,key=lambda x:x[0])
+ return sorted(value,key=lambda x:x and x[0])
class VariableOsLocationSource(LocationHelper,DeviceHelper,Variable):
"""
diff --git install/variables/distr.py install/variables/distr.py
index 71423b2..0e0693c 100644
--- install/variables/distr.py
+++ install/variables/distr.py
@@ -121,18 +121,21 @@ class DistroRepository(Linux):
if not d:
return False
# check filter conditions
- if system and systemByName(d['name']) != system:
+ if system and systemByName(d['os_linux_shortname']) != system:
return False
- if not "name" in d or not "ver" in d:
+ if not "os_linux_shortname" in d or not "os_linux_ver" in d:
return False
- if shortname and d['name'].lower() != shortname.lower():
+ if shortname and \
+ d['os_linux_shortname'].lower() != shortname.lower():
return False
- if march and d['march'] != march:
+ if march and d['os_arch_machine'] != march:
return False
- if version and not verCmp(getTupleVersion(d['ver']), version):
+ if version and \
+ not verCmp(getTupleVersion(d['os_linux_ver']), version):
return False
- if build and "build" in d and (not d['build'].isdigit() or
- not buildCmp(int(d['build']),build)):
+ if build and "os_linux_build" in d and \
+ (not d['os_linux_build'].isdigit() or
+ not buildCmp(int(d['os_linux_build']),build)):
return False
return True
@@ -167,11 +170,11 @@ class DistroRepository(Linux):
def sortdistrfunc(self,x,y):
"""Func of comparing two distributive"""
- ver1, ver2 = x[1].get('ver',""), y[1].get('ver',"")
+ ver1, ver2 = x[1].get('os_linux_ver',""), y[1].get('os_linux_ver',"")
if ver1 and ver2 and ver1 != "0" and ver2 != "0" and ver1 != ver2:
return cmpVersion(ver1,ver2)
- build1 = getTupleVersion(x[1].get('build',""))
- build2 = getTupleVersion(y[1].get('build',""))
+ build1 = getTupleVersion(x[1].get('os_linux_build',""))
+ build2 = getTupleVersion(y[1].get('os_linux_build',""))
if build1 != build2:
return cmp(build1,build2)
else:
diff --git install/variables/locale.py install/variables/locale.py
index 456d909..209727f 100644
--- install/variables/locale.py
+++ install/variables/locale.py
@@ -232,8 +232,10 @@ class VariableOsInstallClockTimezone(LocaleVariable):
lang = self.Get('os_install_locale_lang').split('_')[1]
nativeTZ = map(lambda x:x.encode('utf-8'),
country_timezones[lang])
- source = nativeTZ + ["---"] + filter(lambda x:not x in nativeTZ,
- source)
+ source = nativeTZ + ["---"] + \
+ sorted(filter(lambda x:not x in nativeTZ,source),
+ key=lambda x:timezone(x)._utcoffset.total_seconds(),
+ reverse=True)
except (KeyError,IndexError) as e:
pass
return list(self.generateComments(source))
diff --git install/variables/net.py install/variables/net.py
index 50f74c1..1dc16bb 100644
--- install/variables/net.py
+++ install/variables/net.py
@@ -347,6 +347,9 @@ class VariableOsInstallNetRouteData(NetHelper,TableVariable):
'os_install_net_route_src']
routing = True
+ def humanReadable(self):
+ return self.Get()
+
def init(self):
self.label = _("Routing")
self.help = \
diff --git install/variables/system.py install/variables/system.py
index 130439a..5e0dd96 100644
--- install/variables/system.py
+++ install/variables/system.py
@@ -25,6 +25,7 @@ from calculate.lib.utils.files import (readFile,getProgPath,process,
readLinesFile)
from calculate.lib.utils.common import getPasswdUsers,getUserGroups,getGroups
from calculate.lib.utils.portage import isPkgInstalled
+from calculate.lib.utils.device import getUdevDeviceInfo
from crypt import crypt
from calculate.lib.encrypt import encrypt
import calculate.lib.cl_template as cl_template
@@ -371,6 +372,8 @@ class VariableOsInstallDevFrom(Variable):
"""
If device in calculate3.env dev_from not exists set ''
"""
+ if value:
+ value = getUdevDeviceInfo(name=value).get('DEVNAME',value)
if value in self.Get('os_disk_dev'):
return value
else:

@ -26,6 +26,7 @@ AUX calculate-lib-3.1.1_alpha2-r13.patch 23839 SHA256 dc6fbb8f0c18674c3d2ca38ce1
AUX calculate-lib-3.1.1_alpha2-r14.patch 22713 SHA256 76b20b93992dcad224db2deddae53976455c8ab028148fff72c25d704d42871b SHA512 bc2044b935ab064216d10fd2af76693ed1fa4be98fd0a327ccbb1ae6867f2cc6d79e01c1a9824843605d9cfc23404e660bbcba9f9bfef3f26df17e9b7f12156e WHIRLPOOL a7fcb53f180011e66cac7429b1a7b24d7604ff4af3865f6cb2022b01dc7afdfbf90b70d6f9e7e43969c05069efa94eb81a4545ee9a233a70543ec7f0a21f1d52
AUX calculate-lib-3.1.1_alpha2-r15.patch 23870 SHA256 60ec395c670de12de9aeed45b0e709911087517173d1cefc7c877e611292c690 SHA512 cc48fa500222f649b4b9a4f167be1feab0499aac4262b3d6783e2d97296ffb1e1b1b5e7a446c9f43c8ffb02a17282868203613f910a5cfc4df706d6eccc68fc8 WHIRLPOOL 215858250849f96ed569367eddce2f4232999e848c58013e4df046b35964fd9f57d73e1fc4884928c93efcf7404e898332024f1a6c805fe55d0a6550daf872d8
AUX calculate-lib-3.1.1_alpha2-r16.patch 24336 SHA256 e18b7d0b40f7cf2fac00bec1d5a59cc47e8187b90761af5cfcb5a6c91c396d28 SHA512 1c5000d02b15050f17caef7eae5b316b1dade475bf733fb2eaa28e1fe54a10a1baaa8a61915ab981ed6065e62ba41eca9ad0fb33f7448ebb4d64299f93565a9c WHIRLPOOL 9d7fb374bb1692edb96f996a54bf2ad66b55b3ba7a27c0f0cd5ef5fac39b432668bf360f8784f9ff65e8523f4712ad7007e40186956818f07b69e85d4332e7d1
AUX calculate-lib-3.1.1_alpha2-r17.patch 24342 SHA256 1bf63f639e29dee39ab183b3fbdcb60b1e450e297af3612d9e98db55569ab30a SHA512 17b2a35b722b1f6576c55cd49c5a9a51f57204448dc84af55dcfd3187ec2aa2c08439937ec1ba0e9b8e5a311129e7e4bbcecb8f4d7e24c6a2c3574ddbd799a9e WHIRLPOOL ae43d4d3c41f4d76f64ace9503b8f143691f083b3a86d82d13b27b766be05357990e00bedb8bf9e3f3c771800e8101aa0e210c993754bcffbb0d1dc174c78ccb
AUX calculate-lib-3.1.1_alpha2-r2.patch 2386 SHA256 2e4616804916e9054fe51e799ecd4a355d8b3ce404c91328b45c4ee2a53be561 SHA512 0c0b49e7c43de8655e6df49805e4cf8e4ee621f6b7f134cc42dc5ac4be4a753f16036c0d7db4763a81ff620a9d3145b892b2c3b47f5863929c0ddf0e8db585e5 WHIRLPOOL 5d6017a88a0a4a12ca4d85a572452ba8ca6dd80292dc009ff3768d4dfbdc39b32b3c293f7df9ffbc3a83cfdb5b412a579b1e80064b2e8ab5163834dacad6304f
AUX calculate-lib-3.1.1_alpha2-r3.patch 4920 SHA256 3d3490321e45744947d70ac1668ae939b1a62fd7644fd2e7a4a9de1b4395bc44 SHA512 9cd94862a5cedb624e5d1e4787464bebfadbef638bd9f678fd24f16d3905d46c1c36f419e5ec63946830058ba74d0d04eeaa69fc62e2aaa59ab4639a134ab5c3 WHIRLPOOL b762a30632f3753c38c8d870d56dc65b7679e3f3308e854259d03f2b977c9d07398f9f730ebe0eefa1f7c8580b5c3e394411edb4488b16e210f4532990e8df41
AUX calculate-lib-3.1.1_alpha2-r4.patch 6797 SHA256 6067424bac12b0dd2c113e98038db7157705d48669c8574e93dc4308bf217e18 SHA512 bb4f49192ea410be808867e6f3124a6b859c4818a8262f486af03b93fa18cbb1d7b8d705595fd1c441fbd40a47d8919164b2bbb0cdb8677303fcaf0f8b1caab1 WHIRLPOOL d378bba2b0831fd776fbea8fae2597268c2c863597178eab31148b87e91032f2501e932244e596ad24146beb68843fd95cf12cd2c438380ce58903aae1866966
@ -94,6 +95,7 @@ EBUILD calculate-lib-3.1.1_alpha2-r13.ebuild 822 SHA256 2bbd80fddefe93d32e3fba71
EBUILD calculate-lib-3.1.1_alpha2-r14.ebuild 822 SHA256 0cd6be310dfebc705ce732c13257131cc6152dc4ee7911a2128103434811c873 SHA512 f09bf18780d30d19001e9a53d6983954b4ab07dc1a49cf9b65dc4d41efc443899bf880d1eec319abcb5c1042c4239a8c3bc51808eb4930a52c314242f9c0c944 WHIRLPOOL fdb191c5ab7f1fd77484500ff6e19c3462c88975eb5deebd6140962cbf9b5ab7cf8679db8d9746ae8d24e3b077539ee752c1d487b26bb171c3906a6648cdd11e
EBUILD calculate-lib-3.1.1_alpha2-r15.ebuild 822 SHA256 66117e1d14dd61c1eea8bf2320946936056606b7b8f57e7224a24509adec59dd SHA512 f646e8b258e87fd672e5906bc8a41090b0ddf06d4d1c40af9f5dd58ba8d7a7ea1cb42c43238400e0177bc55ca44467d3ec15e66f2724b2e262c73cfa235bfc16 WHIRLPOOL 3bd800a95be0f0214c3c8dfe8f4bc2c52a9b70d07515ffd9f61a06aa459cc99a68696e2080857e5ccfcf2440bfabf6d7ddc234346b8d708c00b097a53a751783
EBUILD calculate-lib-3.1.1_alpha2-r16.ebuild 822 SHA256 e7eef87ce8d7e7463beb7f5ecad52572f30bc72774f6375bb2b20b9243d67226 SHA512 6dd457f628799b0937a8eb934f2a8005e37bf730f451ef3ccac6e563cdcef97041977c1e22d0644bb2ee49ee147d79522e2fd7d23449b0ac8b302d18ef858509 WHIRLPOOL d1f6893351e2fee0f50d8dc644114885f27f9207d1c684a51b1566b3b815a792a0ac39d2ee8309e3a72635d023440c276206d92bda38dfdf5eabef1bc9d8607e
EBUILD calculate-lib-3.1.1_alpha2-r17.ebuild 822 SHA256 5f025d92e5515a327a5e4d3bf20a936eb5114917e453c56768954f84c83b2aa4 SHA512 ed8797dfe9e8a7a9a47103e1ab32dec447e67df4438ce2bcce139efd7c5c64655fe6ff4612d14ff8030e5f1be9e5be601d451e7ac84e7f7f96bcd0ceee66a10a WHIRLPOOL 90d80d21753ebdd48c75b34550a373328042fc2f5ef29decefdbfcbd5fc4e2c6b9b94c05a053fe56d505b9b7961d2137588aefafa831adbb28851e171959cd82
EBUILD calculate-lib-3.1.1_alpha2-r2.ebuild 821 SHA256 cd223474f7f4cd3c87f1cf6d75f7fda61fd6d33461e27f3a753710b7217840a7 SHA512 48a12926e36b8513b9feb1444f95f3b9ed80fac69329e9f0f17c97e42cab4cb11f44f1d678a6690e4a68268c07d8dad48b5cd05b04f7ac0034ce82e748dfe24c WHIRLPOOL 0d14e28c63383bfaeabf59d87d891d3a32ca4b9fd4e88af0743d27af24e1198781a2b435ab62be7c609f3debbad3b57fed8cde0a58d5a8890bbbed0a19bbdb80
EBUILD calculate-lib-3.1.1_alpha2-r3.ebuild 821 SHA256 c417d3904830c64de5978e26ef11f3b40b16d05c8fade33b299c3ff6e38c6bd1 SHA512 be152bf60027668ab3e49cdd15ff4e06f7599956db497f883d7c6c018dbfbb3a723b5c0b6b25de1eb1661474179a26f8ae5fd8d9e1a13eaf8bc8dae7c2024b9c WHIRLPOOL 93f32e6461d387fccb814b2332411c006c9a58e9280c8d96fb02ba4a5712c2e41203480512486fd11800faf8fce80546c27cdeb5c09f5e58d895e5dd11bcd5f9
EBUILD calculate-lib-3.1.1_alpha2-r4.ebuild 821 SHA256 c562f85ff455b300a04674f3b5e8d88efd85e3a09a28d1f62e18138b32326ff5 SHA512 442d202a23d9f6db5d3c18ebf367821ddb3c28b6a70c194403f5e7df250e2477b415a518b8117e0dfc3d927057ee9bc79958259b19581fbdfc9954bf31f29c87 WHIRLPOOL cd3cf784d4cf68cdf6d0be541377b9fb43342e60cdc7e6b41beb153fc2c2b1d2141468bd43534758265cf4349f83fc4b79360388ca955c9490481e8af68a8f57

@ -0,0 +1,35 @@
# 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=""
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}"
# apply revision changes
epatch "${FILESDIR}/calculate-lib-3.1.1_alpha2-r17.patch"
}

@ -0,0 +1,517 @@
diff --git calculate/lib/cl_template.py calculate/lib/cl_template.py
index 24ad307..55527cd 100644
--- calculate/lib/cl_template.py
+++ calculate/lib/cl_template.py
@@ -39,8 +39,9 @@ from utils.common import _error, _warning
from utils.text import _toUNICODE, convertStrListDict
from utils.portage import isPkgInstalled
from utils.content import PkgContents
-from utils.files import (getModeFile, removeDir, typeFile, scanDirectory,
- pathJoin,process,STDOUT)
+from utils.files import (getModeFile, listDirectory,removeDir, typeFile,
+ scanDirectory,
+ pathJoin,readFile,readLinesFile,process,STDOUT)
from datavars import DataVarsError
from calculate.lib.cl_lang import setLocalTranslate
@@ -301,6 +302,8 @@ class _terms(_error, _shareTermsFunction):
else:
try:
valVars = self.objVar.Get(vals[0])
+ if not valVars:
+ valVars = ""
except DataVarsError, e:
raise TemplatesError("{header}\n{body}".format(
header=textError,body=str(e)))
@@ -502,7 +505,7 @@ class fileHeader(_terms):
headerTerm = True
def __init__(self, templateName, text, comment=False, fileType=False,
- objVar=False, function=False):
+ objVar=False, function=False, templateObj=None):
self.body = text
# Объект с переменными
self.objVar=objVar
@@ -564,6 +567,7 @@ class fileHeader(_terms):
self.body = self.body[reL.end():]
else:
self.body = ""
+ paramLine = templateObj.applyFuncTemplate(paramLine,templateName)
paramList = self.splitParLine(paramLine)
if paramList:
for i in paramList:
@@ -2181,6 +2185,10 @@ class _file(_error):
F_CONF = open (nameFileConfig, "r+")
except:
try:
+ if os.path.isdir(nameFileConfig):
+ self.setWarning(_("unable to open the directory as file:")
+ + nameFileConfig)
+ return False
F_CONF = open(nameFileConfig, "w+")
except:
self.setError(_("unable to open the file:")
@@ -2482,6 +2490,9 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction):
# директория установленных программ
basePkgDir = "/var/db/pkg"
+ # кэш для проверки наличия пакета в портежах
+ cachePortdir = {}
+
# стек глобальных переменных
stackGlobalVars = []
@@ -2498,6 +2509,11 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction):
# Текст функции шаблона
functText = ""
+ # regular for discard sort number and version
+ reData = re.compile(r"^(?:\d+-)?(.+?)(?:-(?:|always|\d+|\d(?:\d|\.|pre|_"
+ "|-always|alpha|beta|pre|rc|[a-z][^a-z])*[a-z]?)(?:"
+ "-r\d+)?)?$",re.S)
+
currentBelong = ""
def __init__(self, objVar):
@@ -2756,7 +2772,8 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction):
"""
for pkgname,category,ver,slot in pkgs:
fullname = "%s/%s"%(category,pkgname)
- if not fullname in self.installProg:
+ if not fullname in self.installProg or \
+ type(self.installProg[fullname]) != dict:
self.installProg[fullname] = self.installProg[pkgname] = {}
if force or not slot in self.installProg[fullname]:
self.installProg[fullname][slot] = ver
@@ -2803,6 +2820,18 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction):
"""Функция шаблона pkg(), выдает номер версии программы"""
# Название программы
nameProg = funArgv.replace(" ","")
+ if not nameProg:
+ fileName = os.path.split(self.nameTemplate)[1]
+ if fileName == '.calculate_directory':
+ parentDir = os.path.dirname(self.nameTemplate)
+ parentDir, pkgName = os.path.split(parentDir)
+ else:
+ parentDir, pkgName = os.path.split(self.nameTemplate)
+ category = os.path.split(parentDir)[1]
+ # reg for discard version and sort number
+ pkgName = self.reData.search(pkgName).group(1)
+ category = self.reData.search(category).group(1)
+ nameProg = "%s/%s"%(category,pkgName)
# Замена функции в тексте шаблона
replace = ""
if "/" in nameProg:
@@ -2810,6 +2839,7 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction):
nameProg, spl, slot = nameProg.partition(":")
if not category in self.installCategory:
self.getInstallPkgGentoo(category=category)
+ self.installCategory.append(category)
replace = self.pkg(nameProg, slot=slot or None)
else:
if not self.flagAllPkgScan:
@@ -2875,7 +2905,11 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction):
" is neither 'upper' or 'lower' or"
" 'capitalize'"))
try:
- strValue = str(self.objVar.Get(terms[1]))
+ strValue = self.objVar.Get(terms[1])
+ if not strValue:
+ strValue = ""
+ else:
+ strValue = str(strValue)
except:
raise TemplatesError(
_("error in template %s")%self.nameTemplate + "\n" +
@@ -2894,6 +2928,31 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction):
textTemplateTmp[resS.end():]
return textTemplateTmp
+ def funcIn(self, funArgv, resS, localVars, textTemplateTmp, nameTemp):
+ """
+ Function in for check value in variable
+ """
+ terms = funArgv.replace(" ","").split(",")
+ # Название локальной переменной
+ nameLocVar = terms[0]
+ flagFoundVar = False
+ try:
+ value = self.objVar.Get(nameLocVar)
+ flagFoundVar = True
+ except:
+ pass
+ if flagFoundVar:
+ if value in terms[1:]:
+ replace = "1"
+ else:
+ replace = ""
+ else:
+ self.raiseErrTemplate(_("error: variable %s does not exist")\
+ %str(nameLocVar))
+ textTemplateTmp = textTemplateTmp[:resS.start()] + replace +\
+ textTemplateTmp[resS.end():]
+ return textTemplateTmp
+
def funcPush(self, funArgv, resS, localVars, textTemplateTmp, nameTemp):
"""локальная функция записывает значение переменной
@@ -3215,12 +3274,63 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction):
return textTemplateTmp
def funcBelong(self, funArgv, resS, localVars, textTemplateTmp, nameTemp):
- #self.setWarning(
- # _("Function '{funcname}' used by {template} is depricated"
- # " and will be removed at the future").format(
- # funcname="belong",template=nameTemp))
- return self.funcMerge(funArgv, resS, localVars,
- textTemplateTmp, nameTemp)
+ self.setWarning(
+ _("Function '{funcname}' used by {template} is depricated"
+ " and will be removed at the future").format(
+ funcname="belong",template=nameTemp))
+ replace = ""
+ return textTemplateTmp[:resS.start()] + replace +\
+ textTemplateTmp[resS.end():]
+
+ def checkCorrectPkgName(self,package):
+ """
+ Check pkg name (in /var/db/pkg,/usr/portage,/var/lib/layman/calculate
+ and other overlays)
+ """
+ category,spl,pkgname = package.partition('/')
+ pkgname, spl, slot = pkgname.partition(":")
+ # check installed package in system
+ if not category in self.installCategory:
+ self.getInstallPkgGentoo(category=category)
+ self.installCategory.append(category)
+ if self.pkg("%s/%s"%(category,pkgname), slot=slot or None):
+ return True
+ # check package in portage and calculate,overlay
+ def queuePortdir():
+ yield "/usr/portage"
+ calculate = "/var/lib/layman/calculate"
+ yield calculate
+ for portdir in filter(lambda x:x!=calculate,
+ self.objVar.Get('cl_portdir_overlay')):
+ yield portdir
+
+ for portdir in queuePortdir():
+ if not portdir in self.cachePortdir:
+ lPortdir = len(portdir)+1
+ self.cachePortdir[portdir] = \
+ list(set(
+ map(lambda x:x[lPortdir:].rpartition('/')[0],
+ glob.glob("%s/*/*/*.ebuild"%portdir))))
+ if package in self.cachePortdir[portdir]:
+ return True
+ else:
+ if portdir == "/usr/portage" and \
+ len(self.cachePortdir[portdir]) < 30:
+ #raise TemplatesError(_("Ebuild files are not found in portage"))
+ return True
+ if not "portage/update" in self.cachePortdir:
+ updateFiles = sorted(listDirectory('/usr/portage/profiles/updates'),
+ key=lambda x:tuple(reversed(x.split('Q-'))),reverse=True)
+ if updateFiles:
+ self.cachePortdir["portage/update"] = \
+ map(lambda x:x.split(' ')[1],
+ filter(lambda x:x.startswith('move '),
+ readLinesFile(os.path.join('/usr/portage/profiles/updates',
+ updateFiles[0]))))
+ if package in self.cachePortdir:
+ self.printWARNING(_("Package {frompkg} was renamed").format(frompkg=package))
+ return True
+ return False
def funcMerge(self, funArgv, resS, localVars, textTemplateTmp, nameTemp):
"""
@@ -3234,11 +3344,27 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction):
self.raiseErrTemplate()
funcPkg = terms[0]
if not funcPkg:
- funcPkg = os.path.split(self.nameTemplate)[1]
- if funcPkg == '.calculate_directory':
- funcPkg = os.path.split(os.path.dirname(self.nameTemplate))[1]
- if not funcPkg:
- self.raiseErrTemplate(_("incorrect template path"))
+ fileName = os.path.split(self.nameTemplate)[1]
+ if fileName == '.calculate_directory':
+ parentDir = os.path.dirname(self.nameTemplate)
+ parentDir, pkgName = os.path.split(parentDir)
+ else:
+ parentDir, pkgName = os.path.split(self.nameTemplate)
+ category = os.path.split(parentDir)[1]
+ # reg for discard version and sort number
+ pkgName = self.reData.search(pkgName).group(1)
+ category = self.reData.search(category).group(1)
+ funcPkg = "%s/%s"%(category,pkgName)
+ try:
+ if not self.checkCorrectPkgName(funcPkg):
+ self.printWARNING(
+ _("Package {pkgName} specified in the merge() into "
+ "{templName} template is not found").format(
+ pkgName=funcPkg,templName=self.nameTemplate))
+ return textTemplateTmp[:resS.start()] + \
+ textTemplateTmp[resS.end():]
+ except TemplatesError as e:
+ self.printWARNING(str(e))
self.currentBelong = funcPkg
pkg = self.objVar.Get("cl_merge_pkg")
replace = ""
@@ -3601,6 +3727,9 @@ re.M|re.S)
self.allTemplates = 0
# Объект функций шаблона
self.functObj = templateFunction(self.objVar)
+ self.functObj.printSUCCESS = self.printSUCCESS
+ self.functObj.printWARNING = self.printWARNING
+ self.functObj.printERROR = self.printERROR
# Метод применения функций к шаблонам
self.applyFuncTemplate = self.functObj.applyFuncTemplate
# Объект для определения типа файла шаблона
@@ -3658,7 +3787,8 @@ re.M|re.S)
def executeTemplate(self, code, execPath):
"""Execute template"""
- p = process(execPath,lang=self.objVar.Get('os_locale_locale'))
+ p = process(execPath,lang=self.objVar.Get('os_locale_locale'),
+ envdict=os.environ)
if "/bin/bash" in code.partition('\n')[0]:
p.write("""function translate() {
gettext -d cl_template "$*"
@@ -3771,7 +3901,11 @@ gettext -d cl_template "$*"
varName = mark[self._deltVarStart:-self._deltVarEnd]
varValue = ""
try:
- varValue = str(self.objVar.Get(varName))
+ varValue = self.objVar.Get(varName)
+ if not varValue:
+ varValue = ""
+ else:
+ varValue = str(varValue)
except DataVarsError, e:
raise TemplatesError(_("error in template %s")%nameTemplate
+ "\n" + str(e))
@@ -4131,9 +4265,8 @@ gettext -d cl_template "$*"
for pkg in self.objVar.Get('cl_merge_pkg'):
category = isPkgInstalled(pkg)
if category:
- category = category[0].rpartition('/')[2]
pkgContents = PkgContents("{CATEGORY}/{PF}".format(
- **isPkgInstalled("%s/%s"%(category,pkg))[0]))
+ **category[0]))
for filename in pkgContents.content.keys():
if not filename in self.cltObj.filterApplyTemplates:
self.cltObj.filterApplyTemplates[filename] = []
@@ -4281,6 +4414,11 @@ gettext -d cl_template "$*"
self.getApplyHeadDir(newDir, dirInfoFile, opt)
if createdDirs:
self.createdDirs += createdDirs
+ if os.path.isfile(pathDir):
+ self.setWarning(_("{dirpath} is file").format(dirpath=pathDir))
+ self.setWarning(_("templates in {tempath} is skipped"
+ ).format(tempath=path))
+ return None
if objHeadDir:
return pathDir, objHeadDir
else:
@@ -4392,11 +4530,11 @@ gettext -d cl_template "$*"
# add packeges for reconfigure
if "merge" in objHead.params:
mergePkgs = objHead.params['merge'].split(',')
- reRight = re.compile(r'^(\w+-\w+/)?[\w+-]+$')
- for wrongPkg in (x for x in mergePkgs if not reRight.match(x)):
- self.setError(_("Wrong value '%s' for 'merge' in the template")%
+ for wrongPkg in (x for x in mergePkgs \
+ if not self.functObj.checkCorrectPkgName(x)):
+ self.printWARNING(
+ _("Wrong package '%s' for 'merge' in the template")%
wrongPkg + ": " + nameFileTemplate)
- return ([], False)
for pkg in mergePkgs:
if not pkg in self.objVar.Get('cl_merge_pkg_new') and \
not pkg in self.objVar.Get('cl_merge_pkg_pass'):
@@ -4668,7 +4806,7 @@ gettext -d cl_template "$*"
self.closeTemplFile()
objHeadNew = fileHeader(nameFileTemplate, self.textTemplate, False,
templateFileType ,objVar=self.objVar,
- function=function)
+ function=function,templateObj=self)
# файл шаблона не будет применен
if not objHeadNew.headerTerm:
if objHeadNew.getError():
@@ -4679,11 +4817,11 @@ gettext -d cl_template "$*"
# add packeges for reconfigure
if "merge" in objHeadNew.params:
mergePkgs = objHeadNew.params['merge'].split(',')
- reRight = re.compile(r'^(\w+-\w+/)?[\w+-]+$')
- for wrongPkg in (x for x in mergePkgs if not reRight.match(x)):
- self.setError(_("Wrong value '%s' for 'merge' in the template")%
+ for wrongPkg in (x for x in mergePkgs \
+ if not self.functObj.checkCorrectPkgName(x)):
+ self.printWARNING(
+ _("Wrong package '%s' for 'merge' in the template")%
wrongPkg + ": " + nameFileTemplate)
- return ([], False)
for pkg in mergePkgs:
if not pkg in self.objVar.Get('cl_merge_pkg_new') and \
not pkg in self.objVar.Get('cl_merge_pkg_pass'):
@@ -5052,7 +5190,7 @@ gettext -d cl_template "$*"
def fileIsUtf(self, fileName):
"""Проверяет файл на кодировку UTF-8"""
- if os.path.exists(fileName):
+ if os.path.isfile(fileName):
FD = open(os.path.abspath(fileName))
newTemplate = FD.read()
FD.close()
@@ -5060,7 +5198,8 @@ gettext -d cl_template "$*"
newTemplate.decode("UTF-8")
except:
return False
- return True
+ return True
+ return False
def joinTemplate(self, nameFileTemplate, nameFileConfig, optFile={}):
"""Объединения шаблона и конф. файла
@@ -5092,15 +5231,9 @@ gettext -d cl_template "$*"
return []
if templateFileType != "bin":
- # Вычисляем условные блоки
- self.textTemplate = self.applyTermsTemplate(self.textTemplate,
- nameFileTemplate)
# Заменяем переменные на их значения
self.textTemplate = self.applyVarsTemplate(self.textTemplate,
nameFileTemplate)
- # Вычисляем функции
- self.textTemplate = self.applyFuncTemplate(self.textTemplate,
- nameFileTemplate)
flagCopyTemplate = False
if not optFile:
optFile = {"path":os.path.split(nameFileConfig)[0]}
@@ -5110,6 +5243,13 @@ gettext -d cl_template "$*"
optFile)
if not objHeadNew:
return filesApply
+ if templateFileType != "bin":
+ # Вычисляем условные блоки
+ objHeadNew.body = self.applyTermsTemplate(objHeadNew.body,
+ nameFileTemplate)
+ # Вычисляем функции
+ objHeadNew.body = self.applyFuncTemplate(objHeadNew.body,
+ nameFileTemplate)
# Настоящее имя конфигурационного файла
nameFileConfig = filesApply[0]
# Флаг - кодировка с бинарными примесями у файла шаблона включаем при
diff --git calculate/lib/datavars.py calculate/lib/datavars.py
index 02b1d4a..1791281 100644
--- calculate/lib/datavars.py
+++ calculate/lib/datavars.py
@@ -33,9 +33,9 @@ from types import StringTypes
def addStdConfig(fileLst,prefix='/'):
stdPath = path.join(prefix,
- "/var/lib/layman/calculate/profiles/calculate.env")
+ "var/lib/layman/calculate/profiles/calculate.env")
if not stdPath in map(os.path.abspath,fileLst):
- return fileLst + [stdPath]
+ return [stdPath] + fileLst
return fileLst
def itemgetter(*args,**kwargs):
@@ -757,9 +757,10 @@ class SimpleDataVars:
searchProfile(iniFile,'calculate.env'),prefix=self.systemRoot),""))
else:
config = cl_template.iniParser(iniFile)
+ importVars = config.getAreaVars("main")
for varname in self.allVars.keys():
if not varname in self.cache:
- val = self.unserialize("string",config.getVar('main',varname))
+ val = self.unserialize("string",importVars.get(varname,''))
if val:
self.cache[varname] = val.encode('utf-8')
diff --git calculate/lib/format/world.py calculate/lib/format/world.py
index 69bfc4f..7d93488 100644
--- calculate/lib/format/world.py
+++ calculate/lib/format/world.py
@@ -22,7 +22,7 @@ class world(objShare):
"""Класс для обработки конфигурационного файла типа procmail
"""
- _comment = ""
+ _comment = "#"
configName = "world"
configVersion = "0.1"
sepFields = "\n"
@@ -66,15 +66,15 @@ class world(objShare):
for k in txtLines:
textLine = k + endtxtLines[z]
z += 1
- #findComment = self.reComment.search(textLine)
+ findComment = self.reComment.search(textLine)
if not textLine.strip():
field.br = textLine
fields.append(field)
field = fieldData()
- #elif findComment:
- # field.comment = textLine
- # fields.append(field)
- # field = fieldData()
+ elif findComment:
+ field.comment = textLine
+ fields.append(field)
+ field = fieldData()
else:
pars = textLine.strip()
field.name = pars
diff --git calculate/lib/variables/env.py calculate/lib/variables/env.py
index 44da0c3..af1a6a3 100644
--- calculate/lib/variables/env.py
+++ calculate/lib/variables/env.py
@@ -252,3 +252,28 @@ class VariableClEbuildPhase(ReadonlyVariable):
"""
def get(self):
return os.environ.get("EBUILD_PHASE","")
+
+class VariableClEmergeInfo(ReadonlyVariable):
+ """
+ Emerge --info cache
+ """
+ type = "list"
+
+ def get(self):
+ return filter(lambda x:x.startswith('PORTDIR_OVERLAY=') or \
+ x.startswith('PORTDIR='),
+ process("emerge","--info",envdict=os.environ).read().split('\n'))
+
+class VariableClPortdirOverlay(ReadonlyVariable):
+ """
+ Overlays path
+ """
+ type = "list"
+
+ def get(self):
+ emergeInfo = self.Get('cl_emerge_info')
+ for line in filter(lambda x:x.startswith("PORTDIR_OVERLAY="),
+ emergeInfo):
+ return filter(None,
+ line.partition("=")[2].strip('\n"\'').split(' '))
+ return []
diff --git calculate/lib/variables/linux.py calculate/lib/variables/linux.py
index be3bbb2..e3e6bdd 100644
--- calculate/lib/variables/linux.py
+++ calculate/lib/variables/linux.py
@@ -240,8 +240,9 @@ class LinuxDataVars(SimpleDataVars):
VariableOsLinuxBuild(systemRoot=systemRoot))
makeprofile = path.join(systemRoot,'etc/make.profile')
if os.path.exists(makeprofile):
- inifile = path.join('/etc',os.readlink('/etc/make.profile'))
- self.flIniFileFrom(makeprofile)
+ inifile = path.join(systemRoot,'etc',
+ os.readlink(path.join(systemRoot,'etc/make.profile')))
+ self.flIniFileFrom(inifile)
inifile = "etc/calculate/calculate.env"
self.flIniFileFrom(path.join(systemRoot,inifile))
iniFile = "etc/calculate/calculate3.env"

@ -95,6 +95,7 @@ EBUILD calculate-utilities-3.1.1_alpha2-r21.ebuild 825 SHA256 190f3763f47cf8dbe0
EBUILD calculate-utilities-3.1.1_alpha2-r22.ebuild 825 SHA256 606e680d83155a596e621b60a39cbe8c7ec858526e499d939a7de7739559fa24 SHA512 38f3de96766f3968d45a174f86564a3fef1413604c51ed3d580b714245c53e402d155d0d3ab7e7b218022d79bcdca246ef213b1b24c6fad1d170eee1bd5cbb11 WHIRLPOOL 1646c283d3a565489b789e4504925d771f9e9a28da7f49ca2f3dccacd343a1a4a47bbc83dbaf3416b67c4fbbe4fd8170e2913b79d14501da3ccfc496ffd57f24
EBUILD calculate-utilities-3.1.1_alpha2-r23.ebuild 825 SHA256 a27470af85063ca90cd615f192a1cc5fbfef05ea232cdf556324b32dec6808ee SHA512 da6c32376dc5546fa4b6ac4731a25214478da26bc662d6d952f7a2fc460d854d820fbdd232a60a1a7b033deb46209f2da9c8b52a4e35d792e63e64ed52a45e15 WHIRLPOOL ba89e1f9e3d540a5c72622fac22caf1cb4e6ba7766248076af2f21a2863dd83ea05dda3b2a9f77c877c411e6c4aa5f85188c3f28da58e546add707ed1a943388
EBUILD calculate-utilities-3.1.1_alpha2-r24.ebuild 825 SHA256 71affbfba490b0fc56c4e64bb2d09dea2faf1e95412779e266695799b22b018c SHA512 96919719cc62d0f547dd6b712c30091a87cd074f00c2bebbb4292df0562c137d367a05da0dd2c5fe2f6df5533d334d54c867b23b4cc6d896798754681e8a77da WHIRLPOOL 91a07ade34eb74a014ec4e28fa2963a0533996e08239ad8d1713e2e764f40feabf17fb69ed32ee964693454da96d6c11ed1043d0ae667e489c89d60da937473c
EBUILD calculate-utilities-3.1.1_alpha2-r25.ebuild 825 SHA256 1bca67b3dd4ae1ddcc9560812fbb032e816b2931e7b9dd8952f9e1de1348325b SHA512 bb234407ecb3057d7ca0c23531e116aa8908c617f25ba430f1354e160b2a8829fd7c1da0e6b1f254bdb83d39af770cb2e64a8067f3ec751c112883b2f979c5af WHIRLPOOL ee4770c9b70d38d94657e883cfbe36935bc488020fac7bc5eef6f7a27660365fb3f1a1624fef68669bbc42da916b2566a4bc30faf816f2760cf4489a685be37f
EBUILD calculate-utilities-3.1.1_alpha2-r3.ebuild 812 SHA256 0487e98bdecdd898deb5226b0d65aef9b34f5c0338865484718fece5afb2e59f SHA512 22d698366844041accad94a7464f9f9bdfaf137328ae628e7e37ecf080293f2b472fabceca1098ad5a09254430e01b44fb01ae2e20dd5c6f53abfe1cb97f4722 WHIRLPOOL faddda116dca5eaa52c6b9d505923cae96382f7f39d1921d1c84816af484f08b7e9da856b9514e8133cd8f8daa74782930223a14a3f90222a76cbf691bd159ba
EBUILD calculate-utilities-3.1.1_alpha2-r4.ebuild 815 SHA256 12c8d2ca9c3813aaa2ac0f831ea5b362c99adc09b3018070c143f681ede69c70 SHA512 42d207ebffddf00d5863bde87ca4ddf247df4032ade14cdb488ea78aa47a45fd2f4933fe8dd1d8bf1e8ce590feaeba032643c65cd5fbb309b6f33ba3e503a5cb WHIRLPOOL 1d41a910d291f246fec99376c3be44abf51829cab9ff2067ff2f5e1a15bfe16691f9013ba5aeee5a0d549ef880249de0b472538df8acc6798f276358e0da911f
EBUILD calculate-utilities-3.1.1_alpha2-r5.ebuild 815 SHA256 9564585c5246c43680f53cde260fd42778e1623d51c379b2d5c27590f7173297 SHA512 944e6d28beccbb82a3b633f93b8c6beb93b24554619e27feb1fefeef28364e78e8294ebd776e144cd8e5d8c80708f1fb6168c2ee49b0bd04eb2e2ddf42366bcf WHIRLPOOL b5cdbe8e5588b430818da660c1faa9445c2d271e7530b59b68829ea90454f7579f5eb530d7f09b5ff739874f2701262f10f247f04cc4b9e062f5396b0ec615eb

@ -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_alpha2-r6
=sys-apps/calculate-i18n-3.1.1_alpha2-r1
=sys-apps/calculate-lib-3.1.1_alpha2-r17
=sys-apps/calculate-core-3.1.1_alpha2-r6
=sys-apps/calculate-update-3.1.1_alpha2-r3
cl_client? ( =sys-apps/calculate-client-3.1.1_alpha2 )
cl_desktop? ( =sys-apps/calculate-desktop-3.1.1_alpha2-r2 )
cl_consolegui? ( =sys-apps/calculate-console-gui-3.1.1_alpha2-r1 )
cl_console? ( =sys-apps/calculate-console-3.1.1_alpha2 )
"
Loading…
Cancel
Save