Удалены устаревшие ebuilds

mhiretskiy
Mike khiretskiy 10 years ago
parent 648fcc2785
commit 6de6a3df59

@ -1,20 +1,6 @@
AUX calculate-client-3.2.0_alpha5-r1.patch 923 SHA256 d03f7f8f871fd399e357ccdf65e8dc8576b3665c9b41e022f808728f879fffc5 SHA512 a9fdb709f2d85bad67ecb703b808580e0644fca403ddf0cec22ba0bfd9d66eebead423288f2ac3b3ceeb5542e6f6c37aea70ae8487e02aae704abab37863a4b4 WHIRLPOOL 550b4d0e7a9bc15e34a4da67533fd92c26fdde2302636a8808cf5d0018ede5106837780dc4238841093285d4da951849f4f0d241036ffc4905fdb0fe5a945f53
AUX calculate-client-3.2.0_alpha5-r2.patch 1606 SHA256 3958bba1ed3b73befebb7d1317fe1488a4568ad49ffcbdb0ebd4879052967c8d SHA512 890fd6d886eb1672b38ed0e6d5c10a8f273b7849a44736717c0f5cce9b7898a43757687ff5c64384ef36e8765ad44fa58bc060d9cbe544a309ef6171a54e1b08 WHIRLPOOL 6061dc34ad46be179064ea9d01e2c7d27442b3d4a75007057bb483a757ffa178ea3f79356c29057688742b80ef549e54492450e2214c1537e52ce45063c0c5f3
AUX calculate-client-3.2.0_alpha6-r1.patch 995 SHA256 9dbd39647220dfd93fb759b039b583c724abcfb25910813783635a6707421c31 SHA512 3b2ccd132cf820b016c1d103bbf7e9fc66b2fd82e967da930eb5149f7b0e3e40d752371c077be9fa9e548433716a47ac0791c5eebd4976ab1d926ad9df42a137 WHIRLPOOL 2c24d021aa5fa5c696b65d5c2a747fb564d1697c8343ff8d65328dff64fec6bf176cf9cd32333e7f56a67e68c2bb25349be3f194afc532576857cdd29d1fa77a
DIST calculate-client-3.2.0_alpha1.tar.bz2 30724 SHA256 7a18e17eccaf39f562cfb4d8519cb53771b072dcaf8fd0d3870459ba7d860977 SHA512 2900d0a67b895bd300a2b8b726b698c0997634229516d163ea832fd58cbefbde69675ac309b8d25be728ef9048647c8b157d8daec60b61e62046c261526f0ab9 WHIRLPOOL 41e7758b0a7ab62667ffa4926cb5e70b86d357b0bad3bee0c216aa5821e943cf6b27cf4b5ec212c6edc85fec0c6abd405037856058b3dc9766aa0cc9a6d73fdb
DIST calculate-client-3.2.0_alpha2.tar.bz2 30717 SHA256 f8b77a56913ddbd8d1cd1d5b73b2559b0bb03c7d591d2e90fbff706e5c5e3f4d SHA512 46e0c32f92e6323d8acdf08cfc19c86d7d4a0c2f6f14df465a05ef9a7cef8aec357ee2e0b25dae6db83ba6315488e60cc03b1bb4c946bc135fd7041b30d55072 WHIRLPOOL a4a39cb93ff107a36c1acaee3c80d6a03312be0eda19060528afe2d3c880245778e5b765f1bc99c093ca50d83092fad0c53c55558170d29465fc8cfe446cce6f
DIST calculate-client-3.2.0_alpha3.tar.bz2 30738 SHA256 547abf55a5ccfa907240545731584a5cb9147b8d3d61d7075268fe26708a2750 SHA512 6240f350779617961dd11eed65c4f30036e1517f87f58f171450f3b7b1fd46a54f2042469e07aa4b6482f5a7f1b55ad6efc1f7170810f4c1fe16428775689343 WHIRLPOOL d03ade233f1bd2af892fad8863cf89b73aa32040543be96e61baf2eb7908f03ba575357790366d1819e592799c6025a793d9661c7c54e7457e05b8f84ec4f101
DIST calculate-client-3.2.0_alpha4.tar.bz2 30734 SHA256 520425ebd76fec5048f65164ce3450c16a082ab9ba5904259593bfbe00ce4dce SHA512 fa3aed01c759490deea9a2b6808e8ea5955214cb857c30b0996f21fa2f16ce3d9951e3d0c56c1d53b544f4a0e933aa6128627e9c79463eacacf08b09033a17bc WHIRLPOOL 39331537f2d1a7f19d262ee4c823989114528c43ac34dc34d419de4c88b7aee21428ae5cc4a0de01e9c9fe1d6ad3d93d167e408c09351b0e22a2bc8f97c13b50
DIST calculate-client-3.2.0_alpha5.tar.bz2 30734 SHA256 798c382baf2677a55dd78c57e72c021f830823ce0834e9d478f1b64ee723bea0 SHA512 94c3c43ad97d06e14719f2da26f694de9efa9e50f9cdf575e74965fef9ea33c044c2fa9d57e1661dc3bc43e1be91644aba7ab600ef4070a7dbc8611de848f551 WHIRLPOOL 825516fa108de8fd4693afebbb558a1b2d59dd78fc2a7c24ef9c357b220e78643b97282dabe96ff0746f743d3cb2ace8b4428f4ef287893568ba8dd8f76978b6
DIST calculate-client-3.2.0_alpha6.tar.bz2 30759 SHA256 aac019ef714289bb078533875b2306f0c2b5f0c8e7aedb53661915885b5a3f40 SHA512 f4340b67db93a5d19bfdd0ce9143a9dfb7112a6bbfaa4b4f50cbce7e2253771054e1f19d9e8dbb00a4b75553578c31d5987192c8e23bf9c83987cae9ccc3d738 WHIRLPOOL 05d2b92f74b8b19de1612a449192458f6bcdfec13f4ccf10d779e8e6c96a617d64cd4db45d2cb1bfc964dc9a1d279e4af80696884681d065b08d1d4d4c450d3a
DIST calculate-client-3.2.0_alpha7.tar.bz2 30805 SHA256 9ef873ec020afddbdfee38ff56cb448ee6b10bd0eccdfb5853e5dd17d885aa3b SHA512 bdc0b50976c035affb7bf1bc4c00e80d381d124397d480d4810b257ed8186ce50e8e51eff77ccad5523fa719e64ee73b59a35a65997dd1850143a4de5db4c69c WHIRLPOOL 89fd15427122c1df21e27ed0512d9abcdf56cedce1bad23f97f185a39c652cdcd7930acc6d61d72cd47c29c733fb684847479f1128c5e15b49c71f458c639bd3
EBUILD calculate-client-3.2.0_alpha1.ebuild 830 SHA256 2c2266ea62a8d9e20cffd4de712f99a99b45fb39e150492e44015980d0fcaaea SHA512 dff3ab4a9a6637322d6fbc4ed2a6e9bd105795206167b6570b09a97f864dc611d6b6baefd3fef244275511154b60d555a973d996ca75724dcea8afaf8c3360e7 WHIRLPOOL eddc6aac56d42b0de1ccb0deed43de4b4dc4862c9f67c3c07cde426792f60679eb2f4597a71f24ceed5e652507dd8a3554391165ef68adbd1e7da43ee4293859
EBUILD calculate-client-3.2.0_alpha2.ebuild 828 SHA256 6a01af2ed5e71b5016b90d3f7c43e8356a62b5c52a381f18d0ed989f39b79efe SHA512 2d2500684296286eb716a892dd2d1fffd2aec90de8672db0a5a6a08336ed1c49a1938e59b21c5cdb0ca52ef72f7158d1de5eac7eaa39977811606dfe332452de WHIRLPOOL 402dd5b777651ac333f925a54231022e1fc7e7a883448910c88d064c5689e3b1792848fdbb3131d2d77a655f381d340d5f75bd27c4a0236f0852fcf71cfdf71c
EBUILD calculate-client-3.2.0_alpha3.ebuild 828 SHA256 89f8291eb08d6545d3e55c426cc6dcdb40b7eec0304a9c5b5424899f04d433a3 SHA512 42398e49bf2d8e6f3b4d6de04f35d1badc2585ea764a29648e05dbb490c80e6454f03c6f900a9494d54955adfa7bf3ff1ef916a98aac49be761b10dcf198616e WHIRLPOOL 788be170ff55ad68c03362fe7ac90f19a123aac6beed1bda1835f65ebedc6684daaf6393a8a76becc5a6267cd512f41a9f2f8b509451817e023cc452de23e657
EBUILD calculate-client-3.2.0_alpha4.ebuild 828 SHA256 65b79560b41367242088b853d0f78c3837f92abee08c6c1540b421d8ba922aaa SHA512 677c7af85cb77ee07de82dc6d46cb0f3128b228393ade4b446f27420be7e4d4d30cbe82ef9d0636790fdc4a8ee9dd6c021a88826337a75e75ade598415d1648d WHIRLPOOL 82e8e96a60cb904def089a5ae8f2d4a26c206d585dd4807a5686602322893a954ed0ea858da01800b811c6030f42a0b61cc3dff16f3c81e1cc471886fe74b513
EBUILD calculate-client-3.2.0_alpha5-r1.ebuild 972 SHA256 5995870a555358457db392cf18b1457f59bea39d7209d3d42b6fd6cdd5fae3b5 SHA512 944c2158c65321925c3776f58ca0dbca183adfe7b8208e846bf10baff735c9d2b5d912d07a98b389ecc8b090527232dac1bfd2baaf7d1624db33211aad954394 WHIRLPOOL 873388d4b5109bbc2decbf60e260f1a8434356d5de0afd094ea1db4edd79207c385df8dbdeaea22ff2f9a382c90481c8f51435fafd8f3809e533df25f9f850e7
EBUILD calculate-client-3.2.0_alpha5-r2.ebuild 972 SHA256 4f2940a3e3e0c79d18f5b3fc82b5c97ef719888343515ad3eb7b7560fd5d985f SHA512 b215d6ec70655d60db35aa94efb6ffe99f5fc8d512b08f2096ba7e9af4538ec7b8afd97c2dca7bd8d251ebffee1cbba863073e758960aeff69acc61317857dff WHIRLPOOL c66d3586ad3263dc84d55f4efb3c5a352ce0bd4918dca10c4d98696c2e9806dc36b934d34088a1748559753dd6175b024f11e0229266ddd61ebac7232bf3c423
EBUILD calculate-client-3.2.0_alpha5.ebuild 828 SHA256 f5043b208fca10e64fc8a6d88b9433d3107ab92da386c0c5e2c69805a26919a6 SHA512 dd200efcd2caead853bdf776b3ac04a248ed08f2ca47f245e683a574ee967fa0f346a40b8b34ce82a10af71d8459ec97235d0e72ee70603a5a55df87487341a0 WHIRLPOOL 472df7c480edc9f9c0fb30effda52b17d95a4a547db9acf30cc107724e009238a07fa6479524bc89e5245969be7780d5773c8d43cf962e9f35dbcc337b44f05f
EBUILD calculate-client-3.2.0_alpha6-r1.ebuild 972 SHA256 faf0027efb77d952c02fec5bbb4c291da37dc17a0fc7b1f45c68c86e801bbc65 SHA512 09c9e029d225fbe036980c8ba6e0aa5a023d6ed845e8dba7594844f182a03a53826bd01fa3c25e8e40a0f6ec759e222de7c94adfd5e8637b30f036f9f5108674 WHIRLPOOL f1146e1262d43d6d2d5d49d5101b47a755622e20ea01a412470ae0afc2474bbde6f2106ca902ff2063c65ba74be2f470f58170d4b112367e73edb2dee854c3ce
EBUILD calculate-client-3.2.0_alpha6.ebuild 828 SHA256 2f7ed2e2aaad344adf47f37e5b67f6e3d59505528c979bbed19febe0bc4d3e88 SHA512 365d6065ded45945f6d2f6c68bb09e4afb888014a020bba6cc1b0ba843c2c66d2dc37979f5feea8bf8fffa3ac7a4e347c9a2668822c84d2f32aa55afa4ca524f WHIRLPOOL af3711a7bc070ca95b5115539ad50f76a8fa64fe62779657328d6a8ddc97b1dc57f0d81ef3b1d0c90e93078faeff61f4446936d92fb5eba5ec47ea6bae8a4fb9
EBUILD calculate-client-3.2.0_alpha7.ebuild 828 SHA256 c39c845a8fbfe2b332616a4cc5deebb943639503305a14d7f5e55fe874c76ee1 SHA512 c109f55b2bf7a5fe0cfa57aed43e58584ef6fbc4cb9215e328b624e3f9453513a17942200c72a3c35728de6a9b6a388262f5b53b5a29f49132779ceef19697e3 WHIRLPOOL a3f12e67d63755c409196864ecf45af4d31f2defad74e3e30ec4be335a03e55324cd7804cbdb8e5eab1c13a3c92e15e4ac5de56b0d9ef4f6ace62fae97ee995d

@ -1,32 +0,0 @@
# 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 setting and storing the user account in the domain"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="~amd64 ~x86"
DEPEND="~sys-apps/calculate-desktop-3.2.0_alpha1
!<sys-apps/calculate-client-3.1.0
>=dev-python/python-ldap-2.0[ssl]
>=sys-auth/pam_ldap-180[ssl]
>=sys-auth/nss_ldap-239
>=sys-apps/keyexec-0.1.2
dev-qt/qtdbus
sys-apps/keyutils
sys-auth/pam_keystore
sys-auth/pam_client
dev-lang/swig"
RDEPEND="${DEPEND}"

@ -1,32 +0,0 @@
# 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 setting and storing the user account in the domain"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
DEPEND="~sys-apps/calculate-desktop-3.2.0_alpha2
!<sys-apps/calculate-client-3.1.0
>=dev-python/python-ldap-2.0[ssl]
>=sys-auth/pam_ldap-180[ssl]
>=sys-auth/nss_ldap-239
>=sys-apps/keyexec-0.1.2
dev-qt/qtdbus
sys-apps/keyutils
sys-auth/pam_keystore
sys-auth/pam_client
dev-lang/swig"
RDEPEND="${DEPEND}"

@ -1,32 +0,0 @@
# 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 setting and storing the user account in the domain"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
DEPEND="~sys-apps/calculate-desktop-3.2.0_alpha3
!<sys-apps/calculate-client-3.1.0
>=dev-python/python-ldap-2.0[ssl]
>=sys-auth/pam_ldap-180[ssl]
>=sys-auth/nss_ldap-239
>=sys-apps/keyexec-0.1.2
dev-qt/qtdbus
sys-apps/keyutils
sys-auth/pam_keystore
sys-auth/pam_client
dev-lang/swig"
RDEPEND="${DEPEND}"

@ -1,32 +0,0 @@
# 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 setting and storing the user account in the domain"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
DEPEND="~sys-apps/calculate-desktop-3.2.0_alpha4
!<sys-apps/calculate-client-3.1.0
>=dev-python/python-ldap-2.0[ssl]
>=sys-auth/pam_ldap-180[ssl]
>=sys-auth/nss_ldap-239
>=sys-apps/keyexec-0.1.2
dev-qt/qtdbus
sys-apps/keyutils
sys-auth/pam_keystore
sys-auth/pam_client
dev-lang/swig"
RDEPEND="${DEPEND}"

@ -1,40 +0,0 @@
# 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 setting and storing the user account in the domain"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
DEPEND="~sys-apps/calculate-desktop-3.2.0_alpha5
!<sys-apps/calculate-client-3.1.0
>=dev-python/python-ldap-2.0[ssl]
>=sys-auth/pam_ldap-180[ssl]
>=sys-auth/nss_ldap-239
>=sys-apps/keyexec-0.1.2
dev-qt/qtdbus
sys-apps/keyutils
sys-auth/pam_keystore
sys-auth/pam_client
dev-lang/swig"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-client-3.2.0_alpha5-r1.patch"
}

@ -1,40 +0,0 @@
# 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 setting and storing the user account in the domain"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
DEPEND="~sys-apps/calculate-desktop-3.2.0_alpha5
!<sys-apps/calculate-client-3.1.0
>=dev-python/python-ldap-2.0[ssl]
>=sys-auth/pam_ldap-180[ssl]
>=sys-auth/nss_ldap-239
>=sys-apps/keyexec-0.1.2
dev-qt/qtdbus
sys-apps/keyutils
sys-auth/pam_keystore
sys-auth/pam_client
dev-lang/swig"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-client-3.2.0_alpha5-r2.patch"
}

@ -1,32 +0,0 @@
# 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 setting and storing the user account in the domain"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
DEPEND="~sys-apps/calculate-desktop-3.2.0_alpha5
!<sys-apps/calculate-client-3.1.0
>=dev-python/python-ldap-2.0[ssl]
>=sys-auth/pam_ldap-180[ssl]
>=sys-auth/nss_ldap-239
>=sys-apps/keyexec-0.1.2
dev-qt/qtdbus
sys-apps/keyutils
sys-auth/pam_keystore
sys-auth/pam_client
dev-lang/swig"
RDEPEND="${DEPEND}"

@ -1,21 +0,0 @@
diff --git setup.py setup.py
index 1209a33..f873cdf 100755
--- setup.py
+++ setup.py
@@ -24,10 +24,16 @@ from distutils.core import setup, Extension
from calculate.install_data import install_data
data_files = [('/etc/init.d', [('data/client',0755)]),
+ ('/usr/sbin', [('data/logout', 0755)]),
+ ('/usr/sbin', [('data/cl-client-resume-remount', 0755)]),
('/usr/share/calculate/xdm/login.d',
['data/login.d/10client']),
+ ('/usr/share/calculate/xdm/login.d',
+ ['data/login.d/15resume_remount']),
('/usr/share/calculate/xdm/logout.d',
['data/logout.d/10client']),
+ ('/usr/share/calculate/xdm/logout.d',
+ ['data/login.d/15resume_remount']),
('/usr/share/calculate/xdm/',[('data/wait_domain',0755)])]
setup(

@ -1,36 +0,0 @@
diff --git data/logout data/logout
index 09abf5d..18bb8b6 100644
--- data/logout
+++ data/logout
@@ -21,8 +21,8 @@ then
# переменная online_data возвращает строки пользователь,дисплей
for user_disp in $(variable_value desktop.cl_desktop_online_data | sed -r "s/;/ /g")
do
- user=$(echo $user_disp | cut -d, -f1)
- disp=$(echo $user_disp | cut -d, -f2)
+ user=$(echo $user_disp | cut -d: -f1)
+ disp=$(echo $user_disp | cut -d: -f2)
# завершаем сессию пользователя
/usr/sbin/cl-core --method desktop_logout $user &>/dev/null
# удаляем запить о пользователе
diff --git setup.py setup.py
index 1209a33..f873cdf 100755
--- setup.py
+++ setup.py
@@ -24,10 +24,16 @@ from distutils.core import setup, Extension
from calculate.install_data import install_data
data_files = [('/etc/init.d', [('data/client',0755)]),
+ ('/usr/sbin', [('data/logout', 0755)]),
+ ('/usr/sbin', [('data/cl-client-resume-remount', 0755)]),
('/usr/share/calculate/xdm/login.d',
['data/login.d/10client']),
+ ('/usr/share/calculate/xdm/login.d',
+ ['data/login.d/15resume_remount']),
('/usr/share/calculate/xdm/logout.d',
['data/logout.d/10client']),
+ ('/usr/share/calculate/xdm/logout.d',
+ ['data/login.d/15resume_remount']),
('/usr/share/calculate/xdm/',[('data/wait_domain',0755)])]
setup(

@ -1,19 +1,5 @@
AUX calculate-console-gui-3.2.0_alpha5-r1.patch 752 SHA256 cc1ce918363673baa06b83e07237a234ea46663a779d5636733143525be9776f SHA512 a13e3c74a17840b95856d8b981ceddf5924178fe647cf7699f3ff4626b252d520a305c25baa26ae16a3c2e9aa2d49b8140c45607be138f1d513dfd9cbb1a0c11 WHIRLPOOL 5c2861bd7663b0355196e604dae304b8e5ecdf446cefdefde67f515157785e7565874907b0ec2cb7f3ed2dc3be1747c5a4f281b828f76b2d5537552a2908bdee
AUX calculate-console-gui-3.2.0_alpha5-r2.patch 3780 SHA256 76f8d2cdef3bdad3fee4f29b828f268561a0cecb41304f7617ea80189cc4b82c SHA512 bb6ffd23be55db7947e12c3319f6c7e2c9c71853e158236c8b8b33e7ac4be049c1b2a5cb0e75702e09bbe4f20455c5c13000905e4b750a345773ff2e15cc7608 WHIRLPOOL a41315ce832dec8e18d81eb4dbdd2471ca097db801f03ffeefade2bbce911ff25f4ebb4d8776b9c033fc19901ccf40d0c013bb86058c84cd8c6d4510127a8576
DIST calculate-console-gui-3.2.0_alpha1.tar.bz2 320250 SHA256 8399ccbe7e1674f969f23eed8c55553cfd0b95a7f4b48ed1fa20d8f5b99996e4 SHA512 c8681b4261b4fb759e7db11c75c6c05cb84dfa21fc49a178b396e4ee255bc88c048b0030ecb51b18e6163a100ecff27466916bcf585bc41310d1d54c9a13fa5c WHIRLPOOL ac7a815f7937bd68d2e3f9d7ef6823c87933dd64b7268a16ca65a151fe17d454aec77fa6e315607b554c372e6b9cf51dd6b4e26ecdbe0143fecc5219770ddc7f
DIST calculate-console-gui-3.2.0_alpha2.tar.bz2 319438 SHA256 73a0a472866a6bcdca5e2f3e9a10229d7d773604a0026807c293829264ac7be9 SHA512 d3064e751bb83a16560942b7e193e4ae1b421a7525f70001990ee7060401d14c7be511ed0eaedaf76cf5e6ac5fbe2782bdbbc5042911c6c5ca7b9b55acc910ef WHIRLPOOL c4d72c404ab61f44537f246b86fa15b7ad9fb6e4c3a2b8661d07a72b1b1a10ca380ccd5239eed652f501f9eee7e2508e8fc6bac2f8560635e809c6da2608529f
DIST calculate-console-gui-3.2.0_alpha3.tar.bz2 319575 SHA256 f808ec79be33f2b81bce0fbff2ef707f92b5c0fbedbda04511283e3bfdf04818 SHA512 151722d110a8f517b94e07010e0d4d93d29c98160e6efaf7558e4d586bafa416bfb1f44e5b21a683492dc66ed9ed37fcb9f81117397f14c8519aa5c1b4ea1940 WHIRLPOOL cb797f7b03d125146c4d875608f3ee8bd6b064d7751762f14fea748abca0f93591808a2a01f149ddc3b4a6574b9aa98fbf66ffd21d821b8b5cf1638e12bc8d91
DIST calculate-console-gui-3.2.0_alpha4.tar.bz2 319434 SHA256 0b379df628302ab9afcdb975ecf4c787a95422e80884a030860f636200e60738 SHA512 e04516251302bd4dcc4e71604039dc0ce535208e0f2a0bdf89c45048ae7782ead1d460dbadcc8044d56de403535f8b3f69faa2d18ea4b4d2893c5f08dfa28a18 WHIRLPOOL 3b9fae3f41e9ed0a330352f1a8a21c046d49b45f26e2665bc7105188c17d9911e480e183e36a1530b0ff2e7026c3939ed4aa7f9da1c3a053e6ddbd85716e3ac5
DIST calculate-console-gui-3.2.0_alpha5.tar.bz2 319409 SHA256 65eda4164c9f857746877073ade5faee595bd687874e043a0b4752ee91237c28 SHA512 9a687c620bf31a4b781ea627fb079dac7d8f8f48c9f3e38256ba6e8bf2bc9e1dbb88ca3995ee3f4d34a11d93757ed4dd49d68eee2dfc3fad48e480f6917d56df WHIRLPOOL 45aa450af761f2c4590204fe37d99d10c68a8754075ad5c67237dcb8833f9e1dfc07ea597bf3abe5720eadca2ff99aef8d0301d77eff0edc37e4c5ec5e150c34
DIST calculate-console-gui-3.2.0_alpha6.tar.bz2 319528 SHA256 3e17f90e7dd32f66268a40de12184fa7b7e4a2bdb6545695d99f16633ade00f0 SHA512 0a2d28551b2536889d6aef9d1ddc751d55e3ef34cfc9c25f2f2a85ced132570bcad5864776bedf93359193de5a1690f7f194f75d6d09777429120e88feaf6026 WHIRLPOOL a5095f2e385eecad4a3170d3d0c52614502d57c9e1a9dd52e7f4ff1d1dfda6c17122f31cf312b2fd1f75eee84b6beeb0e3d0b12cbb71f9375b1ee702c2fcc305
DIST calculate-console-gui-3.2.0_alpha7.tar.bz2 319586 SHA256 6a7ab60c3340804144a7429d074c522585a6bd79e69a7686b353e88f57df7be6 SHA512 3c60f3e6cea103906a02429d094c6df3f60816f42848ea69ab475c91e76081ed451a191a946b718b4ee135cd42aa52bed74a4c01698495140b28fe34136c2d62 WHIRLPOOL b44941e00f8cea7f4a45d1d7bc641ea4ad4da027b0bec7dafaffe81ee38517543c26be8d8c3784dfc66342ee5de77a4bc2feb60bc4edd87ef885d96d8be0060f
EBUILD calculate-console-gui-3.2.0_alpha1.ebuild 634 SHA256 795f6e1e109fdc34e5b869de81aad5763c046e464890e4adf6496eb8f29b22cf SHA512 ae799087669681e86c56d52b8aaf5b30b24e82f2053b9965c03314899b5f80c75f66dcf1ec0f87e1965bf0f94a26967607a984dd9650ebdbaade357e7c18a870 WHIRLPOOL 7b3d60a6a186b485e5b98e1041cc71568fea2b3e9ad8cfa68450133dee1ca1a254bf649e556404fdd48556dacd0a1bfbf311cd41c19f485600cd3b2c2d793fdc
EBUILD calculate-console-gui-3.2.0_alpha2.ebuild 632 SHA256 b4ff01b5e24307b2a9428ff003745e5307fbe86fbe7da9a0ce37a92ccfb21f17 SHA512 e3308bbe7a6751e5294d162b4ef6cc8efd77244a76cd91e8a1fb6d7a2d61ac0297cf6f5347388bc36157cd99fb7337eb5560b9689294d7d3c8dde1ea3ac41489 WHIRLPOOL 1cc82edc53b7dc59db6aee608855226f5f235d440a206661e1835ed3daae43c21c22ab64a64e8f2e052cb379fb4561c013c15753480c131f35147587b826ecd3
EBUILD calculate-console-gui-3.2.0_alpha3.ebuild 632 SHA256 8889c22fff2c7632965b02c4f8a76a53f4a8fe5118f599e70c7f7e6d8e7b7fde SHA512 7a25fc80f81838cc2e7fd10637165303b41b25e507071297ebc5843d2bead0fec66df5557056974c4c09c532810fa6a028e62c5603ebfd1417a4b0ffc6401a1f WHIRLPOOL 15e2060c11d0371c2eb4b67f8fd21cf1bfd633984a7a3aaa62b98ceafcce7dda941653a89142a8acc8d14fb99a78cd02de65fa62156d7eb8972eb8d8d6928e22
EBUILD calculate-console-gui-3.2.0_alpha4.ebuild 632 SHA256 36914290a8191390ce98af80bc9b313c5eeca68713a79d625b7506713137f8df SHA512 5fa1ecca0df9c1c5e54963ad5371e2c90814b3323ff409da1147822b91eed462bf941c78d5fc2b02bf55d1a801e38dfeea3ad7d18f010b740423d19f6b9a722f WHIRLPOOL 4a2f14a5d683ba46f028917f9583f2d37996063fe7edcf6b0159ce0581c69940fcb7a0dedb2be7329841b2f816dc7c60a87c79ded4adb6b210d57fe5d3a30ea2
EBUILD calculate-console-gui-3.2.0_alpha5-r1.ebuild 781 SHA256 189eb57587526334fc9c313f8d6cd2ff269bd0cd9b065e6923289c57410ff082 SHA512 63b2a58e6a76f260a14b5f144d7fdb285ff26420286bc22f213cd77549eea63b82d5bd28cb7715bc26bca7788592d864c4cc0160904b984a73f951ccce8cedd8 WHIRLPOOL 8a6ff7e2a87a78dbf14463e348989e508828165b0abfdc023b914bf717282e0620707ec31b33dc312f5031a16877d22ff428a8b6b13933779497cfe5ba78f7cd
EBUILD calculate-console-gui-3.2.0_alpha5-r2.ebuild 781 SHA256 74de6a6cf7819db7ba6601e6c34a35bee8e91be4bcd5ee75e12993dce3988897 SHA512 c7ef13d78b9219d7c0583f97f133d3141a67b8ef22e9399023efa06fd8f0a453f2f85a6d3dda135b647830ab9e40c28fe5b1776dc471be48caf595662956bed5 WHIRLPOOL 9f0f9a3e605df72066ffcdec11ac68a6d4c4969deda19e5a2e1ebe0398746a07cdfa5dc59e6aff881fedaa366f97551d3aa867ff8ab121577f463e56960b3d23
EBUILD calculate-console-gui-3.2.0_alpha5.ebuild 632 SHA256 efebd40d478fee0259a18b0fe1a674aebd5db2efed085ef291d50673a8eb385b SHA512 d8a987dea6d0a4eac99e0977c7ac594931b961b1acd90cbf2ce00d8dd11e878f2b6ec9093b208be5cc6ba90077b5cd4d1b9d14b34f2cb057cbd9ed2a7de3c1e7 WHIRLPOOL e837e98ec4d7906a8f01813bfdcf7c49ca1adfac512c80de6aad4afa3d1893b5ad36fcd174b2f12b8eb56a5787385ded0bae179cd8b8ea6992ce634677e5ec9b
EBUILD calculate-console-gui-3.2.0_alpha6.ebuild 632 SHA256 b6180003b983a8ab9a36df923fddba563537dfabca77af6242cef8fcb89fa797 SHA512 27b304406e5605eb2cd6bf31956c0bf29a854e5dcacd44bc1b7564ccbc9479cd9004f34ea6dd702de0400baf4d24725e25e149ead9eaf4e8c7d866622450e796 WHIRLPOOL ca6f7e35b51ae773260bd24d521936f4e4d95c424cdb535528973e13852a87bd2175fa5c1de86816c97f3b32aaa14dada7ccf142ab45b50391327f0fc383abce
EBUILD calculate-console-gui-3.2.0_alpha7.ebuild 632 SHA256 d29fc2c4465b2ff8131525adced24ef7cc36950b52cd51d70c9e9ff78ae284c8 SHA512 b865474eba6c20e1facedf88ab4090a1ce4a61809cdae0eeafc49b45df2f47220d8904e9e1e3255d81b309c1ea1d732c5972270ad97caacc861c984db1b76fc0 WHIRLPOOL 9b0c1063e5ac11911373f18870270fc4e15f1395749d35d9a2ddf95b0ab1b8b63dd6d7bd4b03381ee180b6e2bd81065ed7f151f38e77fdabbeeffe51164d2f2d
EBUILD calculate-console-gui-3.2.9999.ebuild 578 SHA256 2a87e98828f92ae2e971b1f5f2927af077e93ed7d3fadacea7f7e232c7a09348 SHA512 15da60d40befc9bba51232dd388df2397aea92ec2b25d951a34fc1a298049602370ac53a98bef42995e3ba911c76bb3a838cf5bfd5a3c4a6af7fc33e0fab34fa WHIRLPOOL 895ac120cb615db6493156e16f0a634da178a667b5c45e122218ce0cc0d6abd096827c506d7cad94f0f613b324cf5d4848e11671caf9b34bbc352ba91d9aa20c

@ -1,24 +0,0 @@
# 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.2.0_alpha1
dev-python/dbus-python
virtual/python-imaging
dev-python/pyside[script]"
RDEPEND="${DEPEND}"

@ -1,24 +0,0 @@
# 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.2.0_alpha2
dev-python/dbus-python
virtual/python-imaging
dev-python/pyside[script]"
RDEPEND="${DEPEND}"

@ -1,24 +0,0 @@
# 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.2.0_alpha3
dev-python/dbus-python
virtual/python-imaging
dev-python/pyside[script]"
RDEPEND="${DEPEND}"

@ -1,24 +0,0 @@
# 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.2.0_alpha4
dev-python/dbus-python
virtual/python-imaging
dev-python/pyside[script]"
RDEPEND="${DEPEND}"

@ -1,32 +0,0 @@
# 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.2.0_alpha5
dev-python/dbus-python
virtual/python-imaging
dev-python/pyside[script]"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-console-gui-3.2.0_alpha5-r1.patch"
}

@ -1,32 +0,0 @@
# 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.2.0_alpha5
dev-python/dbus-python
virtual/python-imaging
dev-python/pyside[script]"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-console-gui-3.2.0_alpha5-r2.patch"
}

@ -1,24 +0,0 @@
# 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.2.0_alpha5
dev-python/dbus-python
virtual/python-imaging
dev-python/pyside[script]"
RDEPEND="${DEPEND}"

@ -1,13 +0,0 @@
diff --git consolegui/application/ControlButton.py consolegui/application/ControlButton.py
index 3e42fe9..84b2511 100644
--- consolegui/application/ControlButton.py
+++ consolegui/application/ControlButton.py
@@ -289,7 +289,7 @@ class ControlButtonWgt(QtGui.QWidget):
self.clear_proc_cache_button.setDisabled(True)
sid = int(self.ClientObj.sid)
res = self.ClientObj.client.service.clear_pid_cache(sid, self.pid)
- if (hasattr(self._parent.ClientObj.sys_update_pid) and
+ if (hasattr(self._parent.ClientObj,"sys_update_pid") and
str(self.pid) == str(
self._parent.ClientObj._parent.sys_update_pid)):
self._parent.ClientObj._parent.sys_update_pid = None

@ -1,89 +0,0 @@
diff --git consolegui/application/ControlButton.py consolegui/application/ControlButton.py
index 3e42fe9..ccd7576 100644
--- consolegui/application/ControlButton.py
+++ consolegui/application/ControlButton.py
@@ -146,6 +146,11 @@ class ControlButtonWgt(QtGui.QWidget):
self.break_button = wgt
self.hlayout.addWidget(wgt)
+ def close_break_button(self):
+ if self.break_button:
+ self.break_button.close()
+ self.break_button = None
+
def _hide(self):
if hasattr (self, 'button_widget'):
self.hlayout.removeWidget(self.button_widget)
@@ -289,7 +294,7 @@ class ControlButtonWgt(QtGui.QWidget):
self.clear_proc_cache_button.setDisabled(True)
sid = int(self.ClientObj.sid)
res = self.ClientObj.client.service.clear_pid_cache(sid, self.pid)
- if (hasattr(self._parent.ClientObj.sys_update_pid) and
+ if (hasattr(self._parent.ClientObj,"sys_update_pid") and
str(self.pid) == str(
self._parent.ClientObj._parent.sys_update_pid)):
self._parent.ClientObj._parent.sys_update_pid = None
diff --git consolegui/application/MainFrameResult.py consolegui/application/MainFrameResult.py
index 8a6498b..44e6c8f 100755
--- consolegui/application/MainFrameResult.py
+++ consolegui/application/MainFrameResult.py
@@ -884,13 +884,14 @@ class MainFrameRes(QtGui.QWidget):
self.send_password_thread.wait()
def closeDialogs(self):
- if hasattr(self,"message") and self.message:
+ if hasattr(self, "message") and self.message:
self.message.close()
self.message = None
- if hasattr(self,"passwd") and self.passwd:
+ if hasattr(self, "passwd") and self.passwd:
self.passwd.close()
self.passwd = None
self._parent.control_button.close_confirmation()
+ self._parent.control_button.close_break_button()
def closeEvent(self, event):
self.timer.stop()
@@ -1042,7 +1043,7 @@ class ButtonDialog(QtGui.QWidget):
show_msg(_('Failed to send the message (password) to the server'))
self.close()
return 1
- self._parent.show_result(result)
+ #self._parent.show_result(result)
self.close()
diff --git consolegui/application/TrayIcon.py consolegui/application/TrayIcon.py
index 9dfe126..fca4379 100644
--- consolegui/application/TrayIcon.py
+++ consolegui/application/TrayIcon.py
@@ -21,7 +21,7 @@ import dbus
from ReturnMessage import ReturnedMessage
from calculate.consolegui.application.pid_information import client_pid_info
-from more import show_msg, get_sid
+from more import show_msg, get_sid, _print
#class MySignal(QtCore.QObject):
# sig = QtCore.Signal(str, str)
@@ -48,7 +48,6 @@ class TrayUpdateSystem(QtCore.QThread):
try:
param_object = create_obj(self._parent.localhost_ClientObj.client,
"update")
- param_object.cl_update_precheck_set = True
meth_result_temp = \
self._parent.localhost_ClientObj.client.service.update(
sid, param_object)
diff --git consolegui/application/more.py consolegui/application/more.py
index c50fbac..e82a91e 100755
--- consolegui/application/more.py
+++ consolegui/application/more.py
@@ -2301,7 +2301,7 @@ class TaskWidget(QtGui.QWidget):
self.text.setMinimumHeight(self.text.sizeHint().height())
self.text.setMinimumWidth(d_w)
self._layout.addWidget(self.text)
- self._layout.setContentsMargins(0, 4, 0, 4)
+ self._layout.setContentsMargins(0, 0, 0, 0)
self._layout.setSpacing(8)
self.status = False

@ -1,18 +1,6 @@
AUX calculate-console-3.2.0_alpha4-r1.patch 6417 SHA256 3350c0dc40cde2fabdd6144825f98185d47f8a7ae4c68c68063b9fafe651aade SHA512 8ef91403e053f7dda2ec4fc04d222f8aedaf0d2dca5d8524c21bb19070196a2b4cc48ee72acc0f9a6010796a1555d3bb8a4cf24faa8ea1be4383f5ee03a37630 WHIRLPOOL 8746a2d272fec180b6bf79c0fd41fd18fff56551ff3160862ee019e3a1f88ac80bb6b7d6d0af17120a0164eac189fb990a868326b05c1c83a3df5dc8e93465fe
AUX calculate-console-3.2.0_alpha6-r1.patch 4302 SHA256 af8fb4078dbb7fe529abdf9d3888d29fb782948cb2e2be15019aacf13b6d9392 SHA512 1ad1bdde06497dc3f35d1ede5a9a72e3866b7c5913045b65c5e6c512fa789c85069b415d873318b6cb6439f5e9cb78cba0b09cb4cf2540168fda40f39227760d WHIRLPOOL c53470f48683632bad944188e86566582d3a3c92df4dac5dc8a85930f3cb7a29b8f9708cb741d074d07b757544ec0bc63c5f78f5c7c21ef303bddeaf66be441a
DIST calculate-console-3.2.0_alpha1.tar.bz2 26068 SHA256 7d100a5091b68363c326ea002bd16ad77453c1ab9146350bde0a2d31394f1a42 SHA512 1d03db28fef82ba45547e1a5ffeed8a588f7e6cc0121edc4d85140332899526f50eeae347d8ba10406929b1c71a6760d2d9152ef70e8b29335b9085d2b8c3006 WHIRLPOOL 762eca57fc707d9234f10ce8f2e4f709bd6f0be0c01299aafd1b7b16233166fb13d26a3503be77482e8cbf3c9269a3b62240e538e00a0984f782fa2cb2d59461
DIST calculate-console-3.2.0_alpha2.tar.bz2 26006 SHA256 e05f817beca947e67aa64e42bcf0f370dc4ce1a87306fee3d9b9b83fe93fd7e6 SHA512 962e2e9947326a54cc409cbd3a1e52504338be3634267ca6db48177bdf4d680673fa0b40623ebd67ac22c7e5f324bede8a0c7ef1360b3b280e0e719106d21f2d WHIRLPOOL 80bf07a3f0ae0aab276c0b42a4aff5b0df9dec416eb7e1bec9f2efba5038c89773211251f6d873ccb3d481989d64ffb37e7a0895265283f40598b06fe4d8505c
DIST calculate-console-3.2.0_alpha3.tar.bz2 25996 SHA256 7918c472b42aadfb0ef133fa6d56c45f9bb2a5706a4b86937cfea6342b7c084b SHA512 a6c673054458902a188a0053c2d36d609298ee878010bed5422e32c2a7ea4b60050d68485b39ab8ee10d4c8541c92ba557fd801bbe00e4edf09b0879ed568f21 WHIRLPOOL 5704f4f831510873a3eaa74d86f7f4262aef5989deeeee2d094b2bf91c26cd6fd90fa233d215072419a58dd198d0cddb5c377f9187958a1c668fa80e7680932f
DIST calculate-console-3.2.0_alpha4.tar.bz2 26040 SHA256 1ef37adee2c88a6808df171488fdb55e26bd3eea15e5841ba1a31c1a8053cdfb SHA512 802b71054bc24e2cad41f2f3ed86f8e3463076d0c33e0e64b9185d0b90bff1d81a2c5f791aaf19ac21ebbcc6efedc6a596e7bfe305921b416bbbfa661619dcd7 WHIRLPOOL 6c1b4fefc5afafcf7a332b5198c25e501d2332fa0b5cc5ffae5d66842262cb17781df782c6e6fea07f3fc608a3914c98e786a05567f7f343c03008f8bdda1264
DIST calculate-console-3.2.0_alpha5.tar.bz2 25261 SHA256 b9be4c86130797749807beae6094c4983d3663150a8e1663ef7dbb12fc90ecf9 SHA512 c7799d15e4f4abe04114364c31e79ea988a98e125ddd7f6c0306ccfca67d393e4a2ea0ea565f4ab6750498d3f2ced754bd957e11b8d925733827e193e0f01b24 WHIRLPOOL 3b6cd4d238dba4c69487527b33e8aeee57040cc62a60ba6013473a9261a7432a959a8e53c3d5f93deea73216431b8d7fe46b6031940ffb2d27f89cc7c9b4b8cb
DIST calculate-console-3.2.0_alpha6.tar.bz2 25239 SHA256 f39e10e8254f2afb861c39ff19dfb96a3146a0088169a09090043701b15753d3 SHA512 1ab4155d039ada9ad7833f9ef82399aa855a757a2fed952c1cb38700216378321fde36f1edf2a7e395cd6958a18eaf2bad9e0ac3f4d37b80b90ed9334da5cddc WHIRLPOOL 3f81ccb9a471f5ae13b08c572f8cc0e8e3d21b0a32b97d148d05e92fdc15634252825941600b86a15b2eaf676866f1b2be433e336f84fe0b0b9bc7bd08a73c72
DIST calculate-console-3.2.0_alpha7.tar.bz2 24609 SHA256 9887033436902299c4fce329c6d08ccf12a9f2d1c7d1f52ee52b16ae75490807 SHA512 2806e708959e137396a569f54eea1ec6652747c5f69aa4e716d7c74398f0a99d6ddd215e75a4fc4c08dba1de1890dcc32bf794e7a278e6106159a6d412b7dbfb WHIRLPOOL 39174ac180d80b8af9533b45b059f4f474d5349c7943afdf37f50db028535a2a0b73424d16cb86bcf2aa18a176c4fdc63cfe1c98a1d3d374a9c5584a2e9fc360
EBUILD calculate-console-3.2.0_alpha1.ebuild 552 SHA256 29bf3331ba8217017f5575a34b1166b40c736d7cd354ef1a30b0df8338de6944 SHA512 eaed9de8ebfedcaf29ec1ea63a3650a4540abab5b4a10cf384f272b5ae1b8bba193c0dca5819094749eb7e0c36c1bd60e9322da7010ea1392fae9deb1c57a25d WHIRLPOOL 4b1998a3d117ec2fa46326840073fb95d3c81367bfd721de5e072c2e742335a25ea23f4d32afcab6db9f7c112aef6b552281eff162444aa22a1506d9ef25b0fb
EBUILD calculate-console-3.2.0_alpha2.ebuild 550 SHA256 9da1f0724e74c97e5fc5ceec8d0daff9de1dab2e102510f5d889ae970d893471 SHA512 37c384750b21b9d63235c1c008b12e28a45735ad1e2ea13f66ed45f410fde9916d150c57af3b8eccf40c7d3642c665f1bc7130bf43d62117e35de68c286a6280 WHIRLPOOL 27fa2e91ac42839a367e7de64b0413f94167d0bbd72bcb7e2708cd2eedcc03d8cd02306b60c65910d60f1b9296db9875ea7a8664f4efdb4339b10e26023b31e8
EBUILD calculate-console-3.2.0_alpha3.ebuild 550 SHA256 23321b8858f599f1eb190e1a055e96f727517409903af9735b998261a12be013 SHA512 fd1cc9c82a8dfaf641edb4482f2728c14bc8a0d62bcaba0617b96b05f814035994551749613e501da27c8f998f0568de6ec93c64bc529c5df80a835442933591 WHIRLPOOL 7bf34019ac1d9a5202a088b8b01e904df67c59f144eb33ee46db1348b2349f47df5fe8aff89083d69c8b279ba1ecb619decc3dacd9b3ad4c80a54f186e23fe3b
EBUILD calculate-console-3.2.0_alpha4-r1.ebuild 695 SHA256 5a368747e46ffe05fb1d41021cecd4f9d469130e0ca5a11dca5d6f7d5e9b6b6f SHA512 362fc9190dbc36135549ff35095720157e26c1d8259a1b2d8817dc0a6bd24b53d7603f794064e67aa945a6dc3b4e97c9db2b6cb5571b7ff443ae4084886ad017 WHIRLPOOL a229306a0f5b0df519456d2dc886b63c1c0401d17f8097aeb9d0645165d70525f460971600df048f027bf0992770745a9af2a277a3200f451dd9c091caa92a00
EBUILD calculate-console-3.2.0_alpha4.ebuild 550 SHA256 ed516e8802681282bb2267ecb4bd005cd4e1099892da0166d66b75605ddd02e0 SHA512 8b550b5018e4398eac1061b80bc106700f619b52eabed76fd2f3d3190e064f9965545bde7b6ccd46d340a5ce674751a59a8c0ec5bd0cac40d82d84e7fe2f0426 WHIRLPOOL 1a22ee90e0e53565e07cabad866666f91dc6251f1544ed266d627f3424526bde9c6e885d43e4e0b2bccd220219287e85806ab57103329ec3fd3c95183079d865
EBUILD calculate-console-3.2.0_alpha5.ebuild 550 SHA256 4163fb17c600d30ecc263314b9a710011f6c71cd66902484236fad15d32365e0 SHA512 f26e2964b42b3a0eef44f2c19b430eb270b8808e4442bae08501bb4c8f3cf9e9b3ee98ce686402bb78142cfa417849db482b12598a0046d4eccd7272cdb317cb WHIRLPOOL 4cce4501e53ea2d8d121f15eddfc87109c7dcf125d253ddef0b3e690fde1b076af50096604e9f1506d76bc76140a2349dbf8a19152e05857e96099a1ab713bf3
EBUILD calculate-console-3.2.0_alpha6-r1.ebuild 695 SHA256 0c28ce93656f65efb3172f9ad395c481cb66c9245aabd7ee9425e818c187488a SHA512 e1600314dd36e9b94779bf773666e0819114ada2ce74243ce29e8471bdad349846857ebc275b0f4bb8e970cc2e272c7610c348fe46475a10fc61c2c2144ca79c WHIRLPOOL e62c390a048d647736fb4c8e18264fd145f4fe4120a839e5acb77ed2766334b6594ba5e37a23c7d2374f77bd7d1a89938bdefd09c3c8acf7f27795fb2688f0fe
EBUILD calculate-console-3.2.0_alpha6.ebuild 550 SHA256 e62b9d67766463878f409f8ab9cd6495486eabdd22752681655bcde8927071a1 SHA512 2767740f1fb963c2e6b22f2ae3d29e814b7b362c5380ae4478aa28ca0606cd32ec13003ef4d2798d1ceaf5aefafc311db14a98b82340db7279d542c0a24ff9e0 WHIRLPOOL 2646477bbb6afed37a0a5b68cefa513ec7aaee90f644540ac3c418af072124dc0569ddf433262fadea0f28fafb9a914cbd2d5716ad346163a634d5376c698501
EBUILD calculate-console-3.2.0_alpha7.ebuild 550 SHA256 7d49e97861df6cd43327717af3fb5bb5aa513ec029ddc2bc2c67e78552609817 SHA512 d7078af1771e64480b71b5e3ef5215327558f6d6c77916070144ce6343c87bd1fd77908a0dcb8d84e3d90758ba16dc5ceee4a4b1ad06359b34d1c74508354b97 WHIRLPOOL 731ff2c73983e1139f13aee3b057bd74c66b9defe2e8c2a58aa496de31e7e58fc54ed70d4de3e66865b9eeb40f2a47852272acaa9aa1a4449c1a174c3bdb88ee

@ -1,21 +0,0 @@
# 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="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.2.0_alpha1"
RDEPEND="${DEPEND}"

@ -1,21 +0,0 @@
# 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="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.2.0_alpha2"
RDEPEND="${DEPEND}"

@ -1,21 +0,0 @@
# 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="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.2.0_alpha3"
RDEPEND="${DEPEND}"

@ -1,29 +0,0 @@
# 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="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.2.0_alpha4"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-console-3.2.0_alpha4-r1.patch"
}

@ -1,21 +0,0 @@
# 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="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.2.0_alpha4"
RDEPEND="${DEPEND}"

@ -1,21 +0,0 @@
# 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="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.2.0_alpha5"
RDEPEND="${DEPEND}"

@ -1,152 +0,0 @@
diff --git console/application/function.py console/application/function.py
index 0e6f548..77968b5 100644
--- console/application/function.py
+++ console/application/function.py
@@ -21,10 +21,12 @@ import termios
import subprocess
from OpenSSL import crypto
import shlex
+from calculate.core.server.func import shortTraceback
from calculate.lib.utils.colortext import get_terminal_print
from sudsds import MethodNotFound
from calculate.core.server.cert_cmd import getHwAddr, getIpLocal
-from calculate.core.server.replace_class import printTable,Methods
+from calculate.core.server.replace_class import (printTable, Methods,
+ print_brief_group)
from calculate.core.client.progressbar import Bar,Percentage,ETA,ProgressBar
from calculate.lib.cl_lang import setLocalTranslate
@@ -97,133 +99,6 @@ def get_ip_mac_type(client_type = None):
results.append ('console')
return results
-def print_brief_group(Fields, group_name):
- print_group_flag = False
-# if group_name:
-# _print ('\b'+group_name)
- uncompatible_count = 0
- for field in Fields:
- if field.uncompatible:
- uncompatible_count += 1
- continue
- if field.element in ['input', 'openfile']:
- value = field.value if field.value else ''
- if not print_group_flag:
- _print ('\b'+group_name)
- print_group_flag = True
- colorPrint._printSUCCESS('%s: %s' %(field.label, value))
-
- elif field.element in ['combo', 'comboEdit', 'radio', 'file']:
- if hasattr (field.comments, 'string') and field.value in \
- field.choice.string:
- value = map(lambda x: field.comments.string[x] \
- if len(field.comments.string) > x \
- else field.choice.string[x],
- map(lambda x: field.choice.string.index(x), \
- [field.value]))
- value = ', '.join(value)
- else:
- value = field.value if field.value else ''
- if not print_group_flag:
- _print ('\b'+group_name)
- print_group_flag = True
- colorPrint._printSUCCESS('%s: %s' %(field.label, value))
-
- elif field.element in ['multichoice', 'multichoice_add',\
- 'selecttable', 'selecttable_add']:
- if hasattr (field.comments, 'string') and \
- hasattr (field.listvalue, 'string'):
- value = map(lambda x: field.comments.string[x] \
- if len(field.comments.string) > x \
- else field.choice.string[x],
- map(lambda x: field.choice.string.index(x), \
- field.listvalue.string))
- value = ', '.join(value)
- elif hasattr (field.listvalue, 'string'):
- value = ', '.join(field.listvalue.string)
- else:
- value = field.value if field.value else ''
- if not print_group_flag:
- _print ('\b'+group_name)
- print_group_flag = True
- colorPrint._printSUCCESS('%s: %s' %(field.label, value))
-
-# elif field.element == 'label':
-# print field.label
-
- elif field.element == 'error':
- if not print_group_flag:
- _print ('\b'+group_name)
- print_group_flag = True
- colorPrint.printERROR(field.label)
-
- elif field.element in ['check', 'check_tristate']:
- if field.value == 'on':
- value = _('yes')
- elif field.value == 'off':
- value = _('no')
- elif field.value == 'auto':
- value = _('auto')
- else:
- value = field.value
- if not print_group_flag:
- _print ('\b'+group_name)
- print_group_flag = True
- colorPrint._printSUCCESS('%s: %s' %(field.label, value))
-
- elif field.element == 'table' and field.type != 'steps':
- if hasattr (field.tablevalue.head, 'string'):
- head = field.tablevalue.head.string
- else: head = None
-
- body = []
- if hasattr (field.tablevalue.body, 'stringArray'):
- for row in field.tablevalue.body.stringArray:
- if hasattr(row, 'string'):
- body.append(row.string)
- else: body = [[]]
-
- # if empty table
- if not filter (None, map(lambda x: x, body)):
- body = [['']*len(head)]
- res = printTable(body, head)
- sys.stdout.flush()
- sys.stdout.write(res)
- continue
-
- ChoiceValue = field.tablevalue.values.ChoiceValue
- for row in xrange(len(ChoiceValue)):
- if ChoiceValue[row].typefield in ['check', 'check_tristate']:
- for i in xrange(len(body)):
- if body[i][row] == 'on':
- body[i][row] = _('yes')
- if body[i][row] == 'off':
- body[i][row] = _('no')
- if body[i][row] == 'auto':
- body[i][row] = _('auto')
- if ChoiceValue[row].typefield == 'password':
- for i in xrange(len(body)):
- if body[i][row]:
- body[i][row] = '***'
-
- data = []
- for body_row in body:
- data.append(map(lambda x: x if x else '', body_row))
-
- if not print_group_flag:
- _print ('\b'+group_name)
- print_group_flag = True
- colorPrint._printSUCCESS('%s: ' %(field.label))
- res = printTable(data, head)
- sys.stdout.write(res+"\n")
- sys.stdout.flush()
-
- else:
- uncompatible_count += 1
-
-# if uncompatible_count == len (Fields) and group_name:
-# colorPrint._printSUCCESS(_('Not used'))
-
def print_brief(view, brief_label):
for Group in view.groups.GroupField:
if Group.name:

@ -1,32 +1,6 @@
AUX calculate-core-3.2.0_alpha1-r1.patch 3909 SHA256 95338af9088ff7a8b535836c542c73aaaaeda2ae51c4fc070dee64ca015d65fe SHA512 743627d58a4c0c1ec0b57753fa5df320bbdec9102d4e6e3df63abe4e55323e4fac2de26ea22f69cb348f50070618eff5fb9b6848df0679bf73260a238507f4e0 WHIRLPOOL b186232ae83f4b40156bae4a0a66e1cde6b25768a329f7d7144cf4a4c6eee92e11319849cacb0ec2689a1f9801a96c1ae621505143c6bbc6979dd23c6fb4cade
AUX calculate-core-3.2.0_alpha4-r1.patch 16117 SHA256 cf06430288a9074388dfb92dcfc930691819a8233023b6560256a0da4086c52b SHA512 b6705837520166f21f3b920e110e1a653039a9e964fec333dc46fce36c4d1a55b6c2096f88c8a932f7105cfd2e517d482623217deeec12079f49eab16384b555 WHIRLPOOL 60ce776de8a1b3e8187e81c63b89551a3db3ab1baaac1394f9537f639ee01170be9d85b39a5f0b75df03ddb8c90bcdc244af23c9f4c1468b9322db06df0628f3
AUX calculate-core-3.2.0_alpha4-r2.patch 16188 SHA256 cd2ea5c818f9fa80db9e2164c35f563bc5a53710c8773e8699872bc133637b98 SHA512 441f08285dbd2ef813645df5c71ff1bf9442aeff39b965436c63ac596e3ba551cb5e9dee6e040655b440a171a893716dc8689891d3a25757fd2cc34b7142a907 WHIRLPOOL bd3006df43f4505006bb3e7f2b5520fda45e18a1e0a580ca48a6b5296b09e02cb78557ce614ad826945dabe085195d84522a054a301c8d3220beede84474fd94
AUX calculate-core-3.2.0_alpha4-r3.patch 16585 SHA256 f51cecc73fd1085e65922a6c17168baf667833a8edcb5d89fbe82dcc88d87716 SHA512 768a3d8a14248755157cdf015e058efee9ae1ab3d018b4a94a081ae154ce15509ebc952cda01ca753a4d31695d2e2d114d118d74a16dc3c0e7ecb9d2dfd03742 WHIRLPOOL 0b9091130641b14c2f06ca4afe61aefc4557126289db59f5e550b2fda1a5298dff3823bdff88d8b5eacad76b0b1bf09f5eba7a6ddb71a2f01a2041ab75530a46
AUX calculate-core-3.2.0_alpha4-r4.patch 18361 SHA256 75de26bd326759971c8f380f04ec69071811eef6232a6b8c46b842734ab7e36f SHA512 52516c14935340d38a3b03ed980b8aa5d58129300f384b63081041634fecdb46ada91ab43d555b437c12a448d8352854a7d26241dc8d8f562157064f2ff46628 WHIRLPOOL 0978882b8fb860d54a922e193aa5dba71b5834a30ac35452f6493a816139b38749107b6b4a1d0a3ec3dc50dd0a6448e784db4a14f84381c5445ab57a7915fc8a
AUX calculate-core-3.2.0_alpha4-r5.patch 19063 SHA256 8a04d46c14515b93d44f33cb86f61adc0c97d840250ec9b800d9ce753fea571a SHA512 b6b742012f251e018f399e52bb2dfef7cc1c2f570bc02bef1d57a6d20c840e6f3325ce79cc110f60a7adb7d6e3e8f55d96fb44fd18fd49422db6c0c3b2dca816 WHIRLPOOL af6163d19f5e7c6af050aaf65bfd671c250993212f470a87731a6e6accf512c79b9fce49ff8bd12fbdf2dfb89d4360045690821f6e5aa7e3ba36bbc14278561d
AUX calculate-core-3.2.0_alpha5-r1.patch 4276 SHA256 565ca501d01696d5e3d9ac6eccb80e0cd9efcb9c61b97fcfc592387fc4929c64 SHA512 e16b2f27a706e0d388bf06a6c0fb1c9f794e09d7e5373b16f2e3ecfda9d60a499169acd7271734c12b3b08b08133451902cac7848a13c3bbc6b8603637bdd956 WHIRLPOOL a68619e06a9115e685591bfb5da55bc564d2f8b958ec78baba76d8703a68b54f30a30b5b98ea718fa5bfe4418c410d912be5790b23e46061b596779228863594
AUX calculate-core-3.2.0_alpha5-r2.patch 5506 SHA256 4c2ccc57ec1c8496b51c4a572e0a1d86982a75bb8c4e6ada329ff774de2af7eb SHA512 b2ee8ea8061c32cc0693c2124470db541544d98d2221f8b3606576bf039138d7fb3cff7bf15b0284cf1c1d7e3215d1e65ca3c027cffd47b65c99be76a3366a33 WHIRLPOOL 08722cd12ceed5646dfbddff70e80fd5fb4ce161e1284ddac206c40f43ac2a7176407ce0fa5acf8eadf91b5093a2d8e1cb034ffe5b536109015fa9fff311055f
AUX calculate-core-3.2.0_alpha6-r1.patch 28016 SHA256 d99381bd316fba8256b5eb54945124c5f32d816b06ad3d32c7d972ff0d01e71e SHA512 a60106837082dd4e4f2794f71cf69a782fcb22f823a1f9f325e14145cbb195fd79e2b0bf5cfb1de486c0bb76b7b00c4694c33c1a9a639a7022f4b34c4f08f3b5 WHIRLPOOL d96a915b3755b061667e1ce8234c480e677429b6bae118774027a4d58930a9b2c13af635638d0c3a972e6ff64a7a19cbadf6abe1d048eb9c55e0e41ecfa522e3
DIST calculate-core-3.2.0_alpha1.tar.bz2 83658 SHA256 780a4107fcf2d6ee84be721e571f595ae8eb6cebf313cf6feef9c1d64d3a6575 SHA512 906a653de9286cd4d1d922937aa6afafef9a854ebf49f0636a4ad7e5e7ae136d353fe4b8c196c037688f8df7fd3df213800d184734193058df0ebb42090866d0 WHIRLPOOL ca8fe5f238111d78a65f2d42e8f3c169b7074cd5ebd7b8a653824b23d59cdcbfbfc7146ab7d96cc34300a7d418a036729a8c7931fd020c993e97103440e90c4c
DIST calculate-core-3.2.0_alpha2.tar.bz2 84591 SHA256 bed467810d02c14ac9e501a0057b652b8e610960193cf3d64c6a78acc5eb5140 SHA512 e77bf6f102c02006d559b96ca51cdb84d25ba9a4b1170c61fbe5158f2539e91acab2ae857a940b030d5b37d430822aa5e2cfe1fbe903436e284d43a3eeec3e09 WHIRLPOOL b299b1a43dbd70fb68efb6ea21b8d8beeef63985b5e0a5deb66668a76e46b7c621af19bf442bbc6cbb289a05beb59e69e3e3464fa392d4c2da56307daa960c20
DIST calculate-core-3.2.0_alpha3.tar.bz2 84808 SHA256 271d4d5752e26f0e4d435b2cad825fbeedeb146418f42f387fcdfc4ead683a0d SHA512 7dbd5a693eebd5d931f3ec8a377c613a6fbaa757bb48cfa90921fd608ce311deac32dee48d619a05f8b24781551142ca1af4d5fc437bedea4d259eaafb0aa52f WHIRLPOOL 5a2ec89684cfcbdb9afdb860b97e331d39ec4bdae5234bdafe856e2d69aa9e1367a184cce8e98a5b68ee5c108d84f6eadaeb94dfb6bde793af0cbc9be5302139
DIST calculate-core-3.2.0_alpha4.tar.bz2 84863 SHA256 d2c7c59acfef1fe5c0fed1c458059aa7b74f57387d60edc6ed74e46cad740920 SHA512 d6c3b99b30e45a843f7b652e555212b6487f800dfc2cfcd4d916b90b080e377ba75e6371452bc12c33dee86d78ee30793d5dffd319119080f54eb9d540a969de WHIRLPOOL 7e4242cc553952a5640963e88c3321dc95093a267de769a98fa62d210979715bbd8b627d5352e2aae8f84717d268638800c48cf0d6306833eaa87503536c917d
DIST calculate-core-3.2.0_alpha5.tar.bz2 85593 SHA256 cc80d18d412839c0cfa5ff33273128df538a2363603f53ad31150887ff695e11 SHA512 951f829b590b2f73ca8cea31d085241488c1d4a4e8b3bfae55078a5c17966308aac939d48749c091773fdb7a235e1849e56f5f344e622c84d15d9f150b3a7ca2 WHIRLPOOL 190b6315499f09576ca080cf7584e2f09875968a58845a5de3760c6ef6508996d03669a9ab28a0d61f7dc5c94060aa9138f8eb395db8c8458a01968481ef2db1
DIST calculate-core-3.2.0_alpha6.tar.bz2 85602 SHA256 cd2bfdd419972f6be8c31e8d7ec853df1286948bc70ee381b2d9a3ea77ee7afe SHA512 c9229a2f0bd623cc5d40cd255688ceaa88122ab2d3ae67288ca3e53da4e6a6027af31e54be2dbfc9b95d47fce66f21ced92becd93f72a3d619e9dbbcb903af80 WHIRLPOOL ea5c0ec38595c30751d10797af28b946e254063f8de247bd9f75ed5800e1ac96844cd8dac2e4ad534675dbbb32472753fadd3b21e1fa245c975f7c196c828118
DIST calculate-core-3.2.0_alpha7.tar.bz2 86089 SHA256 427ce83eccbf25a559bf8345bf21524e62045339afba8a43dc03b282b22bea23 SHA512 3d232eb6dc92ff13932363ecdcd5b6dd1ce812b978a4dff04f57ab9b38971d3a60976f356ad63dbf92f3b7342ed0b5f834d10a47a1b44281e4f617e3d5a919b6 WHIRLPOOL bf96851963ac3c9ae75dc3e1cf83e1cfba3a30c87b8a06b2e05eeac1ba45e3363709bfd8404719ba14d11312654c9b3a4d236a6009fd7fb7ecf7886e077f3bb6
EBUILD calculate-core-3.2.0_alpha1-r1.ebuild 1273 SHA256 63976ef94c626d3f910351467f2b3a82694948272883d00d4fba4903c3477ed6 SHA512 410c526fc951e3e3cc64d31a23a23528fd7dc34da410aeb26f0fa4522c151eef23ccca8786e8639ae254de73590501af12d893b85acd57dfcdc1fae7ac5c8111 WHIRLPOOL bf775eeee705c0883e36d01388463947e007ac4dcf82c3d2ca759f1546684a8c89e31c621f8d27662361e5785bc5f7070cfd279b06904a3274da51b6be6ebc81
EBUILD calculate-core-3.2.0_alpha1.ebuild 1131 SHA256 08d7216cdc3618ae7a73f5cbce36a32d5e6aad3dbcbe4fd2eb94e5232dbe7d30 SHA512 dbe84720706bfda967d1c7758b476b83187c226894766b81c1e76012d20791d06bceefbccb5fcd92c884c7f6bd601f8e81d4af5caeb4f3adc58fab392bbd3108 WHIRLPOOL 415f3aab9b586620f68c4909d387267848053adc686fc675f9a666d8f19b93844af07d9402c2a27348f7c67b8e23f76485c5ed65b122129e064ff1bcc0c85030
EBUILD calculate-core-3.2.0_alpha2.ebuild 1129 SHA256 0778b2b2cfa7d8a3b915d3db8ad6bfa3de60d3f268732e3488182818adc05983 SHA512 b6f6da14537a3fc3ebe12426b20080b5b19f884b387527bec8511bdabdcef4b2cac4fda48a3847dfbb2787b0ba8e19762b9b842cf1b779958467948ccf674c43 WHIRLPOOL 53158020860e2be6691e1aafb2f47fa74ae120d8408c728af305c4f50e47d24817581efa3b82bfd7e36c5a41166cfae3d677344a3f92b91b4e77fc902a118605
EBUILD calculate-core-3.2.0_alpha3.ebuild 1129 SHA256 59a9203c3139b158fdfdd48d2d594048f8dacd8612e71c4ef26842c7d70edb53 SHA512 07ae01440c1f274145c876b20586db3fda50b4630a238521956239d887a9dcafc38ffa468821d9126bb4f8c3daae3b2f5d7092a8beefda44e1a715a8efd6413e WHIRLPOOL c13d3d6ca6642793ed2ac38a5b9cedd9535337ca1edfa18c941e92be26ddf4fde2fad9d6c143316dc08311415cc423b81a42e7b141c76aca4f73930a4994d7b5
EBUILD calculate-core-3.2.0_alpha4-r1.ebuild 1271 SHA256 f8a79b4bec6d2549705ecddd0353e5ad83d375b3f836fefe48cff36a8fcbb75a SHA512 4614f7dfd4ab99bf2e38095bf02f7fcf5522b630423ab88e9e40ab95793590dd97e1cfb6bb0215cceebcf06c367bcb84b0457bab6c4a7f708dee3799ed22b220 WHIRLPOOL a6096d6e3289a22a20cd0f35ebeda9cc20820e80f39fa6c51a5711123973cb9f70bc720627561438f078c78c56129aac664ef8e9cf439ad22d53c302f4f79ed5
EBUILD calculate-core-3.2.0_alpha4-r2.ebuild 1271 SHA256 527901c373e6bc466bb2651f42fe339871037046f4e1c9b91eddddfd17b97a2b SHA512 74d0638e7072cdf64f646696c313e563404fc1096cf24b71bf42d0d288c4da106b27c8ea4b0f84e6a1c0a97fd3fd9dae4ce69868608e894216f944bb1296b17c WHIRLPOOL 42f765c5f85388eb05ffa83d6f67c584e99ac6ab4426f53e50544f9560bdcbdd81bb1036df382ad29dda69240aed85a9bc83b328a95e34c0dd662e0f9c3b35a8
EBUILD calculate-core-3.2.0_alpha4-r3.ebuild 1271 SHA256 0ce1729ff0a879ed40c4254d380f75239dbad7c5de4be59a4658cc7c58d2846e SHA512 d19f6f95c97604d46d69175ea0f0589270cde657b5f024bb80ed18f21e7ea271a8dd09566b7520a75345b125419f6efa2ca46f7ac3987cdb25d4f89a864e3a07 WHIRLPOOL 9398a93b877c21ed99ee94a5bf206d198a2720f28cfa6183a68b1cad4e60edf3cac4cd77fdf2456657be46699f76f03aba10ecc62fc4c848e6385cf9e1ed3d72
EBUILD calculate-core-3.2.0_alpha4-r4.ebuild 1271 SHA256 951eca9ef8a4e21138f1fe91ba44d71b3d3390550fe36e5624d5b91d8ed8873b SHA512 b6d4d4678f3292516da6d99afea353e1437a5502391746f2ff334af7f259567a8ed3b1ad092a7dc3d50b05bd014576bcdff064283e284a06427ac3afed9eb408 WHIRLPOOL bb2fd032dc4e66bb2c571a6d914c12f38867d0d64236eca212ca6387fdb9a375493393b654079cabce4f04c3339983df0bae5593233b7a4a02a49b457307e843
EBUILD calculate-core-3.2.0_alpha4-r5.ebuild 1271 SHA256 d00f9690196482e10cf788de17c51aaa6581d0040061a22862bd2227f19a0e59 SHA512 6cdc70d1a8aff46dbc2305c377f77fee09adde6612bf2ba01d8ca07a000487958610b7c4fd9e97426df0b81bf1f0eefb7a9277e32e4e6ca2a0eaaa044ed057b3 WHIRLPOOL de0d39e16202a6694c3b62d05ab00a56c3469dd44ce4866ee81dda13255107f0c1a59ac379d4cbcbc756ff601f3a29764ab75752b80ae32f7629d317004384a7
EBUILD calculate-core-3.2.0_alpha4.ebuild 1129 SHA256 5265cd458eaf572bcdc443d19fceaef043ed57855890f0a017810bbbc835523e SHA512 6265973cb9b86ad68d0c2fc6cffceb14e0713fe2b6140c4daff5d18b71286572996332bd6e6b3679238e6e12cedd76f2d0e0b65fd7e0394426bc39ae65bb8d07 WHIRLPOOL d3f62367e9277aae8123efc10a91f4d614568e365ebeceabc22a3782dbbb3711ea3e8686ec8864c2f2f2856a945c66e5125fbb20d1fd07c169d1925e49e7f99d
EBUILD calculate-core-3.2.0_alpha5-r1.ebuild 1271 SHA256 bb6ca565f27cfb89251a9f15fff25d7eb743bb93a3d3646268a0eb19fd85fd07 SHA512 50e812db4e005a1bc3482d89da6e7f6b7e8b60f0d9f97c29a0bc2a7ed4b073609d2cd023c532b9c92bb9f6de5415539e9960ca82344e7ed8e773aba1f95174f0 WHIRLPOOL 605c78863ae19609773e274cdd9c2e4ea0147d9d7b31f7e5cf7079a409c1d6d532a4d99d75a6ee54e79d9dc7f8c314dcca0129ee3f3702b1bc48a920630af0bc
EBUILD calculate-core-3.2.0_alpha5-r2.ebuild 1271 SHA256 0bf4b67c6d9a0dd9f182f8726d71cc97433a43b33dc179007836b0998248ce6a SHA512 031c14bdc101b6fc69057df83bfcf70c8aa1df5e27e93afcd96e07b0566dfde84790c1db9bbfe072b71fbef2abd94458da88e48dc95f1da9b367bed69c9e391b WHIRLPOOL 1c239566c0d8e515b76217d8397a180c2ee386596d28eadcf5e301298290798a5462fb39e29e73be38850612bc561f3ad83b1ccb955b7aab4d24caecedc8edf4
EBUILD calculate-core-3.2.0_alpha5.ebuild 1129 SHA256 c7a2a90ddd2749bd33904e2f3cb96d63ae944b41f562d69e17fbd317af0bec16 SHA512 4a0d7f79a3472db765b0057e74186680bfc6a20e55589d5cec3947f6a52e79db361b3eea22d1e67bd4f981efa3316ac79fcf2b577df97e1b1abaa0d619fbbab9 WHIRLPOOL 70cef0293a36be5fe9d25a52f8b29b4aca288b0fc334c59d39ef4627fbdd4b9773f62719f8f61081e203385ae6709febf98faa0004d98867843abab1f9010299
EBUILD calculate-core-3.2.0_alpha6-r1.ebuild 1271 SHA256 eeb673d23352cb9df02b93f47eaf3c2e3558a89fa94867fb1f3d1f8b5bfcf096 SHA512 ae4b2dc1f27e84c18e35fc0674ff522398f4c90965f67e278c830da707d9d00cb885b5b11deaabde32f3646e8de9929d38605cf35f14a755b1e772e19fce8b21 WHIRLPOOL ec4d78b528eafc85f1bbdc139d0ac5847b1470ca74a2d1db62b5bf00d54af937ac6c8228256cb2643180f477670efdb230834d2294a097558bb1c84e42992cdb
EBUILD calculate-core-3.2.0_alpha6.ebuild 1129 SHA256 e97ed753f108f340b41475c02a65fd4a05576e6f112e677271df991a680143fd SHA512 ce1f5eb6fdade47f2dd8d2a2a306eaa8ad9b57e52ea88fe5cf5fcabd933fbdec2e7cc114a2ad8e242aacb2bf2b90f5e74c7f22dae743ff063f29c71dcc01714e WHIRLPOOL c47b85f17c567c550bfec337f5d241593fd789c441af1ecaf366f20c5c594f21367e381610a7ca1901e6fded6b1c159b16a8f5645b0d7af812679175b40b9ea8
EBUILD calculate-core-3.2.0_alpha7.ebuild 1129 SHA256 8f4d227566860928a01ed9e8225ae9f5ea7acba537798e28b717cc1b9ac1f820 SHA512 5c4b49360781ba90c047aba5f171be9d456490ea51975a47ba5d31de781cc2fb0d4cb875fb553e64a6eb83cb3a3fc8887be2a85a0181e6179316f79c6ea09e29 WHIRLPOOL 628c2137a0e490d80a34787defa3e474fbb29b8f9f02383e82e60c86e0a119d48d854c8e04086f0f797ff57eab299b96002c932937f899142d4ae213c7d9547f

@ -1,51 +0,0 @@
# 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 WSDL core for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="~amd64 ~x86"
IUSE="minimal"
DEPEND="~sys-apps/calculate-lib-3.2.0_alpha1
>=dev-python/soaplib-1.0
!minimal? ( dev-python/sudsds
net-libs/dslib
dev-python/pyopenssl
dev-libs/openssl
dev-python/m2crypto
dev-python/cherrypy )"
RDEPEND="${DEPEND}"
pkg_preinst() {
dosym /usr/sbin/cl-core /usr/sbin/cl-core-setup
dosym /usr/sbin/cl-core /usr/sbin/cl-core-patch
}
pkg_postinst() {
einfo "For autoconfigure calculate-core for adminuser perform:"
einfo " cl-core --bootstrap <username>"
einfo "For run calculate-core perform:"
einfo " /etc/init.d/calculate-core start"
einfo "Add calcualte core to autorun:"
einfo " rc-update add calculate-core boot"
}
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-core-3.2.0_alpha1-r1.patch"
}

@ -1,43 +0,0 @@
# 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 WSDL core for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="~amd64 ~x86"
IUSE="minimal"
DEPEND="~sys-apps/calculate-lib-3.2.0_alpha1
>=dev-python/soaplib-1.0
!minimal? ( dev-python/sudsds
net-libs/dslib
dev-python/pyopenssl
dev-libs/openssl
dev-python/m2crypto
dev-python/cherrypy )"
RDEPEND="${DEPEND}"
pkg_preinst() {
dosym /usr/sbin/cl-core /usr/sbin/cl-core-setup
dosym /usr/sbin/cl-core /usr/sbin/cl-core-patch
}
pkg_postinst() {
einfo "For autoconfigure calculate-core for adminuser perform:"
einfo " cl-core --bootstrap <username>"
einfo "For run calculate-core perform:"
einfo " /etc/init.d/calculate-core start"
einfo "Add calcualte core to autorun:"
einfo " rc-update add calculate-core boot"
}

@ -1,43 +0,0 @@
# 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 WSDL core for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE="minimal"
DEPEND="~sys-apps/calculate-lib-3.2.0_alpha2
>=dev-python/soaplib-1.0
!minimal? ( dev-python/sudsds
net-libs/dslib
dev-python/pyopenssl
dev-libs/openssl
dev-python/m2crypto
dev-python/cherrypy )"
RDEPEND="${DEPEND}"
pkg_preinst() {
dosym /usr/sbin/cl-core /usr/sbin/cl-core-setup
dosym /usr/sbin/cl-core /usr/sbin/cl-core-patch
}
pkg_postinst() {
einfo "For autoconfigure calculate-core for adminuser perform:"
einfo " cl-core --bootstrap <username>"
einfo "For run calculate-core perform:"
einfo " /etc/init.d/calculate-core start"
einfo "Add calcualte core to autorun:"
einfo " rc-update add calculate-core boot"
}

@ -1,43 +0,0 @@
# 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 WSDL core for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE="minimal"
DEPEND="~sys-apps/calculate-lib-3.2.0_alpha3
>=dev-python/soaplib-1.0
!minimal? ( dev-python/sudsds
net-libs/dslib
dev-python/pyopenssl
dev-libs/openssl
dev-python/m2crypto
dev-python/cherrypy )"
RDEPEND="${DEPEND}"
pkg_preinst() {
dosym /usr/sbin/cl-core /usr/sbin/cl-core-setup
dosym /usr/sbin/cl-core /usr/sbin/cl-core-patch
}
pkg_postinst() {
einfo "For autoconfigure calculate-core for adminuser perform:"
einfo " cl-core --bootstrap <username>"
einfo "For run calculate-core perform:"
einfo " /etc/init.d/calculate-core start"
einfo "Add calcualte core to autorun:"
einfo " rc-update add calculate-core boot"
}

@ -1,51 +0,0 @@
# 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 WSDL core for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE="minimal"
DEPEND="~sys-apps/calculate-lib-3.2.0_alpha4
>=dev-python/soaplib-1.0
!minimal? ( dev-python/sudsds
net-libs/dslib
dev-python/pyopenssl
dev-libs/openssl
dev-python/m2crypto
dev-python/cherrypy )"
RDEPEND="${DEPEND}"
pkg_preinst() {
dosym /usr/sbin/cl-core /usr/sbin/cl-core-setup
dosym /usr/sbin/cl-core /usr/sbin/cl-core-patch
}
pkg_postinst() {
einfo "For autoconfigure calculate-core for adminuser perform:"
einfo " cl-core --bootstrap <username>"
einfo "For run calculate-core perform:"
einfo " /etc/init.d/calculate-core start"
einfo "Add calcualte core to autorun:"
einfo " rc-update add calculate-core boot"
}
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-core-3.2.0_alpha4-r1.patch"
}

@ -1,51 +0,0 @@
# 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 WSDL core for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE="minimal"
DEPEND="~sys-apps/calculate-lib-3.2.0_alpha4
>=dev-python/soaplib-1.0
!minimal? ( dev-python/sudsds
net-libs/dslib
dev-python/pyopenssl
dev-libs/openssl
dev-python/m2crypto
dev-python/cherrypy )"
RDEPEND="${DEPEND}"
pkg_preinst() {
dosym /usr/sbin/cl-core /usr/sbin/cl-core-setup
dosym /usr/sbin/cl-core /usr/sbin/cl-core-patch
}
pkg_postinst() {
einfo "For autoconfigure calculate-core for adminuser perform:"
einfo " cl-core --bootstrap <username>"
einfo "For run calculate-core perform:"
einfo " /etc/init.d/calculate-core start"
einfo "Add calcualte core to autorun:"
einfo " rc-update add calculate-core boot"
}
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-core-3.2.0_alpha4-r2.patch"
}

@ -1,51 +0,0 @@
# 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 WSDL core for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE="minimal"
DEPEND="~sys-apps/calculate-lib-3.2.0_alpha4
>=dev-python/soaplib-1.0
!minimal? ( dev-python/sudsds
net-libs/dslib
dev-python/pyopenssl
dev-libs/openssl
dev-python/m2crypto
dev-python/cherrypy )"
RDEPEND="${DEPEND}"
pkg_preinst() {
dosym /usr/sbin/cl-core /usr/sbin/cl-core-setup
dosym /usr/sbin/cl-core /usr/sbin/cl-core-patch
}
pkg_postinst() {
einfo "For autoconfigure calculate-core for adminuser perform:"
einfo " cl-core --bootstrap <username>"
einfo "For run calculate-core perform:"
einfo " /etc/init.d/calculate-core start"
einfo "Add calcualte core to autorun:"
einfo " rc-update add calculate-core boot"
}
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-core-3.2.0_alpha4-r3.patch"
}

@ -1,51 +0,0 @@
# 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 WSDL core for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE="minimal"
DEPEND="~sys-apps/calculate-lib-3.2.0_alpha4
>=dev-python/soaplib-1.0
!minimal? ( dev-python/sudsds
net-libs/dslib
dev-python/pyopenssl
dev-libs/openssl
dev-python/m2crypto
dev-python/cherrypy )"
RDEPEND="${DEPEND}"
pkg_preinst() {
dosym /usr/sbin/cl-core /usr/sbin/cl-core-setup
dosym /usr/sbin/cl-core /usr/sbin/cl-core-patch
}
pkg_postinst() {
einfo "For autoconfigure calculate-core for adminuser perform:"
einfo " cl-core --bootstrap <username>"
einfo "For run calculate-core perform:"
einfo " /etc/init.d/calculate-core start"
einfo "Add calcualte core to autorun:"
einfo " rc-update add calculate-core boot"
}
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-core-3.2.0_alpha4-r4.patch"
}

@ -1,51 +0,0 @@
# 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 WSDL core for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE="minimal"
DEPEND="~sys-apps/calculate-lib-3.2.0_alpha4
>=dev-python/soaplib-1.0
!minimal? ( dev-python/sudsds
net-libs/dslib
dev-python/pyopenssl
dev-libs/openssl
dev-python/m2crypto
dev-python/cherrypy )"
RDEPEND="${DEPEND}"
pkg_preinst() {
dosym /usr/sbin/cl-core /usr/sbin/cl-core-setup
dosym /usr/sbin/cl-core /usr/sbin/cl-core-patch
}
pkg_postinst() {
einfo "For autoconfigure calculate-core for adminuser perform:"
einfo " cl-core --bootstrap <username>"
einfo "For run calculate-core perform:"
einfo " /etc/init.d/calculate-core start"
einfo "Add calcualte core to autorun:"
einfo " rc-update add calculate-core boot"
}
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-core-3.2.0_alpha4-r5.patch"
}

@ -1,43 +0,0 @@
# 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 WSDL core for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE="minimal"
DEPEND="~sys-apps/calculate-lib-3.2.0_alpha4
>=dev-python/soaplib-1.0
!minimal? ( dev-python/sudsds
net-libs/dslib
dev-python/pyopenssl
dev-libs/openssl
dev-python/m2crypto
dev-python/cherrypy )"
RDEPEND="${DEPEND}"
pkg_preinst() {
dosym /usr/sbin/cl-core /usr/sbin/cl-core-setup
dosym /usr/sbin/cl-core /usr/sbin/cl-core-patch
}
pkg_postinst() {
einfo "For autoconfigure calculate-core for adminuser perform:"
einfo " cl-core --bootstrap <username>"
einfo "For run calculate-core perform:"
einfo " /etc/init.d/calculate-core start"
einfo "Add calcualte core to autorun:"
einfo " rc-update add calculate-core boot"
}

@ -1,51 +0,0 @@
# 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 WSDL core for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE="minimal"
DEPEND="~sys-apps/calculate-lib-3.2.0_alpha5
>=dev-python/soaplib-1.0
!minimal? ( dev-python/sudsds
net-libs/dslib
dev-python/pyopenssl
dev-libs/openssl
dev-python/m2crypto
dev-python/cherrypy )"
RDEPEND="${DEPEND}"
pkg_preinst() {
dosym /usr/sbin/cl-core /usr/sbin/cl-core-setup
dosym /usr/sbin/cl-core /usr/sbin/cl-core-patch
}
pkg_postinst() {
einfo "For autoconfigure calculate-core for adminuser perform:"
einfo " cl-core --bootstrap <username>"
einfo "For run calculate-core perform:"
einfo " /etc/init.d/calculate-core start"
einfo "Add calcualte core to autorun:"
einfo " rc-update add calculate-core boot"
}
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-core-3.2.0_alpha5-r1.patch"
}

@ -1,51 +0,0 @@
# 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 WSDL core for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE="minimal"
DEPEND="~sys-apps/calculate-lib-3.2.0_alpha5
>=dev-python/soaplib-1.0
!minimal? ( dev-python/sudsds
net-libs/dslib
dev-python/pyopenssl
dev-libs/openssl
dev-python/m2crypto
dev-python/cherrypy )"
RDEPEND="${DEPEND}"
pkg_preinst() {
dosym /usr/sbin/cl-core /usr/sbin/cl-core-setup
dosym /usr/sbin/cl-core /usr/sbin/cl-core-patch
}
pkg_postinst() {
einfo "For autoconfigure calculate-core for adminuser perform:"
einfo " cl-core --bootstrap <username>"
einfo "For run calculate-core perform:"
einfo " /etc/init.d/calculate-core start"
einfo "Add calcualte core to autorun:"
einfo " rc-update add calculate-core boot"
}
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-core-3.2.0_alpha5-r2.patch"
}

@ -1,43 +0,0 @@
# 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 WSDL core for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE="minimal"
DEPEND="~sys-apps/calculate-lib-3.2.0_alpha5
>=dev-python/soaplib-1.0
!minimal? ( dev-python/sudsds
net-libs/dslib
dev-python/pyopenssl
dev-libs/openssl
dev-python/m2crypto
dev-python/cherrypy )"
RDEPEND="${DEPEND}"
pkg_preinst() {
dosym /usr/sbin/cl-core /usr/sbin/cl-core-setup
dosym /usr/sbin/cl-core /usr/sbin/cl-core-patch
}
pkg_postinst() {
einfo "For autoconfigure calculate-core for adminuser perform:"
einfo " cl-core --bootstrap <username>"
einfo "For run calculate-core perform:"
einfo " /etc/init.d/calculate-core start"
einfo "Add calcualte core to autorun:"
einfo " rc-update add calculate-core boot"
}

@ -1,100 +0,0 @@
diff --git core/server/cl_server.py core/server/cl_server.py
index a62d8cd..abd555f 100644
--- core/server/cl_server.py
+++ core/server/cl_server.py
@@ -75,12 +75,13 @@ def main(*args, **keywords):
cl_ver = ob.Get('cl_ver')
log_path_var = ob.Get('cl_log_path')
cl_core_port = ob.GetInteger('cl_core_port')
+ file_logger = None
if args.version:
print cl_ver
return 0
- if ob.Get('cl_ebuild_phase') == '':
+ if ob.Get('cl_ebuild_phase') == '' and os.getuid() == 0:
import logging
import logging.handlers
@@ -149,9 +150,10 @@ def main(*args, **keywords):
serv_certbase, certbase, data_path)
return 0
except URLError, e:
- fd = open(LOG_FILENAME,'a')
- file_logger.debug(print_exc(file=fd))
- fd.close()
+ if file_logger:
+ fd = open(LOG_FILENAME,'a')
+ file_logger.debug(print_exc(file=fd))
+ fd.close()
print e
params_list = ["start", "create_symlink", "method",
"list_methods"]
@@ -262,9 +264,10 @@ def main(*args, **keywords):
print _("No socket could be created")
print _('Port %d already in use') %port
else:
- fd = open(LOG_FILENAME,'a')
- file_logger.debug(print_exc(file=fd))
- fd.close()
+ if file_logger:
+ fd = open(LOG_FILENAME,'a')
+ file_logger.debug(print_exc(file=fd))
+ fd.close()
print e
except SSLError, e:
print '\n',_('Server certificate not found')#, e
@@ -273,9 +276,10 @@ def main(*args, **keywords):
except KeyboardInterrupt:
pass
except Exception, e:
- fd = open(LOG_FILENAME,'a')
- file_logger.debug(print_exc(file=fd))
- fd.close()
+ if file_logger:
+ fd = open(LOG_FILENAME,'a')
+ file_logger.debug(print_exc(file=fd))
+ fd.close()
server.stop()
if args.pidfile:
diff --git core/server/func.py core/server/func.py
index 190a066..ae0c88f 100644
--- core/server/func.py
+++ core/server/func.py
@@ -815,8 +815,8 @@ def shortTraceback(e1,e2,e3):
Return short traceback
"""
frame = e3
- #for i in apply(traceback.format_exception, (e1,e2,e3)):
- # print i,
+ for i in apply(traceback.format_exception, (e1,e2,e3)):
+ print i,
while(frame.tb_next):
frame = frame.tb_next
module,part = os.path.split(frame.tb_frame.f_code.co_filename)
diff --git core/server/server_class.py core/server/server_class.py
index 13157ec..43f9ffb 100644
--- core/server/server_class.py
+++ core/server/server_class.py
@@ -360,7 +360,8 @@ class ClApplication(Application):
certobj = OpenSSL.crypto.load_certificate \
(OpenSSL.SSL.FILETYPE_PEM, curThread.client_cert)
finger = certobj.digest('SHA1')
- self.log.debug('%s %s %s forbidden %s' \
+ if self.log:
+ self.log.debug('%s %s %s forbidden %s' \
%(datetime.datetime.now().__str__(), finger, ip, \
method_name[5:]))
resp = "Permission denied: " + method_name
@@ -375,7 +376,8 @@ class ClApplication(Application):
finger = certobj.digest('SHA1')
if not method_name[5:] in not_log_list and \
not method_name[5:].endswith('_view'):
- self.log.debug('%s %s %s allowed %s' \
+ if self.log:
+ self.log.debug('%s %s %s allowed %s' \
%(datetime.datetime.now().__str__(), finger, ip, \
method_name[5:]))

@ -1,453 +0,0 @@
diff --git core/server/api_types.py core/server/api_types.py
index 3863d53..eb205c1 100644
--- core/server/api_types.py
+++ core/server/api_types.py
@@ -164,6 +164,97 @@ class Table(DataVarsSerializer):
self.onClick = onClick
self.addAction = addAction
+class ChoiceValueAdapter(object):
+ def __init__(self, choicevalue):
+ self.choicevalue = choicevalue
+
+ @property
+ def values(self):
+ return self.choicevalue.values.string
+
+ @property
+ def comments(self):
+ return self.choicevalue.comments.string
+
+ @property
+ def onChanged(self):
+ return self.choicevalue.onChanged.string
+
+ def __getattr__(self, item):
+ return getattr(self.choicevalue, item)
+
+ @classmethod
+ def from_detect(cls, choicevalue):
+ if isinstance(choicevalue, ChoiceValue):
+ return choicevalue
+ else:
+ return cls(choicevalue)
+
+class TableAdapter(object):
+ def __init__(self, table):
+ self.table = table
+
+ @property
+ def fields(self):
+ return self.table.fields.string
+
+ @property
+ def head(self):
+ return self.table.head.string
+
+ @property
+ def body(self):
+ if hasattr(self.table.body,'stringArray'):
+ return [row.string
+ for row in self.table.body.stringArray
+ if hasattr(row, "string")]
+ return []
+
+ @property
+ def values(self):
+ return [ChoiceValueAdapter(x) for x in self.table.values.ChoiceValue]
+
+ def __getattr__(self, item):
+ return getattr(self.table, item)
+
+ @classmethod
+ def from_detect(cls, table):
+ if isinstance(table, Table):
+ return table
+ else:
+ return cls(table)
+
+class FieldAdapter(object):
+ def __init__(self, field):
+ self.field = field
+
+ @property
+ def choice(self):
+ return self.field.choice.string
+
+ @property
+ def listvalue(self):
+ return self.field.listvalue.string
+
+ @property
+ def comments(self):
+ return self.field.comments.string
+
+ @property
+ def tablevalue(self):
+ return TableAdapter(self.field.tablevalue)
+
+ def __getattr__(self, item):
+ return getattr(self.field, item)
+
+ @classmethod
+ def from_detect(cls, field):
+ if isinstance(field, Field):
+ return field
+ else:
+ return cls(field)
+
+
class Option(DataVarsSerializer):
shortopt = String
longopt = String
diff --git core/server/replace_class.py core/server/replace_class.py
index 23c5282..d01dd9b 100644
--- core/server/replace_class.py
+++ core/server/replace_class.py
@@ -34,6 +34,7 @@ from calculate.lib.utils.colortext.output import BaseOutput
from calculate.lib.cl_print import color_print
from calculate.lib.datavars import VariableError
from calculate.lib.cl_lang import setLocalTranslate
+from calculate.core.server.api_types import FieldAdapter
from methods_func import get_method_argparser, collect_object, \
check_result_msg, get_param_pwd, _print
@@ -44,7 +45,7 @@ from func import shortTraceback, CommonMethods
setLocalTranslate('cl_core3', sys.modules[__name__])
-from itertools import cycle
+from itertools import cycle, izip, ifilter
import time
@@ -766,159 +767,176 @@ def print_brief(view, brief_label):
print_brief_group(Group.fields, Group.name)
-def print_brief_group(Fields, group_name):
- print_group_flag = False
- # if group_name:
- # _print ('\b'+group_name)
- uncompatible_count = 0
- colorPrint = color_print()
- _colorprint = get_terminal_print(_print)
- for field in Fields:
- if field.uncompatible:
- uncompatible_count += 1
- continue
- if field.element in ['input', 'openfile']:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element in ['combo', 'comboEdit', 'radio', 'file']:
- if field.choice:
- if not field.choice[0]:
- field.choice.pop(0)
- if field.comments:
- if not field.comments[0]:
- field.comments.pop(0)
- if field.comments and field.choice:
- if not field.value in field.choice:
- field.choice.append(field.value)
- value = map(lambda x: field.comments[x] \
- if len(field.comments) > x else field.choice[x],
- map(lambda x: field.choice.index(x),
- filter(lambda x: x in field.choice,
- [field.value])))
- value = ', '.join(value)
- else:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- #_print('\b' + group_name)
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element in ['multichoice', 'multichoice_add', \
- 'selecttable', 'selecttable_add']:
- if field.choice:
- if not field.choice[0]:
- field.choice.pop(0)
- if field.comments:
- if not field.comments[0]:
- field.comments.pop(0)
- if field.listvalue:
- if not field.listvalue[0]:
- field.listvalue.pop(0)
- if field.choice:
- value = map(lambda x: field.comments[x] \
- if len(field.comments) > x \
- else field.choice[x],
- map(lambda x: field.choice.index(x), \
- field.listvalue))
+class Display(object):
+ def __init__(self):
+ self._print = get_terminal_print(color_print().defaultPrint)
+
+ def print_info(self, label, value):
+ GREEN = TextState.Colors.GREEN
+ self.display_asterisk(GREEN)
+ self._print("%s: " % label)
+ WHITE = TextState.Colors.WHITE
+ self._print.foreground(WHITE)(value)
+ self._print("\n")
+
+ def print_label(self, label):
+ GREEN = TextState.Colors.GREEN
+ self.display_asterisk(GREEN)
+ self._print("%s: " % label)
+ self._print("\n")
+
+ def display_asterisk(self, color):
+ self._print(" ")
+ self._print.foreground(color).bold("*")
+ self._print(" ")
+
+ def print_error(self, message):
+ RED = TextState.Colors.RED
+ self.display_asterisk(RED)
+ self._print(message)
+ self._print("\n")
+
+ def print_table(self, data, head):
+ sys.stdout.write('%s\n' % printTable(data, head))
+
+ def print_group(self, label):
+ WHITE = TextState.Colors.WHITE
+ self._print.foreground(WHITE).bold(label)
+ self._print("\n")
+
+
+class InformationElement(object):
+ def __init__(self, field, display):
+ self.value = ""
+ self.label = ""
+ self.display = display
+
+ @classmethod
+ def from_field(cls, field, display):
+ if field.type == 'steps':
+ return None
+ map_elements = {'input': ValueInfo,
+ 'openfile': ValueInfo,
+ 'combo': ChoiceInfo,
+ 'comboEdit': ChoiceInfo,
+ 'radio': ChoiceInfo,
+ 'file': ChoiceInfo,
+ 'multichoice': MultiChoiceInfo,
+ 'multichoice_add': MultiChoiceInfo,
+ 'selecttable': MultiChoiceInfo,
+ 'selecttable_add': MultiChoiceInfo,
+ 'error': ErrorInfo,
+ 'check': CheckInfo,
+ 'check_tristate': CheckInfo,
+ 'table': TableInfo
+ }
+ if field.element in map_elements:
+ return map_elements[field.element](field, display)
+ return None
+
+ def show(self):
+ self.display.print_info(self.label, self.value)
+
+
+class ValueInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ValueInfo, self).__init__(field, display)
+ self.value = field.value or ''
+ self.label = field.label
+
+class CheckInfo(InformationElement):
+ def __init__(self, field, display):
+ super(CheckInfo, self).__init__(field, display)
+ self.label = field.label
+ map_answer = {'on':_('yes'), 'off': _("no"), 'auto': _('auto')}
+ self.value = map_answer.get(field.value, field.value)
+
+class ChoiceInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ChoiceInfo, self).__init__(field, display)
+ self.label = field.label or ''
+ if field.choice and field.comments:
+ map_comment = dict(zip(field.choice, field.comments))
+ self.value = map_comment.get(field.value, field.value) or ''
+ else:
+ self.value = field.value if field.value else ''
+
+
+class MultiChoiceInfo(InformationElement):
+ def __init__(self, field, display):
+ super(MultiChoiceInfo, self).__init__(field, display)
+ self.label = field.label or ''
+ if field.listvalue:
+ value = field.listvalue
+ # удалить пустой первый элемент (особенности wsdl)
+ if value and not value[0]:
+ value.pop(0)
+ if field.choice and field.comments:
+ map_comment = dict(zip(field.choice, field.comments))
else:
- value = []
- value = ', '.join(value)
- if field.listvalue and not value:
- value = ', '.join(field.listvalue)
- elif not value:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- #_print('\b' + group_name)
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- # elif field.element == 'label':
- # print field.label
-
- elif field.element == 'error':
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printERROR(field.label)
-
- elif field.element in ['check', 'check_tristate']:
- if field.value == 'on':
- value = _('yes')
- elif field.value == 'off':
- value = _('no')
- elif field.value == 'auto':
- value = _('auto')
+ map_comment = {}
+ self.value = ", ".join([map_comment.get(x, x) or '' for x in value])
+ else:
+ self.value = field.value or ""
+
+
+class ErrorInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ErrorInfo, self).__init__(field, display)
+ self.label = field.label
+
+ def show(self):
+ self.display.print_error(self.label)
+
+
+class TableInfo(InformationElement):
+ """
+ Табличная информация
+ """
+
+ def map_row(self, row, typedata):
+ map_answer = {'on':_('yes'), 'off': _("no"), 'auto': _('auto')}
+ for cell, typefield in izip(row, typedata):
+ if typefield in ['check', 'check_tristate']:
+ yield map_answer.get(cell, cell) or ""
+ elif "password" in typefield:
+ yield "***"
else:
- value = field.value
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element == 'table' and field.type != 'steps':
- head = field.tablevalue.head
-
- body = []
- for row in field.tablevalue.body:
- if not row[0]:
- row.pop(0)
- body.append(row)
-
- # if empty table
- if not filter(None, map(lambda x: x, body)):
- body = [[''] * len(head)]
- res = printTable(body, head)
- sys.stdout.flush()
- sys.stdout.write(res + "\n")
- continue
- ChoiceValue = field.tablevalue.values
- for row in xrange(len(ChoiceValue)):
- if ChoiceValue[row].typefield in ['check', 'check_tristate']:
- for i in xrange(len(body)):
- if body[i][row] == 'on':
- body[i][row] = _('yes')
- if body[i][row] == 'off':
- body[i][row] = _('no')
- if body[i][row] == 'auto':
- body[i][row] = _('auto')
- if "password" in ChoiceValue[row].typefield:
- for i in xrange(len(body)):
- if body[i][row]:
- body[i][row] = '***'
- data = []
- for body_row in body:
- data.append(map(lambda x: x if x else '', body_row))
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS(field.label + ': ')
- res = printTable(data, head)
- sys.stdout.flush()
- sys.stdout.write(res + "\n")
+ yield cell or ""
+
+ def __init__(self, field, display):
+ super(TableInfo, self).__init__(field, display)
+ self.label = field.label
+ self.head = field.tablevalue.head
+
+ # удаление первого элемента строки (для wsdl)
+ body = [x[1:] if x and not x[0] else x for x in field.tablevalue.body]
+
+ if not filter(None, map(lambda x: x, body)):
+ self.body = None
else:
- uncompatible_count += 1
+ type_values = [x.typefield for x in field.tablevalue.values]
+ self.body = [list(self.map_row(x, type_values)) for x in body]
+
+ def show(self):
+ if self.body:
+ self.display.print_label(self.label)
+ self.display.print_table(self.body, self.head)
-# if uncompatible_count == len (Fields) and group_name:
-# colorPrint.printSUCCESS(_('Not used'))
+def print_brief_group(Fields, group_name):
+ display = Display()
+ show_group = True
+ for element in ifilter(None,
+ (InformationElement.from_field(
+ FieldAdapter.from_detect(x),
+ display)
+ for x in Fields if not x.uncompatible)):
+ if show_group:
+ display.print_group(group_name)
+ show_group = False
+ element.show()
+
class Table(tableReport):
def __init__(self, *args, **kwargs):
@@ -953,4 +971,3 @@ def printTable(data, header=None):
except Exception as e:
print str(e)
raise
-

@ -1,456 +0,0 @@
diff --git core/server/api_types.py core/server/api_types.py
index 3863d53..eb205c1 100644
--- core/server/api_types.py
+++ core/server/api_types.py
@@ -164,6 +164,97 @@ class Table(DataVarsSerializer):
self.onClick = onClick
self.addAction = addAction
+class ChoiceValueAdapter(object):
+ def __init__(self, choicevalue):
+ self.choicevalue = choicevalue
+
+ @property
+ def values(self):
+ return self.choicevalue.values.string
+
+ @property
+ def comments(self):
+ return self.choicevalue.comments.string
+
+ @property
+ def onChanged(self):
+ return self.choicevalue.onChanged.string
+
+ def __getattr__(self, item):
+ return getattr(self.choicevalue, item)
+
+ @classmethod
+ def from_detect(cls, choicevalue):
+ if isinstance(choicevalue, ChoiceValue):
+ return choicevalue
+ else:
+ return cls(choicevalue)
+
+class TableAdapter(object):
+ def __init__(self, table):
+ self.table = table
+
+ @property
+ def fields(self):
+ return self.table.fields.string
+
+ @property
+ def head(self):
+ return self.table.head.string
+
+ @property
+ def body(self):
+ if hasattr(self.table.body,'stringArray'):
+ return [row.string
+ for row in self.table.body.stringArray
+ if hasattr(row, "string")]
+ return []
+
+ @property
+ def values(self):
+ return [ChoiceValueAdapter(x) for x in self.table.values.ChoiceValue]
+
+ def __getattr__(self, item):
+ return getattr(self.table, item)
+
+ @classmethod
+ def from_detect(cls, table):
+ if isinstance(table, Table):
+ return table
+ else:
+ return cls(table)
+
+class FieldAdapter(object):
+ def __init__(self, field):
+ self.field = field
+
+ @property
+ def choice(self):
+ return self.field.choice.string
+
+ @property
+ def listvalue(self):
+ return self.field.listvalue.string
+
+ @property
+ def comments(self):
+ return self.field.comments.string
+
+ @property
+ def tablevalue(self):
+ return TableAdapter(self.field.tablevalue)
+
+ def __getattr__(self, item):
+ return getattr(self.field, item)
+
+ @classmethod
+ def from_detect(cls, field):
+ if isinstance(field, Field):
+ return field
+ else:
+ return cls(field)
+
+
class Option(DataVarsSerializer):
shortopt = String
longopt = String
diff --git core/server/replace_class.py core/server/replace_class.py
index 23c5282..6597928 100644
--- core/server/replace_class.py
+++ core/server/replace_class.py
@@ -34,6 +34,7 @@ from calculate.lib.utils.colortext.output import BaseOutput
from calculate.lib.cl_print import color_print
from calculate.lib.datavars import VariableError
from calculate.lib.cl_lang import setLocalTranslate
+from calculate.core.server.api_types import FieldAdapter
from methods_func import get_method_argparser, collect_object, \
check_result_msg, get_param_pwd, _print
@@ -44,7 +45,7 @@ from func import shortTraceback, CommonMethods
setLocalTranslate('cl_core3', sys.modules[__name__])
-from itertools import cycle
+from itertools import cycle, izip, ifilter
import time
@@ -766,159 +767,179 @@ def print_brief(view, brief_label):
print_brief_group(Group.fields, Group.name)
-def print_brief_group(Fields, group_name):
- print_group_flag = False
- # if group_name:
- # _print ('\b'+group_name)
- uncompatible_count = 0
- colorPrint = color_print()
- _colorprint = get_terminal_print(_print)
- for field in Fields:
- if field.uncompatible:
- uncompatible_count += 1
- continue
- if field.element in ['input', 'openfile']:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element in ['combo', 'comboEdit', 'radio', 'file']:
- if field.choice:
- if not field.choice[0]:
- field.choice.pop(0)
- if field.comments:
- if not field.comments[0]:
- field.comments.pop(0)
- if field.comments and field.choice:
- if not field.value in field.choice:
- field.choice.append(field.value)
- value = map(lambda x: field.comments[x] \
- if len(field.comments) > x else field.choice[x],
- map(lambda x: field.choice.index(x),
- filter(lambda x: x in field.choice,
- [field.value])))
- value = ', '.join(value)
- else:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- #_print('\b' + group_name)
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element in ['multichoice', 'multichoice_add', \
- 'selecttable', 'selecttable_add']:
- if field.choice:
- if not field.choice[0]:
- field.choice.pop(0)
- if field.comments:
- if not field.comments[0]:
- field.comments.pop(0)
- if field.listvalue:
- if not field.listvalue[0]:
- field.listvalue.pop(0)
- if field.choice:
- value = map(lambda x: field.comments[x] \
- if len(field.comments) > x \
- else field.choice[x],
- map(lambda x: field.choice.index(x), \
- field.listvalue))
+class Display(object):
+ def __init__(self):
+ self._print = get_terminal_print(color_print().defaultPrint)
+
+ def print_info(self, label, value):
+ GREEN = TextState.Colors.GREEN
+ self.display_asterisk(GREEN)
+ self._print("%s: " % label)
+ WHITE = TextState.Colors.WHITE
+ self._print.foreground(WHITE)(value)
+ self._print("\n")
+
+ def print_label(self, label):
+ GREEN = TextState.Colors.GREEN
+ self.display_asterisk(GREEN)
+ self._print("%s: " % label)
+ self._print("\n")
+
+ def display_asterisk(self, color):
+ self._print(" ")
+ self._print.foreground(color).bold("*")
+ self._print(" ")
+
+ def print_error(self, message):
+ RED = TextState.Colors.RED
+ self.display_asterisk(RED)
+ self._print(message)
+ self._print("\n")
+
+ def print_table(self, data, head):
+
+ sys.stdout.write('%s\n' % printTable(data, head))
+
+ def print_group(self, label):
+ #WHITE = TextState.Colors.WHITE
+ #self._print.foreground(WHITE).bold(label)
+ #self._print.underline(label)
+ self._print(label)
+ self._print("\n")
+
+
+class InformationElement(object):
+ def __init__(self, field, display):
+ self.value = ""
+ self.label = ""
+ self.display = display
+
+ @classmethod
+ def from_field(cls, field, display):
+ if field.type == 'steps':
+ return None
+ map_elements = {'input': ValueInfo,
+ 'openfile': ValueInfo,
+ 'combo': ChoiceInfo,
+ 'comboEdit': ChoiceInfo,
+ 'radio': ChoiceInfo,
+ 'file': ChoiceInfo,
+ 'multichoice': MultiChoiceInfo,
+ 'multichoice_add': MultiChoiceInfo,
+ 'selecttable': MultiChoiceInfo,
+ 'selecttable_add': MultiChoiceInfo,
+ 'error': ErrorInfo,
+ 'check': CheckInfo,
+ 'check_tristate': CheckInfo,
+ 'table': TableInfo
+ }
+ if field.element in map_elements:
+ return map_elements[field.element](field, display)
+ return None
+
+ def show(self):
+ self.display.print_info(self.label, self.value)
+
+
+class ValueInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ValueInfo, self).__init__(field, display)
+ self.value = field.value or ''
+ self.label = field.label
+
+class CheckInfo(InformationElement):
+ def __init__(self, field, display):
+ super(CheckInfo, self).__init__(field, display)
+ self.label = field.label
+ map_answer = {'on':_('yes'), 'off': _("no"), 'auto': _('auto')}
+ self.value = map_answer.get(field.value, field.value)
+
+class ChoiceInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ChoiceInfo, self).__init__(field, display)
+ self.label = field.label or ''
+ if field.choice and field.comments:
+ map_comment = dict(zip(field.choice, field.comments))
+ self.value = map_comment.get(field.value, field.value) or ''
+ else:
+ self.value = field.value if field.value else ''
+
+
+class MultiChoiceInfo(InformationElement):
+ def __init__(self, field, display):
+ super(MultiChoiceInfo, self).__init__(field, display)
+ self.label = field.label or ''
+ if field.listvalue:
+ value = field.listvalue
+ # удалить пустой первый элемент (особенности wsdl)
+ if value and not value[0]:
+ value.pop(0)
+ if field.choice and field.comments:
+ map_comment = dict(zip(field.choice, field.comments))
else:
- value = []
- value = ', '.join(value)
- if field.listvalue and not value:
- value = ', '.join(field.listvalue)
- elif not value:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- #_print('\b' + group_name)
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- # elif field.element == 'label':
- # print field.label
-
- elif field.element == 'error':
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printERROR(field.label)
-
- elif field.element in ['check', 'check_tristate']:
- if field.value == 'on':
- value = _('yes')
- elif field.value == 'off':
- value = _('no')
- elif field.value == 'auto':
- value = _('auto')
+ map_comment = {}
+ self.value = ", ".join([map_comment.get(x, x) or '' for x in value])
+ else:
+ self.value = field.value or ""
+
+
+class ErrorInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ErrorInfo, self).__init__(field, display)
+ self.label = field.label
+
+ def show(self):
+ self.display.print_error(self.label)
+
+
+class TableInfo(InformationElement):
+ """
+ Табличная информация
+ """
+
+ def map_row(self, row, typedata):
+ map_answer = {'on':_('yes'), 'off': _("no"), 'auto': _('auto')}
+ for cell, typefield in izip(row, typedata):
+ if typefield in ['check', 'check_tristate']:
+ yield map_answer.get(cell, cell) or ""
+ elif "password" in typefield:
+ yield "***"
else:
- value = field.value
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element == 'table' and field.type != 'steps':
- head = field.tablevalue.head
-
- body = []
- for row in field.tablevalue.body:
- if not row[0]:
- row.pop(0)
- body.append(row)
-
- # if empty table
- if not filter(None, map(lambda x: x, body)):
- body = [[''] * len(head)]
- res = printTable(body, head)
- sys.stdout.flush()
- sys.stdout.write(res + "\n")
- continue
- ChoiceValue = field.tablevalue.values
- for row in xrange(len(ChoiceValue)):
- if ChoiceValue[row].typefield in ['check', 'check_tristate']:
- for i in xrange(len(body)):
- if body[i][row] == 'on':
- body[i][row] = _('yes')
- if body[i][row] == 'off':
- body[i][row] = _('no')
- if body[i][row] == 'auto':
- body[i][row] = _('auto')
- if "password" in ChoiceValue[row].typefield:
- for i in xrange(len(body)):
- if body[i][row]:
- body[i][row] = '***'
- data = []
- for body_row in body:
- data.append(map(lambda x: x if x else '', body_row))
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS(field.label + ': ')
- res = printTable(data, head)
- sys.stdout.flush()
- sys.stdout.write(res + "\n")
+ yield cell or ""
+
+ def __init__(self, field, display):
+ super(TableInfo, self).__init__(field, display)
+ self.label = field.label
+ self.head = field.tablevalue.head
+
+ # удаление первого элемента строки (для wsdl)
+ body = [x[1:] if x and not x[0] else x for x in field.tablevalue.body]
+
+ if not filter(None, map(lambda x: x, body)):
+ self.body = None
else:
- uncompatible_count += 1
+ type_values = [x.typefield for x in field.tablevalue.values]
+ self.body = [list(self.map_row(x, type_values)) for x in body]
+
+ def show(self):
+ if self.body:
+ self.display.print_label(self.label)
+ self.display.print_table(self.body, self.head)
-# if uncompatible_count == len (Fields) and group_name:
-# colorPrint.printSUCCESS(_('Not used'))
+def print_brief_group(Fields, group_name):
+ display = Display()
+ show_group = True
+ for element in ifilter(None,
+ (InformationElement.from_field(
+ FieldAdapter.from_detect(x),
+ display)
+ for x in Fields if not x.uncompatible)):
+ if show_group:
+ display.print_group(group_name)
+ show_group = False
+ element.show()
+
class Table(tableReport):
def __init__(self, *args, **kwargs):
@@ -953,4 +974,3 @@ def printTable(data, header=None):
except Exception as e:
print str(e)
raise
-

@ -1,465 +0,0 @@
diff --git core/server/api_types.py core/server/api_types.py
index 3863d53..eb205c1 100644
--- core/server/api_types.py
+++ core/server/api_types.py
@@ -164,6 +164,97 @@ class Table(DataVarsSerializer):
self.onClick = onClick
self.addAction = addAction
+class ChoiceValueAdapter(object):
+ def __init__(self, choicevalue):
+ self.choicevalue = choicevalue
+
+ @property
+ def values(self):
+ return self.choicevalue.values.string
+
+ @property
+ def comments(self):
+ return self.choicevalue.comments.string
+
+ @property
+ def onChanged(self):
+ return self.choicevalue.onChanged.string
+
+ def __getattr__(self, item):
+ return getattr(self.choicevalue, item)
+
+ @classmethod
+ def from_detect(cls, choicevalue):
+ if isinstance(choicevalue, ChoiceValue):
+ return choicevalue
+ else:
+ return cls(choicevalue)
+
+class TableAdapter(object):
+ def __init__(self, table):
+ self.table = table
+
+ @property
+ def fields(self):
+ return self.table.fields.string
+
+ @property
+ def head(self):
+ return self.table.head.string
+
+ @property
+ def body(self):
+ if hasattr(self.table.body,'stringArray'):
+ return [row.string
+ for row in self.table.body.stringArray
+ if hasattr(row, "string")]
+ return []
+
+ @property
+ def values(self):
+ return [ChoiceValueAdapter(x) for x in self.table.values.ChoiceValue]
+
+ def __getattr__(self, item):
+ return getattr(self.table, item)
+
+ @classmethod
+ def from_detect(cls, table):
+ if isinstance(table, Table):
+ return table
+ else:
+ return cls(table)
+
+class FieldAdapter(object):
+ def __init__(self, field):
+ self.field = field
+
+ @property
+ def choice(self):
+ return self.field.choice.string
+
+ @property
+ def listvalue(self):
+ return self.field.listvalue.string
+
+ @property
+ def comments(self):
+ return self.field.comments.string
+
+ @property
+ def tablevalue(self):
+ return TableAdapter(self.field.tablevalue)
+
+ def __getattr__(self, item):
+ return getattr(self.field, item)
+
+ @classmethod
+ def from_detect(cls, field):
+ if isinstance(field, Field):
+ return field
+ else:
+ return cls(field)
+
+
class Option(DataVarsSerializer):
shortopt = String
longopt = String
diff --git core/server/replace_class.py core/server/replace_class.py
index 23c5282..1318deb 100644
--- core/server/replace_class.py
+++ core/server/replace_class.py
@@ -34,6 +34,7 @@ from calculate.lib.utils.colortext.output import BaseOutput
from calculate.lib.cl_print import color_print
from calculate.lib.datavars import VariableError
from calculate.lib.cl_lang import setLocalTranslate
+from calculate.core.server.api_types import FieldAdapter
from methods_func import get_method_argparser, collect_object, \
check_result_msg, get_param_pwd, _print
@@ -44,7 +45,7 @@ from func import shortTraceback, CommonMethods
setLocalTranslate('cl_core3', sys.modules[__name__])
-from itertools import cycle
+from itertools import cycle, izip, ifilter
import time
@@ -531,7 +532,7 @@ class replaceClass():
def startGroup(self, message):
_print = get_terminal_print()
self.printDefault(
- _print.foreground(TextState.Colors.WHITE).bold(message))
+ _print.foreground(TextState.Colors.WHITE)(message))
#self.addMessage(type='startGroup', message=message)
def endGroup(self):
@@ -766,159 +767,179 @@ def print_brief(view, brief_label):
print_brief_group(Group.fields, Group.name)
-def print_brief_group(Fields, group_name):
- print_group_flag = False
- # if group_name:
- # _print ('\b'+group_name)
- uncompatible_count = 0
- colorPrint = color_print()
- _colorprint = get_terminal_print(_print)
- for field in Fields:
- if field.uncompatible:
- uncompatible_count += 1
- continue
- if field.element in ['input', 'openfile']:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element in ['combo', 'comboEdit', 'radio', 'file']:
- if field.choice:
- if not field.choice[0]:
- field.choice.pop(0)
- if field.comments:
- if not field.comments[0]:
- field.comments.pop(0)
- if field.comments and field.choice:
- if not field.value in field.choice:
- field.choice.append(field.value)
- value = map(lambda x: field.comments[x] \
- if len(field.comments) > x else field.choice[x],
- map(lambda x: field.choice.index(x),
- filter(lambda x: x in field.choice,
- [field.value])))
- value = ', '.join(value)
- else:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- #_print('\b' + group_name)
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element in ['multichoice', 'multichoice_add', \
- 'selecttable', 'selecttable_add']:
- if field.choice:
- if not field.choice[0]:
- field.choice.pop(0)
- if field.comments:
- if not field.comments[0]:
- field.comments.pop(0)
- if field.listvalue:
- if not field.listvalue[0]:
- field.listvalue.pop(0)
- if field.choice:
- value = map(lambda x: field.comments[x] \
- if len(field.comments) > x \
- else field.choice[x],
- map(lambda x: field.choice.index(x), \
- field.listvalue))
+class Display(object):
+ def __init__(self):
+ self._print = get_terminal_print(color_print().defaultPrint)
+
+ def print_info(self, label, value):
+ GREEN = TextState.Colors.GREEN
+ self.display_asterisk(GREEN)
+ self._print("%s: " % label)
+ WHITE = TextState.Colors.WHITE
+ self._print.foreground(WHITE)(value)
+ self._print("\n")
+
+ def print_label(self, label):
+ GREEN = TextState.Colors.GREEN
+ self.display_asterisk(GREEN)
+ self._print("%s: " % label)
+ self._print("\n")
+
+ def display_asterisk(self, color):
+ self._print(" ")
+ self._print.foreground(color).bold("*")
+ self._print(" ")
+
+ def print_error(self, message):
+ RED = TextState.Colors.RED
+ self.display_asterisk(RED)
+ self._print(message)
+ self._print("\n")
+
+ def print_table(self, data, head):
+
+ sys.stdout.write('%s\n' % printTable(data, head))
+
+ def print_group(self, label):
+ #WHITE = TextState.Colors.WHITE
+ #self._print.foreground(WHITE).bold(label)
+ #self._print.underline(label)
+ self._print(label)
+ self._print("\n")
+
+
+class InformationElement(object):
+ def __init__(self, field, display):
+ self.value = ""
+ self.label = ""
+ self.display = display
+
+ @classmethod
+ def from_field(cls, field, display):
+ if field.type == 'steps':
+ return None
+ map_elements = {'input': ValueInfo,
+ 'openfile': ValueInfo,
+ 'combo': ChoiceInfo,
+ 'comboEdit': ChoiceInfo,
+ 'radio': ChoiceInfo,
+ 'file': ChoiceInfo,
+ 'multichoice': MultiChoiceInfo,
+ 'multichoice_add': MultiChoiceInfo,
+ 'selecttable': MultiChoiceInfo,
+ 'selecttable_add': MultiChoiceInfo,
+ 'error': ErrorInfo,
+ 'check': CheckInfo,
+ 'check_tristate': CheckInfo,
+ 'table': TableInfo
+ }
+ if field.element in map_elements:
+ return map_elements[field.element](field, display)
+ return None
+
+ def show(self):
+ self.display.print_info(self.label, self.value)
+
+
+class ValueInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ValueInfo, self).__init__(field, display)
+ self.value = field.value or ''
+ self.label = field.label
+
+class CheckInfo(InformationElement):
+ def __init__(self, field, display):
+ super(CheckInfo, self).__init__(field, display)
+ self.label = field.label
+ map_answer = {'on':_('yes'), 'off': _("no"), 'auto': _('auto')}
+ self.value = map_answer.get(field.value, field.value)
+
+class ChoiceInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ChoiceInfo, self).__init__(field, display)
+ self.label = field.label or ''
+ if field.choice and field.comments:
+ map_comment = dict(zip(field.choice, field.comments))
+ self.value = map_comment.get(field.value, field.value) or ''
+ else:
+ self.value = field.value if field.value else ''
+
+
+class MultiChoiceInfo(InformationElement):
+ def __init__(self, field, display):
+ super(MultiChoiceInfo, self).__init__(field, display)
+ self.label = field.label or ''
+ if field.listvalue:
+ value = field.listvalue
+ # удалить пустой первый элемент (особенности wsdl)
+ if value and not value[0]:
+ value.pop(0)
+ if field.choice and field.comments:
+ map_comment = dict(zip(field.choice, field.comments))
else:
- value = []
- value = ', '.join(value)
- if field.listvalue and not value:
- value = ', '.join(field.listvalue)
- elif not value:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- #_print('\b' + group_name)
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- # elif field.element == 'label':
- # print field.label
-
- elif field.element == 'error':
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printERROR(field.label)
-
- elif field.element in ['check', 'check_tristate']:
- if field.value == 'on':
- value = _('yes')
- elif field.value == 'off':
- value = _('no')
- elif field.value == 'auto':
- value = _('auto')
+ map_comment = {}
+ self.value = ", ".join([map_comment.get(x, x) or '' for x in value])
+ else:
+ self.value = field.value or ""
+
+
+class ErrorInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ErrorInfo, self).__init__(field, display)
+ self.label = field.label
+
+ def show(self):
+ self.display.print_error(self.label)
+
+
+class TableInfo(InformationElement):
+ """
+ Табличная информация
+ """
+
+ def map_row(self, row, typedata):
+ map_answer = {'on':_('yes'), 'off': _("no"), 'auto': _('auto')}
+ for cell, typefield in izip(row, typedata):
+ if typefield in ['check', 'check_tristate']:
+ yield map_answer.get(cell, cell) or ""
+ elif "password" in typefield:
+ yield "***"
else:
- value = field.value
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element == 'table' and field.type != 'steps':
- head = field.tablevalue.head
-
- body = []
- for row in field.tablevalue.body:
- if not row[0]:
- row.pop(0)
- body.append(row)
-
- # if empty table
- if not filter(None, map(lambda x: x, body)):
- body = [[''] * len(head)]
- res = printTable(body, head)
- sys.stdout.flush()
- sys.stdout.write(res + "\n")
- continue
- ChoiceValue = field.tablevalue.values
- for row in xrange(len(ChoiceValue)):
- if ChoiceValue[row].typefield in ['check', 'check_tristate']:
- for i in xrange(len(body)):
- if body[i][row] == 'on':
- body[i][row] = _('yes')
- if body[i][row] == 'off':
- body[i][row] = _('no')
- if body[i][row] == 'auto':
- body[i][row] = _('auto')
- if "password" in ChoiceValue[row].typefield:
- for i in xrange(len(body)):
- if body[i][row]:
- body[i][row] = '***'
- data = []
- for body_row in body:
- data.append(map(lambda x: x if x else '', body_row))
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS(field.label + ': ')
- res = printTable(data, head)
- sys.stdout.flush()
- sys.stdout.write(res + "\n")
+ yield cell or ""
+
+ def __init__(self, field, display):
+ super(TableInfo, self).__init__(field, display)
+ self.label = field.label
+ self.head = field.tablevalue.head
+
+ # удаление первого элемента строки (для wsdl)
+ body = [x[1:] if x and not x[0] else x for x in field.tablevalue.body]
+
+ if not filter(None, map(lambda x: x, body)):
+ self.body = None
else:
- uncompatible_count += 1
+ type_values = [x.typefield for x in field.tablevalue.values]
+ self.body = [list(self.map_row(x, type_values)) for x in body]
+
+ def show(self):
+ if self.body:
+ self.display.print_label(self.label)
+ self.display.print_table(self.body, self.head)
-# if uncompatible_count == len (Fields) and group_name:
-# colorPrint.printSUCCESS(_('Not used'))
+def print_brief_group(Fields, group_name):
+ display = Display()
+ show_group = True
+ for element in ifilter(None,
+ (InformationElement.from_field(
+ FieldAdapter.from_detect(x),
+ display)
+ for x in Fields if not x.uncompatible)):
+ if show_group:
+ display.print_group(group_name)
+ show_group = False
+ element.show()
+
class Table(tableReport):
def __init__(self, *args, **kwargs):
@@ -953,4 +974,3 @@ def printTable(data, header=None):
except Exception as e:
print str(e)
raise
-

@ -1,500 +0,0 @@
diff --git core/server/api_types.py core/server/api_types.py
index 3863d53..eb205c1 100644
--- core/server/api_types.py
+++ core/server/api_types.py
@@ -164,6 +164,97 @@ class Table(DataVarsSerializer):
self.onClick = onClick
self.addAction = addAction
+class ChoiceValueAdapter(object):
+ def __init__(self, choicevalue):
+ self.choicevalue = choicevalue
+
+ @property
+ def values(self):
+ return self.choicevalue.values.string
+
+ @property
+ def comments(self):
+ return self.choicevalue.comments.string
+
+ @property
+ def onChanged(self):
+ return self.choicevalue.onChanged.string
+
+ def __getattr__(self, item):
+ return getattr(self.choicevalue, item)
+
+ @classmethod
+ def from_detect(cls, choicevalue):
+ if isinstance(choicevalue, ChoiceValue):
+ return choicevalue
+ else:
+ return cls(choicevalue)
+
+class TableAdapter(object):
+ def __init__(self, table):
+ self.table = table
+
+ @property
+ def fields(self):
+ return self.table.fields.string
+
+ @property
+ def head(self):
+ return self.table.head.string
+
+ @property
+ def body(self):
+ if hasattr(self.table.body,'stringArray'):
+ return [row.string
+ for row in self.table.body.stringArray
+ if hasattr(row, "string")]
+ return []
+
+ @property
+ def values(self):
+ return [ChoiceValueAdapter(x) for x in self.table.values.ChoiceValue]
+
+ def __getattr__(self, item):
+ return getattr(self.table, item)
+
+ @classmethod
+ def from_detect(cls, table):
+ if isinstance(table, Table):
+ return table
+ else:
+ return cls(table)
+
+class FieldAdapter(object):
+ def __init__(self, field):
+ self.field = field
+
+ @property
+ def choice(self):
+ return self.field.choice.string
+
+ @property
+ def listvalue(self):
+ return self.field.listvalue.string
+
+ @property
+ def comments(self):
+ return self.field.comments.string
+
+ @property
+ def tablevalue(self):
+ return TableAdapter(self.field.tablevalue)
+
+ def __getattr__(self, item):
+ return getattr(self.field, item)
+
+ @classmethod
+ def from_detect(cls, field):
+ if isinstance(field, Field):
+ return field
+ else:
+ return cls(field)
+
+
class Option(DataVarsSerializer):
shortopt = String
longopt = String
diff --git core/server/replace_class.py core/server/replace_class.py
index 23c5282..6901ef6 100644
--- core/server/replace_class.py
+++ core/server/replace_class.py
@@ -34,6 +34,7 @@ from calculate.lib.utils.colortext.output import BaseOutput
from calculate.lib.cl_print import color_print
from calculate.lib.datavars import VariableError
from calculate.lib.cl_lang import setLocalTranslate
+from calculate.core.server.api_types import FieldAdapter
from methods_func import get_method_argparser, collect_object, \
check_result_msg, get_param_pwd, _print
@@ -44,7 +45,7 @@ from func import shortTraceback, CommonMethods
setLocalTranslate('cl_core3', sys.modules[__name__])
-from itertools import cycle
+from itertools import cycle, izip, ifilter
import time
@@ -411,9 +412,9 @@ class replaceClass():
yes_color, no_color = Colors.GREEN, Colors.LIGHT_RED
else:
yes_color, no_color = Colors.LIGHT_RED, Colors.GREEN
- yes = _print.foreground(yes_color).bold("Yes")
- no = _print.foreground(no_color).bold("No")
- white_message = _print.foreground(Colors.WHITE).bold(
+ yes = _print.foreground(yes_color)("Yes")
+ no = _print.foreground(no_color)("No")
+ white_message = _print.foreground(Colors.WHITE)(
message)
ask = raw_input(white_message + ' (%s/%s): ' % (yes, no))
except KeyboardInterrupt:
@@ -445,7 +446,7 @@ class replaceClass():
useGetChar = False
else:
useGetChar = True
- message = _print.foreground(Colors.WHITE).bold(message)
+ message = _print.foreground(Colors.WHITE)(message)
while True:
outMessage = message + ' (%s): ' % \
@@ -531,7 +532,7 @@ class replaceClass():
def startGroup(self, message):
_print = get_terminal_print()
self.printDefault(
- _print.foreground(TextState.Colors.WHITE).bold(message))
+ _print.foreground(TextState.Colors.WHITE)(message))
#self.addMessage(type='startGroup', message=message)
def endGroup(self):
@@ -766,159 +767,179 @@ def print_brief(view, brief_label):
print_brief_group(Group.fields, Group.name)
-def print_brief_group(Fields, group_name):
- print_group_flag = False
- # if group_name:
- # _print ('\b'+group_name)
- uncompatible_count = 0
- colorPrint = color_print()
- _colorprint = get_terminal_print(_print)
- for field in Fields:
- if field.uncompatible:
- uncompatible_count += 1
- continue
- if field.element in ['input', 'openfile']:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element in ['combo', 'comboEdit', 'radio', 'file']:
- if field.choice:
- if not field.choice[0]:
- field.choice.pop(0)
- if field.comments:
- if not field.comments[0]:
- field.comments.pop(0)
- if field.comments and field.choice:
- if not field.value in field.choice:
- field.choice.append(field.value)
- value = map(lambda x: field.comments[x] \
- if len(field.comments) > x else field.choice[x],
- map(lambda x: field.choice.index(x),
- filter(lambda x: x in field.choice,
- [field.value])))
- value = ', '.join(value)
- else:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- #_print('\b' + group_name)
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element in ['multichoice', 'multichoice_add', \
- 'selecttable', 'selecttable_add']:
- if field.choice:
- if not field.choice[0]:
- field.choice.pop(0)
- if field.comments:
- if not field.comments[0]:
- field.comments.pop(0)
- if field.listvalue:
- if not field.listvalue[0]:
- field.listvalue.pop(0)
- if field.choice:
- value = map(lambda x: field.comments[x] \
- if len(field.comments) > x \
- else field.choice[x],
- map(lambda x: field.choice.index(x), \
- field.listvalue))
+class Display(object):
+ def __init__(self):
+ self._print = get_terminal_print(color_print().defaultPrint)
+
+ def print_info(self, label, value):
+ GREEN = TextState.Colors.GREEN
+ self.display_asterisk(GREEN)
+ self._print("%s: " % label)
+ WHITE = TextState.Colors.WHITE
+ self._print.foreground(WHITE)(value)
+ self._print("\n")
+
+ def print_label(self, label):
+ GREEN = TextState.Colors.GREEN
+ self.display_asterisk(GREEN)
+ self._print("%s: " % label)
+ self._print("\n")
+
+ def display_asterisk(self, color):
+ self._print(" ")
+ self._print.foreground(color).bold("*")
+ self._print(" ")
+
+ def print_error(self, message):
+ RED = TextState.Colors.RED
+ self.display_asterisk(RED)
+ self._print(message)
+ self._print("\n")
+
+ def print_table(self, data, head):
+
+ sys.stdout.write('%s\n' % printTable(data, head))
+
+ def print_group(self, label):
+ #WHITE = TextState.Colors.WHITE
+ #self._print.foreground(WHITE).bold(label)
+ #self._print.underline(label)
+ self._print(label)
+ self._print("\n")
+
+
+class InformationElement(object):
+ def __init__(self, field, display):
+ self.value = ""
+ self.label = ""
+ self.display = display
+
+ @classmethod
+ def from_field(cls, field, display):
+ if field.type == 'steps':
+ return None
+ map_elements = {'input': ValueInfo,
+ 'openfile': ValueInfo,
+ 'combo': ChoiceInfo,
+ 'comboEdit': ChoiceInfo,
+ 'radio': ChoiceInfo,
+ 'file': ChoiceInfo,
+ 'multichoice': MultiChoiceInfo,
+ 'multichoice_add': MultiChoiceInfo,
+ 'selecttable': MultiChoiceInfo,
+ 'selecttable_add': MultiChoiceInfo,
+ 'error': ErrorInfo,
+ 'check': CheckInfo,
+ 'check_tristate': CheckInfo,
+ 'table': TableInfo
+ }
+ if field.element in map_elements:
+ return map_elements[field.element](field, display)
+ return None
+
+ def show(self):
+ self.display.print_info(self.label, self.value)
+
+
+class ValueInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ValueInfo, self).__init__(field, display)
+ self.value = field.value or ''
+ self.label = field.label
+
+class CheckInfo(InformationElement):
+ def __init__(self, field, display):
+ super(CheckInfo, self).__init__(field, display)
+ self.label = field.label
+ map_answer = {'on':_('yes'), 'off': _("no"), 'auto': _('auto')}
+ self.value = map_answer.get(field.value, field.value)
+
+class ChoiceInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ChoiceInfo, self).__init__(field, display)
+ self.label = field.label or ''
+ if field.choice and field.comments:
+ map_comment = dict(zip(field.choice, field.comments))
+ self.value = map_comment.get(field.value, field.value) or ''
+ else:
+ self.value = field.value if field.value else ''
+
+
+class MultiChoiceInfo(InformationElement):
+ def __init__(self, field, display):
+ super(MultiChoiceInfo, self).__init__(field, display)
+ self.label = field.label or ''
+ if field.listvalue:
+ value = field.listvalue
+ # удалить пустой первый элемент (особенности wsdl)
+ if value and not value[0]:
+ value.pop(0)
+ if field.choice and field.comments:
+ map_comment = dict(zip(field.choice, field.comments))
else:
- value = []
- value = ', '.join(value)
- if field.listvalue and not value:
- value = ', '.join(field.listvalue)
- elif not value:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- #_print('\b' + group_name)
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- # elif field.element == 'label':
- # print field.label
-
- elif field.element == 'error':
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printERROR(field.label)
-
- elif field.element in ['check', 'check_tristate']:
- if field.value == 'on':
- value = _('yes')
- elif field.value == 'off':
- value = _('no')
- elif field.value == 'auto':
- value = _('auto')
+ map_comment = {}
+ self.value = ", ".join([map_comment.get(x, x) or '' for x in value])
+ else:
+ self.value = field.value or ""
+
+
+class ErrorInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ErrorInfo, self).__init__(field, display)
+ self.label = field.label
+
+ def show(self):
+ self.display.print_error(self.label)
+
+
+class TableInfo(InformationElement):
+ """
+ Табличная информация
+ """
+
+ def map_row(self, row, typedata):
+ map_answer = {'on':_('yes'), 'off': _("no"), 'auto': _('auto')}
+ for cell, typefield in izip(row, typedata):
+ if typefield in ['check', 'check_tristate']:
+ yield map_answer.get(cell, cell) or ""
+ elif "password" in typefield:
+ yield "***"
else:
- value = field.value
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element == 'table' and field.type != 'steps':
- head = field.tablevalue.head
-
- body = []
- for row in field.tablevalue.body:
- if not row[0]:
- row.pop(0)
- body.append(row)
-
- # if empty table
- if not filter(None, map(lambda x: x, body)):
- body = [[''] * len(head)]
- res = printTable(body, head)
- sys.stdout.flush()
- sys.stdout.write(res + "\n")
- continue
- ChoiceValue = field.tablevalue.values
- for row in xrange(len(ChoiceValue)):
- if ChoiceValue[row].typefield in ['check', 'check_tristate']:
- for i in xrange(len(body)):
- if body[i][row] == 'on':
- body[i][row] = _('yes')
- if body[i][row] == 'off':
- body[i][row] = _('no')
- if body[i][row] == 'auto':
- body[i][row] = _('auto')
- if "password" in ChoiceValue[row].typefield:
- for i in xrange(len(body)):
- if body[i][row]:
- body[i][row] = '***'
- data = []
- for body_row in body:
- data.append(map(lambda x: x if x else '', body_row))
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS(field.label + ': ')
- res = printTable(data, head)
- sys.stdout.flush()
- sys.stdout.write(res + "\n")
+ yield cell or ""
+
+ def __init__(self, field, display):
+ super(TableInfo, self).__init__(field, display)
+ self.label = field.label
+ self.head = field.tablevalue.head
+
+ # удаление первого элемента строки (для wsdl)
+ body = [x[1:] if x and not x[0] else x for x in field.tablevalue.body]
+
+ if not filter(None, map(lambda x: x, body)):
+ self.body = None
else:
- uncompatible_count += 1
+ type_values = [x.typefield for x in field.tablevalue.values]
+ self.body = [list(self.map_row(x, type_values)) for x in body]
+
+ def show(self):
+ if self.body:
+ self.display.print_label(self.label)
+ self.display.print_table(self.body, self.head)
-# if uncompatible_count == len (Fields) and group_name:
-# colorPrint.printSUCCESS(_('Not used'))
+def print_brief_group(Fields, group_name):
+ display = Display()
+ show_group = True
+ for element in ifilter(None,
+ (InformationElement.from_field(
+ FieldAdapter.from_detect(x),
+ display)
+ for x in Fields if not x.uncompatible)):
+ if show_group:
+ display.print_group(group_name)
+ show_group = False
+ element.show()
+
class Table(tableReport):
def __init__(self, *args, **kwargs):
@@ -953,4 +974,3 @@ def printTable(data, header=None):
except Exception as e:
print str(e)
raise
-
diff --git core/variables/certificate.py core/variables/certificate.py
index 7cbf9fe..8b1c0cf 100644
--- core/variables/certificate.py
+++ core/variables/certificate.py
@@ -204,7 +204,7 @@ class VariableClCertGroups(Variable):
(OpenSSL.SSL.FILETYPE_PEM, cert)
com = certobj.get_extension(certobj.get_extension_count()-1). \
get_data()
- groups = com.split(':')[1]
+ groups = com.rpartition(':')[2]
groups_list = groups.split(',')
return groups_list
except (OpenSSL.crypto.Error,IOError) as e:

@ -1,522 +0,0 @@
diff --git core/server/api_types.py core/server/api_types.py
index 3863d53..eb205c1 100644
--- core/server/api_types.py
+++ core/server/api_types.py
@@ -164,6 +164,97 @@ class Table(DataVarsSerializer):
self.onClick = onClick
self.addAction = addAction
+class ChoiceValueAdapter(object):
+ def __init__(self, choicevalue):
+ self.choicevalue = choicevalue
+
+ @property
+ def values(self):
+ return self.choicevalue.values.string
+
+ @property
+ def comments(self):
+ return self.choicevalue.comments.string
+
+ @property
+ def onChanged(self):
+ return self.choicevalue.onChanged.string
+
+ def __getattr__(self, item):
+ return getattr(self.choicevalue, item)
+
+ @classmethod
+ def from_detect(cls, choicevalue):
+ if isinstance(choicevalue, ChoiceValue):
+ return choicevalue
+ else:
+ return cls(choicevalue)
+
+class TableAdapter(object):
+ def __init__(self, table):
+ self.table = table
+
+ @property
+ def fields(self):
+ return self.table.fields.string
+
+ @property
+ def head(self):
+ return self.table.head.string
+
+ @property
+ def body(self):
+ if hasattr(self.table.body,'stringArray'):
+ return [row.string
+ for row in self.table.body.stringArray
+ if hasattr(row, "string")]
+ return []
+
+ @property
+ def values(self):
+ return [ChoiceValueAdapter(x) for x in self.table.values.ChoiceValue]
+
+ def __getattr__(self, item):
+ return getattr(self.table, item)
+
+ @classmethod
+ def from_detect(cls, table):
+ if isinstance(table, Table):
+ return table
+ else:
+ return cls(table)
+
+class FieldAdapter(object):
+ def __init__(self, field):
+ self.field = field
+
+ @property
+ def choice(self):
+ return self.field.choice.string
+
+ @property
+ def listvalue(self):
+ return self.field.listvalue.string
+
+ @property
+ def comments(self):
+ return self.field.comments.string
+
+ @property
+ def tablevalue(self):
+ return TableAdapter(self.field.tablevalue)
+
+ def __getattr__(self, item):
+ return getattr(self.field, item)
+
+ @classmethod
+ def from_detect(cls, field):
+ if isinstance(field, Field):
+ return field
+ else:
+ return cls(field)
+
+
class Option(DataVarsSerializer):
shortopt = String
longopt = String
diff --git core/server/replace_class.py core/server/replace_class.py
index 23c5282..6901ef6 100644
--- core/server/replace_class.py
+++ core/server/replace_class.py
@@ -34,6 +34,7 @@ from calculate.lib.utils.colortext.output import BaseOutput
from calculate.lib.cl_print import color_print
from calculate.lib.datavars import VariableError
from calculate.lib.cl_lang import setLocalTranslate
+from calculate.core.server.api_types import FieldAdapter
from methods_func import get_method_argparser, collect_object, \
check_result_msg, get_param_pwd, _print
@@ -44,7 +45,7 @@ from func import shortTraceback, CommonMethods
setLocalTranslate('cl_core3', sys.modules[__name__])
-from itertools import cycle
+from itertools import cycle, izip, ifilter
import time
@@ -411,9 +412,9 @@ class replaceClass():
yes_color, no_color = Colors.GREEN, Colors.LIGHT_RED
else:
yes_color, no_color = Colors.LIGHT_RED, Colors.GREEN
- yes = _print.foreground(yes_color).bold("Yes")
- no = _print.foreground(no_color).bold("No")
- white_message = _print.foreground(Colors.WHITE).bold(
+ yes = _print.foreground(yes_color)("Yes")
+ no = _print.foreground(no_color)("No")
+ white_message = _print.foreground(Colors.WHITE)(
message)
ask = raw_input(white_message + ' (%s/%s): ' % (yes, no))
except KeyboardInterrupt:
@@ -445,7 +446,7 @@ class replaceClass():
useGetChar = False
else:
useGetChar = True
- message = _print.foreground(Colors.WHITE).bold(message)
+ message = _print.foreground(Colors.WHITE)(message)
while True:
outMessage = message + ' (%s): ' % \
@@ -531,7 +532,7 @@ class replaceClass():
def startGroup(self, message):
_print = get_terminal_print()
self.printDefault(
- _print.foreground(TextState.Colors.WHITE).bold(message))
+ _print.foreground(TextState.Colors.WHITE)(message))
#self.addMessage(type='startGroup', message=message)
def endGroup(self):
@@ -766,159 +767,179 @@ def print_brief(view, brief_label):
print_brief_group(Group.fields, Group.name)
-def print_brief_group(Fields, group_name):
- print_group_flag = False
- # if group_name:
- # _print ('\b'+group_name)
- uncompatible_count = 0
- colorPrint = color_print()
- _colorprint = get_terminal_print(_print)
- for field in Fields:
- if field.uncompatible:
- uncompatible_count += 1
- continue
- if field.element in ['input', 'openfile']:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element in ['combo', 'comboEdit', 'radio', 'file']:
- if field.choice:
- if not field.choice[0]:
- field.choice.pop(0)
- if field.comments:
- if not field.comments[0]:
- field.comments.pop(0)
- if field.comments and field.choice:
- if not field.value in field.choice:
- field.choice.append(field.value)
- value = map(lambda x: field.comments[x] \
- if len(field.comments) > x else field.choice[x],
- map(lambda x: field.choice.index(x),
- filter(lambda x: x in field.choice,
- [field.value])))
- value = ', '.join(value)
- else:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- #_print('\b' + group_name)
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element in ['multichoice', 'multichoice_add', \
- 'selecttable', 'selecttable_add']:
- if field.choice:
- if not field.choice[0]:
- field.choice.pop(0)
- if field.comments:
- if not field.comments[0]:
- field.comments.pop(0)
- if field.listvalue:
- if not field.listvalue[0]:
- field.listvalue.pop(0)
- if field.choice:
- value = map(lambda x: field.comments[x] \
- if len(field.comments) > x \
- else field.choice[x],
- map(lambda x: field.choice.index(x), \
- field.listvalue))
+class Display(object):
+ def __init__(self):
+ self._print = get_terminal_print(color_print().defaultPrint)
+
+ def print_info(self, label, value):
+ GREEN = TextState.Colors.GREEN
+ self.display_asterisk(GREEN)
+ self._print("%s: " % label)
+ WHITE = TextState.Colors.WHITE
+ self._print.foreground(WHITE)(value)
+ self._print("\n")
+
+ def print_label(self, label):
+ GREEN = TextState.Colors.GREEN
+ self.display_asterisk(GREEN)
+ self._print("%s: " % label)
+ self._print("\n")
+
+ def display_asterisk(self, color):
+ self._print(" ")
+ self._print.foreground(color).bold("*")
+ self._print(" ")
+
+ def print_error(self, message):
+ RED = TextState.Colors.RED
+ self.display_asterisk(RED)
+ self._print(message)
+ self._print("\n")
+
+ def print_table(self, data, head):
+
+ sys.stdout.write('%s\n' % printTable(data, head))
+
+ def print_group(self, label):
+ #WHITE = TextState.Colors.WHITE
+ #self._print.foreground(WHITE).bold(label)
+ #self._print.underline(label)
+ self._print(label)
+ self._print("\n")
+
+
+class InformationElement(object):
+ def __init__(self, field, display):
+ self.value = ""
+ self.label = ""
+ self.display = display
+
+ @classmethod
+ def from_field(cls, field, display):
+ if field.type == 'steps':
+ return None
+ map_elements = {'input': ValueInfo,
+ 'openfile': ValueInfo,
+ 'combo': ChoiceInfo,
+ 'comboEdit': ChoiceInfo,
+ 'radio': ChoiceInfo,
+ 'file': ChoiceInfo,
+ 'multichoice': MultiChoiceInfo,
+ 'multichoice_add': MultiChoiceInfo,
+ 'selecttable': MultiChoiceInfo,
+ 'selecttable_add': MultiChoiceInfo,
+ 'error': ErrorInfo,
+ 'check': CheckInfo,
+ 'check_tristate': CheckInfo,
+ 'table': TableInfo
+ }
+ if field.element in map_elements:
+ return map_elements[field.element](field, display)
+ return None
+
+ def show(self):
+ self.display.print_info(self.label, self.value)
+
+
+class ValueInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ValueInfo, self).__init__(field, display)
+ self.value = field.value or ''
+ self.label = field.label
+
+class CheckInfo(InformationElement):
+ def __init__(self, field, display):
+ super(CheckInfo, self).__init__(field, display)
+ self.label = field.label
+ map_answer = {'on':_('yes'), 'off': _("no"), 'auto': _('auto')}
+ self.value = map_answer.get(field.value, field.value)
+
+class ChoiceInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ChoiceInfo, self).__init__(field, display)
+ self.label = field.label or ''
+ if field.choice and field.comments:
+ map_comment = dict(zip(field.choice, field.comments))
+ self.value = map_comment.get(field.value, field.value) or ''
+ else:
+ self.value = field.value if field.value else ''
+
+
+class MultiChoiceInfo(InformationElement):
+ def __init__(self, field, display):
+ super(MultiChoiceInfo, self).__init__(field, display)
+ self.label = field.label or ''
+ if field.listvalue:
+ value = field.listvalue
+ # удалить пустой первый элемент (особенности wsdl)
+ if value and not value[0]:
+ value.pop(0)
+ if field.choice and field.comments:
+ map_comment = dict(zip(field.choice, field.comments))
else:
- value = []
- value = ', '.join(value)
- if field.listvalue and not value:
- value = ', '.join(field.listvalue)
- elif not value:
- value = field.value if field.value else ''
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- #_print('\b' + group_name)
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- # elif field.element == 'label':
- # print field.label
-
- elif field.element == 'error':
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printERROR(field.label)
-
- elif field.element in ['check', 'check_tristate']:
- if field.value == 'on':
- value = _('yes')
- elif field.value == 'off':
- value = _('no')
- elif field.value == 'auto':
- value = _('auto')
+ map_comment = {}
+ self.value = ", ".join([map_comment.get(x, x) or '' for x in value])
+ else:
+ self.value = field.value or ""
+
+
+class ErrorInfo(InformationElement):
+ def __init__(self, field, display):
+ super(ErrorInfo, self).__init__(field, display)
+ self.label = field.label
+
+ def show(self):
+ self.display.print_error(self.label)
+
+
+class TableInfo(InformationElement):
+ """
+ Табличная информация
+ """
+
+ def map_row(self, row, typedata):
+ map_answer = {'on':_('yes'), 'off': _("no"), 'auto': _('auto')}
+ for cell, typefield in izip(row, typedata):
+ if typefield in ['check', 'check_tristate']:
+ yield map_answer.get(cell, cell) or ""
+ elif "password" in typefield:
+ yield "***"
else:
- value = field.value
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS('%s: %s' % (field.label, value))
-
- elif field.element == 'table' and field.type != 'steps':
- head = field.tablevalue.head
-
- body = []
- for row in field.tablevalue.body:
- if not row[0]:
- row.pop(0)
- body.append(row)
-
- # if empty table
- if not filter(None, map(lambda x: x, body)):
- body = [[''] * len(head)]
- res = printTable(body, head)
- sys.stdout.flush()
- sys.stdout.write(res + "\n")
- continue
- ChoiceValue = field.tablevalue.values
- for row in xrange(len(ChoiceValue)):
- if ChoiceValue[row].typefield in ['check', 'check_tristate']:
- for i in xrange(len(body)):
- if body[i][row] == 'on':
- body[i][row] = _('yes')
- if body[i][row] == 'off':
- body[i][row] = _('no')
- if body[i][row] == 'auto':
- body[i][row] = _('auto')
- if "password" in ChoiceValue[row].typefield:
- for i in xrange(len(body)):
- if body[i][row]:
- body[i][row] = '***'
- data = []
- for body_row in body:
- data.append(map(lambda x: x if x else '', body_row))
- if not print_group_flag:
- if group_name:
- print_group_flag = True
- _colorprint.bold.foreground(
- TextState.Colors.WHITE)(group_name)
- colorPrint.printSUCCESS(field.label + ': ')
- res = printTable(data, head)
- sys.stdout.flush()
- sys.stdout.write(res + "\n")
+ yield cell or ""
+
+ def __init__(self, field, display):
+ super(TableInfo, self).__init__(field, display)
+ self.label = field.label
+ self.head = field.tablevalue.head
+
+ # удаление первого элемента строки (для wsdl)
+ body = [x[1:] if x and not x[0] else x for x in field.tablevalue.body]
+
+ if not filter(None, map(lambda x: x, body)):
+ self.body = None
else:
- uncompatible_count += 1
+ type_values = [x.typefield for x in field.tablevalue.values]
+ self.body = [list(self.map_row(x, type_values)) for x in body]
+
+ def show(self):
+ if self.body:
+ self.display.print_label(self.label)
+ self.display.print_table(self.body, self.head)
-# if uncompatible_count == len (Fields) and group_name:
-# colorPrint.printSUCCESS(_('Not used'))
+def print_brief_group(Fields, group_name):
+ display = Display()
+ show_group = True
+ for element in ifilter(None,
+ (InformationElement.from_field(
+ FieldAdapter.from_detect(x),
+ display)
+ for x in Fields if not x.uncompatible)):
+ if show_group:
+ display.print_group(group_name)
+ show_group = False
+ element.show()
+
class Table(tableReport):
def __init__(self, *args, **kwargs):
@@ -953,4 +974,3 @@ def printTable(data, header=None):
except Exception as e:
print str(e)
raise
-
diff --git core/variables/certificate.py core/variables/certificate.py
index 7cbf9fe..8b1c0cf 100644
--- core/variables/certificate.py
+++ core/variables/certificate.py
@@ -204,7 +204,7 @@ class VariableClCertGroups(Variable):
(OpenSSL.SSL.FILETYPE_PEM, cert)
com = certobj.get_extension(certobj.get_extension_count()-1). \
get_data()
- groups = com.split(':')[1]
+ groups = com.rpartition(':')[2]
groups_list = groups.split(',')
return groups_list
except (OpenSSL.crypto.Error,IOError) as e:
diff --git scripts/cl-core scripts/cl-core
index 02baeff..c923e34 100644
--- scripts/cl-core
+++ scripts/cl-core
@@ -18,6 +18,7 @@
from calculate.core.server.cl_server import main
import sys, os
reload(sys)
+from calculate.lib.datavars import CriticalError
sys.setdefaultencoding("utf-8")
from calculate.lib.cl_lang import setLocalTranslate
setLocalTranslate('cl_core',sys.modules[__name__])
@@ -26,6 +27,9 @@ from traceback import print_exc
if __name__=='__main__':
try:
sys.exit(main())
+ except CriticalError as e:
+ sys.stderr.write("%s\n" % str(e))
+ sys.exit(1)
except ImportError, e:
print_exc()
cannot_import = 'cannot import name '

@ -1,102 +0,0 @@
diff --git core/server/clean.py core/server/clean.py
index 25cb323..44f7406 100644
--- core/server/clean.py
+++ core/server/clean.py
@@ -21,23 +21,19 @@ from calculate.core.datavars import DataVarsCore
from calculate.lib.cl_lang import setLocalTranslate
setLocalTranslate('cl_core3',sys.modules[__name__])
-# clear server files after restart
-def clean (SID_FILE, PID_FILE, SID_PID, SIDS_DIR, PIDS_DIR):
- if os.path.exists(SID_FILE):
- os.unlink(SID_FILE)
- if os.path.exists(PID_FILE):
- os.unlink(PID_FILE)
- if os.path.exists(SID_PID):
- os.unlink(SID_PID)
- if os.path.isdir(SIDS_DIR):
- for filename in glob.glob(os.path.join(SIDS_DIR, "*.sid")):
- os.unlink (filename)
- if os.path.exists(filename):
- print 'Not deleted file %s!!!' %filename
- if os.path.isdir(PIDS_DIR):
- for filename in glob.glob(os.path.join(PIDS_DIR, "*.pid")):
- os.unlink (filename)
+def clean(sid_file, pid_file, sid_pid, sids_dir, pids_dir):
+ """
+ Удалить все файлы сервера после перезапуска
+ """
+ for fn in (sid_file, pid_file, sid_pid):
+ if os.path.exists(fn):
+ os.unlink(fn)
+
+ for dn in (sids_dir, pids_dir):
+ if os.path.isdir(dn):
+ for filename in glob.glob(os.path.join(dn, "*.sid")):
+ os.unlink(filename)
class CoreWsdl:
# watch for process
diff --git core/server/func.py core/server/func.py
index 9fdee9b..c167af8 100644
--- core/server/func.py
+++ core/server/func.py
@@ -17,6 +17,7 @@
import pickle, random
import threading
import sys, os, re
+from os import path
import traceback
from traceback import print_exc
from api_types import ReturnProgress,ViewParams,Integer,ViewInfo
diff --git core/server/replace_class.py core/server/replace_class.py
index aa83294..6e0da47 100644
--- core/server/replace_class.py
+++ core/server/replace_class.py
@@ -352,7 +352,7 @@ class replaceClass():
def _printOK(self):
self.terminal_print('\r')
- self.terminal_print.right(self.color_print.getconsolewidth()-7)
+ self.terminal_print.right(self.color_print.getconsolewidth()-6)
self.terminal_print.bold.foreground(TextState.Colors.BLUE)("[ ")
self.terminal_print.bold.foreground(TextState.Colors.GREEN)("ok")
self.terminal_print.bold.foreground(TextState.Colors.BLUE)(" ]")
@@ -360,7 +360,7 @@ class replaceClass():
def _printBAD(self):
self.terminal_print('\r')
- self.terminal_print.right(self.color_print.getconsolewidth()-7)
+ self.terminal_print.right(self.color_print.getconsolewidth()-6)
self.terminal_print.bold.foreground(TextState.Colors.BLUE)("[ ")
self.terminal_print.bold.foreground(TextState.Colors.RED)("!!")
self.terminal_print.bold.foreground(TextState.Colors.BLUE)(" ]")
@@ -368,7 +368,7 @@ class replaceClass():
def _printSkip(self):
self.terminal_print('\r')
- self.terminal_print.right(self.color_print.getconsolewidth()-9)
+ self.terminal_print.right(self.color_print.getconsolewidth()-8)
self.terminal_print.bold.foreground(TextState.Colors.BLUE)("[ ")
self.terminal_print.bold.foreground(TextState.Colors.YELLOW)("skip")
self.terminal_print.bold.foreground(TextState.Colors.BLUE)(" ]")
@@ -379,13 +379,12 @@ class replaceClass():
self.spinner.stop()
self.spinner = None
self.setProgress(100, progress_message)
- if self.progressbar and self.progressbar.finished:
- self.terminal_print.up(1).clear_line("")
- self.terminal_print.up(1)("")
- self.progressbar = None
-
- # если result - сообщение
if self.currentTaskMessage:
+ if self.progressbar and self.progressbar.finished:
+ self.terminal_print.up(1).clear_line("")
+ self.terminal_print.up(1)("")
+ self.progressbar = None
+
self.displayResult(result)
self.currentTaskMessage = ""

@ -1,133 +0,0 @@
diff --git core/depricated.py core/depricated.py
new file mode 100644
index 0000000..f5d7b4e
--- /dev/null
+++ core/depricated.py
@@ -0,0 +1,17 @@
+#-*- coding: utf-8 -*-
+
+# Copyright 2011-2013 Calculate Ltd. http://www.calculate-linux.org
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+safetyWrapper = lambda *args, **kw: lambda f:f
diff --git core/server/clean.py core/server/clean.py
index 25cb323..44f7406 100644
--- core/server/clean.py
+++ core/server/clean.py
@@ -21,23 +21,19 @@ from calculate.core.datavars import DataVarsCore
from calculate.lib.cl_lang import setLocalTranslate
setLocalTranslate('cl_core3',sys.modules[__name__])
-# clear server files after restart
-def clean (SID_FILE, PID_FILE, SID_PID, SIDS_DIR, PIDS_DIR):
- if os.path.exists(SID_FILE):
- os.unlink(SID_FILE)
- if os.path.exists(PID_FILE):
- os.unlink(PID_FILE)
- if os.path.exists(SID_PID):
- os.unlink(SID_PID)
- if os.path.isdir(SIDS_DIR):
- for filename in glob.glob(os.path.join(SIDS_DIR, "*.sid")):
- os.unlink (filename)
- if os.path.exists(filename):
- print 'Not deleted file %s!!!' %filename
- if os.path.isdir(PIDS_DIR):
- for filename in glob.glob(os.path.join(PIDS_DIR, "*.pid")):
- os.unlink (filename)
+def clean(sid_file, pid_file, sid_pid, sids_dir, pids_dir):
+ """
+ Удалить все файлы сервера после перезапуска
+ """
+ for fn in (sid_file, pid_file, sid_pid):
+ if os.path.exists(fn):
+ os.unlink(fn)
+
+ for dn in (sids_dir, pids_dir):
+ if os.path.isdir(dn):
+ for filename in glob.glob(os.path.join(dn, "*.sid")):
+ os.unlink(filename)
class CoreWsdl:
# watch for process
diff --git core/server/func.py core/server/func.py
index 9fdee9b..3bde6e4 100644
--- core/server/func.py
+++ core/server/func.py
@@ -17,6 +17,7 @@
import pickle, random
import threading
import sys, os, re
+from os import path
import traceback
from traceback import print_exc
from api_types import ReturnProgress,ViewParams,Integer,ViewInfo
@@ -38,6 +39,7 @@ from calculate.core.server.api_types import ChoiceValue, Table, Option, Field, \
GroupField, ViewInfo, ViewParams
from calculate.lib.datavars import DataVars
from decorators import Dec
+from calculate.core.depricated import safetyWrapper
class CommonMethods:
def dispatchConf(self,filesApply=None):
diff --git core/server/replace_class.py core/server/replace_class.py
index aa83294..6e0da47 100644
--- core/server/replace_class.py
+++ core/server/replace_class.py
@@ -352,7 +352,7 @@ class replaceClass():
def _printOK(self):
self.terminal_print('\r')
- self.terminal_print.right(self.color_print.getconsolewidth()-7)
+ self.terminal_print.right(self.color_print.getconsolewidth()-6)
self.terminal_print.bold.foreground(TextState.Colors.BLUE)("[ ")
self.terminal_print.bold.foreground(TextState.Colors.GREEN)("ok")
self.terminal_print.bold.foreground(TextState.Colors.BLUE)(" ]")
@@ -360,7 +360,7 @@ class replaceClass():
def _printBAD(self):
self.terminal_print('\r')
- self.terminal_print.right(self.color_print.getconsolewidth()-7)
+ self.terminal_print.right(self.color_print.getconsolewidth()-6)
self.terminal_print.bold.foreground(TextState.Colors.BLUE)("[ ")
self.terminal_print.bold.foreground(TextState.Colors.RED)("!!")
self.terminal_print.bold.foreground(TextState.Colors.BLUE)(" ]")
@@ -368,7 +368,7 @@ class replaceClass():
def _printSkip(self):
self.terminal_print('\r')
- self.terminal_print.right(self.color_print.getconsolewidth()-9)
+ self.terminal_print.right(self.color_print.getconsolewidth()-8)
self.terminal_print.bold.foreground(TextState.Colors.BLUE)("[ ")
self.terminal_print.bold.foreground(TextState.Colors.YELLOW)("skip")
self.terminal_print.bold.foreground(TextState.Colors.BLUE)(" ]")
@@ -379,13 +379,12 @@ class replaceClass():
self.spinner.stop()
self.spinner = None
self.setProgress(100, progress_message)
- if self.progressbar and self.progressbar.finished:
- self.terminal_print.up(1).clear_line("")
- self.terminal_print.up(1)("")
- self.progressbar = None
-
- # если result - сообщение
if self.currentTaskMessage:
+ if self.progressbar and self.progressbar.finished:
+ self.terminal_print.up(1).clear_line("")
+ self.terminal_print.up(1)("")
+ self.progressbar = None
+
self.displayResult(result)
self.currentTaskMessage = ""

@ -1,15 +1,5 @@
DIST calculate-desktop-3.2.0_alpha1.tar.bz2 16991 SHA256 ae11cc15034f6c635056d2e093138cd0ff721c16ecce0f7a964b993c531cf55f SHA512 acb9bf90d706072201a3c1c63512e6f218964e89856a704c44f0545124ab96c2e7b1871239e9527ab87579adb812acb4541bb58eebdb53b80442524b5b5cf7e4 WHIRLPOOL 53c36dbad0473a1ba6977de5488975a87e7d35d9975399bdf715a48268dce5eb1b4d0c5026acf65fd6003388d42095d5264396cca5e9c06c98b1711e51f83f65
DIST calculate-desktop-3.2.0_alpha2.tar.bz2 16992 SHA256 a15f663b4cbdf3e5c76a3016c7bd7271eb7c5d2192a914c3e8daf0fa80d7ab6e SHA512 91dc8011d55e6680625d6b9ba101983155c45c01c4286605284521de5c13c8203c1c8c6424bb7b68f041f51863166958a634c18ba18b9e9c82d4ecde51c56c75 WHIRLPOOL 3a2c3282e9d0092e3cea8647cd906987d9ef5966c63f62f24eeeff50face26bc134615c82bb885207209623705940092b46f765dda8e0091afdd27eec8827523
DIST calculate-desktop-3.2.0_alpha3.tar.bz2 16966 SHA256 cec3be379d400c030aba3858555ed30cfd5455dacea5b372c34dcc840bafce4f SHA512 2e2f1b2b90eb1bc4e1617099a83f828f91df3656e6c79e33895c928690bcb155fa5f0af3ad0a15b923121015bf79c0b34a90c8d609d1414e7c242a90372c8a4d WHIRLPOOL 7a4d9c8e709e01cc030ddf89ff529fb733726fcfe91c4b1d8a1b2a011cffc935e2c61c9c6259deea22529279546372a63902e67f773a28e9ec830d6856c2194c
DIST calculate-desktop-3.2.0_alpha4.tar.bz2 16993 SHA256 341af3512fd6f03873d4ba8fb9ae6619e58b3645714e5865528232dfe87bd391 SHA512 e372f6efb53ce25adec3eb537b1fdb9e3aa9ba55675a1d3f27f8b424638a454a9aae9f3dcb89d425b11b3d126d0055c5e382048a0396ca071251ac5afcc057f3 WHIRLPOOL 4c00ec00fb17937ac324d2ad14268c08a200f0e982450e49e9a48f5e887e2f6a69ccba2ec4929715c7fcd5c21c3d96c78b95f7037d2f6ffdde699955134a454c
DIST calculate-desktop-3.2.0_alpha5.tar.bz2 16960 SHA256 5ac8f0f92bd5e71256a78a5715348f627e05e48fbc1e79e6c6a91cd22d1dda8d SHA512 fe655e03a4ff8f115ebcadebd68e0cf439dc10f35b5526b82c7e5df95966c451379a58b7cc3872d6b44f8dad9a2824bb116c4a119a7c3811459b09cddceeb10b WHIRLPOOL c3ee1926c8402d9411983cf53fbf0bee8f972ce7d7bbe53082df2a46b1c3769c96a475884b3e4d7d2ae62f6c9a6af3345c18344a1e7814356856063edb039358
DIST calculate-desktop-3.2.0_alpha6.tar.bz2 16994 SHA256 26c068a2b009a4d3dccf3164d541fcdeb27854717880eddbbba1daecd64998cc SHA512 6ac9f982a5abfd32d36669404de1936b66d57d5e3590778fa6f128464d75fd6a5a3d062fe7a4ad400439929d5d6e3ed2ccbb51c27f5d83ed4b398e463f7c1642 WHIRLPOOL 64e4e53085fd8f7458665471a43816a425e56281d62c3579d68285647057f9ac1e3d761e0d11cd1dd86f80046d1d2525162d4b107e726d6c405a09e5203e8864
DIST calculate-desktop-3.2.0_alpha7.tar.bz2 16986 SHA256 03d279545655fbc44ea0848575f6ffe8c9bbda31b31a8301e88c8c880dd80869 SHA512 1c4de51161b6ac2cbd9c6470fcafd40dfc45b47133c123d518b8cfd32564b6d0e7b55eb10ce5a9330f765219d4adb63c1e7d99792a9021369ae3984b70d5184a WHIRLPOOL 847c81a4ebb390f62efcef7bb4e21e6ce624a5ec52f4f5132f3f7f805bc854ff145c384e5c939b1eadbebe5c17c8023e55a45b3bd36012571e2a7e78073c095f
EBUILD calculate-desktop-3.2.0_alpha1.ebuild 772 SHA256 4cc1a40a4bc4ccce2b878d979ef1dfb84acadad570cebabefc9a34d5f32b774c SHA512 279af8a1c6e5d017d46c2436466e0697f4be35b6975e0f1d44c0f59e8020b3130c5788e4841116a021ab6b16fed1f21052886197342eb0987d72e549f5b17ba2 WHIRLPOOL 8f512d33d5364be9ee9cce997fea18826d77ca85287c7ef146c0729e4cfbeba09e5175fd889325b793322c4feee83633177793204bc63aa773639f27fe845914
EBUILD calculate-desktop-3.2.0_alpha2.ebuild 770 SHA256 894ed9f241cd42c1477ed119b950e22f714ff591309ba0fdb438ffc95c7b9fcb SHA512 ceacdc067a91b9669382490d038702de7c79911aa834250ed03ba87f15ca6c23bde33fb58fa42f65b8ccb4971bfbb41f0c5104f8c6141d264d1187274201e4ce WHIRLPOOL afeee7bcbbd8e945977b17d5d9b06dd6ec1ada2b9471639ea0bf978e7b22c74b36e5b4d45347a031fdda15dec9f112a372afff5447d7428add0fd0d02e45d971
EBUILD calculate-desktop-3.2.0_alpha3.ebuild 770 SHA256 4aa669171d82a0b3f1d17dca57d651c5001e632ed0a00ac19f4eee84fae8f0a5 SHA512 8d9887a764ec8d146943368363e57cb74e1b88709a2faed3e61f027144d347b8508d9a1e52763890c3b4724d27db7249ac5e18aaa5f34c92ba386a2441dfee35 WHIRLPOOL 5947b680727f55a9ada7ffedb13a417f18c1a7ee30d8c624076c57ea2f7327de5977bee1667dfcb5ceea938a576c99199789b1c941fdfbbd9451d0b6278605ef
EBUILD calculate-desktop-3.2.0_alpha4.ebuild 770 SHA256 66a44885c720810ac3f4bedc83d16a1af6947268ef02b5446b52e95873aa9bd8 SHA512 cbe7266189af6b1c43f6c9e7857919a291f46257fe35b2c8c3a6629b63218f566b3069cb0abf03ac3c37a4bbaef0d913e7d6110351252cc059a481fcbd7a1a99 WHIRLPOOL f7804d0a06c5619fd1498443e95769c4c434203f832c180441d19e8fed84bf7ca2ca11804112775467a464c445a7582371690b431ef311f10f6ff2db58b0bc42
EBUILD calculate-desktop-3.2.0_alpha5.ebuild 770 SHA256 a64221d60d2d2793a044b39b6485cb3324b51588529919810da93862850bc47f SHA512 fa31be471f02916f04757fb767f0bb1eaab290827cfb505ae6114e51b04b9c8b61bdb19d9536a05177f89404425d37ae509b32ff025ba6274b81010e62404580 WHIRLPOOL e086e031907c7e35e7c2111d1473c8a3af85b79ccbd6297f08a66fc6d362c45543475e25fa7b1905b3b3544c1e3d0e2d74d0582a56455baf3284f4f209a322e6
EBUILD calculate-desktop-3.2.0_alpha6.ebuild 770 SHA256 b61657898f8754fa2154607e053af2bd11317a9a574daad21028d04db8ed0eba SHA512 11aea4b613fff9ce31b19d3f22bef3d888c8bd3bbacc712b8a8450642bcb19300fe3ff9dc74583e1e8032be3630080609c07e8c86b5aaf99836a50cecbe38f86 WHIRLPOOL 440ec050982e230a337e98f13242016a0edae9764a93660699a0c38ffc6c61d5fa139482ae97fc4e31ebfcc586688e1ab458254dddb4e9fc8e259837fe1fd5b4
EBUILD calculate-desktop-3.2.0_alpha7.ebuild 770 SHA256 dc0c14fdd8a3de6cf5aaeccd504d5938577d9c08977aae82ffbc28e7e364e317 SHA512 9c6770bc981724fae2cfcbb840d7e7451b6af1fa6c1b575efd70e0221495114429e234876c4af26916bbaf7a9c57c9fdf2ecb754a36bc479c77c84a6ec4f7f28 WHIRLPOOL dd3bb9155590e7b5758191670df1f167a656e29f70925d80ab9d72d8bfbc533c677d01c2a33b2cf4e218bdcbfbfe24dc8c3b91bee85bda40c8f1e8a9fff026f5
EBUILD calculate-desktop-3.2.9999.ebuild 976 SHA256 bd8a14acad129ab9d31540ed84b0ac43db93672c8b8503fc8a67fa9806ddf33c SHA512 8369a58929caad3c2b2017589e260c17eb17e55a3f7cd257836c7c9922a6880c991f70ab3e267c21a1cc416261e091aa3e1619e06cdc8c850096a39c63968a28 WHIRLPOOL 837661bf9ab451689c25290793a92286e9bed8eb02761bd3f7757b606f7ef16f18de4a8653c6e0902e3b23fafd1f3f7b3215e7e4d1713ed9e6f70ef12ded196e

@ -1,31 +0,0 @@
# 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 the desktop configuration Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha1
>=dev-python/python-ldap-2.0[ssl]
media-gfx/feh
x11-apps/xmessage
!<sys-apps/calculate-desktop-3.1.0_alpha1
sys-apps/keyutils
sys-auth/pam_keystore
sys-auth/pam_client
dev-lang/swig"
RDEPEND="${DEPEND}"

@ -1,31 +0,0 @@
# 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 the desktop configuration Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha2
>=dev-python/python-ldap-2.0[ssl]
media-gfx/feh
x11-apps/xmessage
!<sys-apps/calculate-desktop-3.1.0_alpha1
sys-apps/keyutils
sys-auth/pam_keystore
sys-auth/pam_client
dev-lang/swig"
RDEPEND="${DEPEND}"

@ -1,31 +0,0 @@
# 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 the desktop configuration Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha3
>=dev-python/python-ldap-2.0[ssl]
media-gfx/feh
x11-apps/xmessage
!<sys-apps/calculate-desktop-3.1.0_alpha1
sys-apps/keyutils
sys-auth/pam_keystore
sys-auth/pam_client
dev-lang/swig"
RDEPEND="${DEPEND}"

@ -1,31 +0,0 @@
# 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 the desktop configuration Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha4
>=dev-python/python-ldap-2.0[ssl]
media-gfx/feh
x11-apps/xmessage
!<sys-apps/calculate-desktop-3.1.0_alpha1
sys-apps/keyutils
sys-auth/pam_keystore
sys-auth/pam_client
dev-lang/swig"
RDEPEND="${DEPEND}"

@ -1,31 +0,0 @@
# 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 the desktop configuration Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha5
>=dev-python/python-ldap-2.0[ssl]
media-gfx/feh
x11-apps/xmessage
!<sys-apps/calculate-desktop-3.1.0_alpha1
sys-apps/keyutils
sys-auth/pam_keystore
sys-auth/pam_client
dev-lang/swig"
RDEPEND="${DEPEND}"

@ -1,16 +1,6 @@
AUX calculate-i18n-3.2.0_alpha6-r1.patch 2028 SHA256 b9e8577bdd11aa5e37e276bfca165816456ac43407bd509043b23740cc5e4d60 SHA512 b66a449e3b6d2f44f91b920c33e3f69d12d9659eb9973653babe5a15e5fc7c4d6ff5774957c231fdbcb435faf7042b327deb5f7c968d0f75ae412cd5938da66d WHIRLPOOL 14fd8b210ef316b82e9993320e014a79c4f263b48124ff344c87cd22f72285070667063ea6a5a299191e50f38e2e378272f80daffa93e0075ab00d936274b775
DIST calculate-i18n-3.2.0_alpha1.tar.bz2 61231 SHA256 7106c79fd6384acbcfe97f46d1334cae25a63b9c91731be963411df3223e5bdb SHA512 1653a8b65e9a38ba795fba1045be5c458a6f195f58edd6de950cbea493a0e1ae5b76ed9dd4476dc2327efde39c578761f8d1792db2957867a1ce588aa9597cf0 WHIRLPOOL 46f088ecff5f03dcc27394fb725ab82e25be09eb87f1d990a3989bbbba7aa426ff6e1eb87b1dcdd620df3aba85874cb6061dad2af361b9c61e9c8aac732a3590
DIST calculate-i18n-3.2.0_alpha2.tar.bz2 34970 SHA256 c71c744ab1d7283be43e3d598bcf08fe54027ce71ce26d3551b070a50fba41c0 SHA512 d8cff0a3ce4ad4f1cfcf7bce396f27f1498d8a8e54becad8404825c01cb91438d7888bd590a72bb6da5a87d1988a8d6fc7e7c5fc72346ecdf0dbffe6cec0b5d1 WHIRLPOOL 02b1170764e4f281b1f6a2cdc5cb9642e1f6fb49effa612466b97f2a0eab4e0c8c20dcbd5a5a89501effa696fef6a8f8e5ed559854a15fd1794caf11349d3bbb
DIST calculate-i18n-3.2.0_alpha3.tar.bz2 64607 SHA256 c50117023a7f6d15fe1709df53ace756b442a8e56264c0995eaa6461193426c4 SHA512 e8c3de330a653949e769a1334529e349699245be90a9e30000999bf81e7f9ff2769e7df38220b496559fc1d3c42156b6c70fa0880e7b9c1334a5efe67877eb5e WHIRLPOOL 91954eca39d6faa72fa8423d7216ae8ab4482e91e4a7e5e8026cc76a4421e707700d6b5d16f7460d533a3447cccb0a743a70747ac5da6dc5cb7a34c8e2cc2bcb
DIST calculate-i18n-3.2.0_alpha4.tar.bz2 64591 SHA256 14deed30aee3525955439021bbd9a501e086521fd3cdba0002e40d356d3b2a24 SHA512 2f03e15155f6ecf8f289d9393a9cb376d50d6ebed2278c93ef8ee5dd1d9e326814c22dc53d99accd311ade8819d032715e0d395d1f684701695fd9ce50c0d43f WHIRLPOOL 334921c721aa37c9148f1ee9ea218754716722c975785b514f725e66e2f6a66a90bc84ce32fb251702b2935fc3bf43936109d7a24b5c447c9406e291da66b4ca
DIST calculate-i18n-3.2.0_alpha5.tar.bz2 64580 SHA256 0cba2b732a1a4fc8ce1908658e6e3f77b7b01c04231ea9e789a79555fdc22747 SHA512 1886da4bd99f8bc0496ea8e61c1c565f92b1a840840cddbd0a4474cf5277b259502b45e979f67e37cdacde32432b97babf3694aa200ba09802289f6285c3bb69 WHIRLPOOL baa262149eafb71c8c9f60c30c47deffd8429653f8a17342fa52588c494b2b1e392fccda88c9880e2339d2bc4d44c6a027f1fc9f7dbd8c0737e5956864e69ffa
DIST calculate-i18n-3.2.0_alpha6.tar.bz2 64584 SHA256 19a08288593778bb81df32c4c7d8ec6c2e3cfab3e98c778cc661d47a6d9c66e1 SHA512 b512ba91756af95ce7f388139280a9e8015a1a41c41b8101d56f5202df5cf42d1038d25dd3f97ab13542b5c85a6999eb303c338bf0aace7033cfb2987bfec660 WHIRLPOOL 80863dc1eeb451df069ca31e3b0cf5bbfdc56fcd838dd7047a9f494aaed1b0b4890dbc4fe812a6f46ad24b91606ec224380d5c5bc909a13965aa1defd907a364
DIST calculate-i18n-3.2.0_alpha7.tar.bz2 64625 SHA256 6aa19bc23ffa69e6db29ebe2852f786ff4d5a640ef6535f00552fe9b1a626774 SHA512 007f055b54266a8165ec49270ab9d467ecc53565a74d7a4cc444762ecbb81375989cabb324e105b3f9205eba4c2403084ccbcdb55233a4a5c2ec7d47df31778e WHIRLPOOL e9c66cf06a91f6fffa84ed2d1824b28253636a65e4695caaec26787993aab7d8c4a783cc1d20ce9a8ef67ae22f9e2320750dedaf482823e83477b4527b9359c3
EBUILD calculate-i18n-3.2.0_alpha1.ebuild 591 SHA256 5ffe274215d7d2dd0a355675dff86da7e74a6c0c2ca6cce8cb345ae909cd3e20 SHA512 75bca8b32a89d672c9cea72800c074f13850b33ac369b3bdcff981b041a18d6cca490e5dd57f4d1a1618f2ee5f0676b87ea5372b9869ba61a1480b88be0107a3 WHIRLPOOL f043207a332c295e80220387087065cbcc81a9472846f406c53b849bd3841f4e730754c418b75e0535b82f4b77556cf5bd796cd52308cf3b014e05b47c231547
EBUILD calculate-i18n-3.2.0_alpha2.ebuild 589 SHA256 b45f5619cab0bb1bb706d601da1c4d5e1a31dd69a73ec669a27243ca5072e29d SHA512 98aa0a8710bb183fbb691b49caf4b68eaaadd669db57c78679305596515d2d4936a4cad36c42df81dc4cdd3ff8b39c193c6146a473e5441a9a51d19a1a74ebc4 WHIRLPOOL eee1a0420d4defd8f3d0766d265569bb641f67b49e4db76a49868261e4ef9f1c3757f664a1ef180abf308041eb6fccad12c488a0d5974007a8536cb884208e20
EBUILD calculate-i18n-3.2.0_alpha3.ebuild 589 SHA256 8526833ac80c87e8731602895c4aa859fdbaa365e6de325b4f4b259707f3e62c SHA512 4ca589da2909d64711317b1cf7f62c4ab48027e597b1a4ec5a206d967d3c49a4c791d18d4d0e1bed4c0bb96b88cd9ec800e97ae5476fbb5b69b71073e49f56f3 WHIRLPOOL 02da6df2104aea7c94bf305f4c31a2a62399e645e079abd8df256b3c2a1f6e787d8b3a6aed41284de9b08a78dccde842fc2b125b8b22038c3fef0e397001e513
EBUILD calculate-i18n-3.2.0_alpha4.ebuild 589 SHA256 00394ac81ce10df46006aecda247d2af779009b8cae139a2713d477a3e6e67cb SHA512 de7af88fb51cd4e03d69c3fe8559da69f5289fd77ac7d2467ba87af01c8ccd9a3a71ad0c661494ec36033c5464d8612152e425f7e9506cde9dfdedaadbaf0ec8 WHIRLPOOL fa26f563e2f424a933baa9ae8831503a24985f1237d029770515fee592ca46ece05582f59b3f0bcc2f3229a87569b0798df84bb257ea611ee365ed51a537fbd8
EBUILD calculate-i18n-3.2.0_alpha5.ebuild 589 SHA256 e44ffb1768bfda4e62d27da0e92469188fb8be92c2d6cba27d18353054afe0cb SHA512 0648528f8ec9ec119582687175f1177cc44e4f9843e6c8b17c522f90365fb5fadc9ad8994c728f95580596fbc90faa5094e6accb76d6ae93eb994c2896bbbdb2 WHIRLPOOL 27dc9c92a261e11c6bbfaa9bda217d0ef6266c87ebbf4254733350a36018125611c7b171fd306419d9571a9f47482ed91da86c9eb87c6e63a9358f8b895e91a8
EBUILD calculate-i18n-3.2.0_alpha6-r1.ebuild 731 SHA256 be88afd34ad405aa054f0e2d571272005abcdb0fae565aee4831170cb8da2826 SHA512 f23bdf7f67ca241abcfc287a86d322119a9b34cbc733658b9f95d3836d669849eaed3b0704c2f22a50b43c14974bc33bc94837b4be60c073f54283d0a819f09b WHIRLPOOL 8bd173141576e8add3622d794175db07cd8edae447d6d95bff10fc6276c65db2c83f9dd4045feaffd019daf2d33d8055a108fd5ee39e57613753ffe328750369
EBUILD calculate-i18n-3.2.0_alpha6.ebuild 589 SHA256 4f8fa37f38584c2cf677381de4eb0b29d950e267092021b261646fc399c9ced0 SHA512 38ae5bd8627cef3b67177705f1f03d379161cca364de0adc8bcffb60616f234a45ffc1eb62b56966a4b4de39f75c6d7055b51bcaa05c4460e4bfbc546fc6fbf7 WHIRLPOOL ba058adfe7ce88bd7de4286e4cdeaa306cf4ccc560ffcc170f503e13e2bd10415b8325445ee4b7f975425142525030193802f2a6dddf18d5af9c8bd66768fd52
EBUILD calculate-i18n-3.2.0_alpha7.ebuild 589 SHA256 daab19f74e201f8da55c8a982ccb464bf53b69c8255c9f13a6924268250432d5 SHA512 baa6f75ad7599f2856a3153ccb20529e0e09a8eaf2f1bd442066f4c00344ff74443c2d4ed638dca829580a5d7393537b2a22bbc4ae4b9547e4abfb4df91db2ca WHIRLPOOL 13c19f6c89eb474f131f38ed856ba0fc897406dfbec3a810ab70d0fac1e71540e884b762fba29bc4b3a84cd1980f3fae9adfd71ad4c66dd3d72719b987853567

@ -1,23 +0,0 @@
# 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 utilities for assembling tasks of Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=sys-apps/calculate-lib-3.2.0_alpha1"
DEPEND="sys-devel/gettext
${RDEPEND}"

@ -1,23 +0,0 @@
# 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 utilities for assembling tasks of Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
RDEPEND=">=sys-apps/calculate-lib-3.2.0_alpha2"
DEPEND="sys-devel/gettext
${RDEPEND}"

@ -1,23 +0,0 @@
# 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 utilities for assembling tasks of Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
RDEPEND=">=sys-apps/calculate-lib-3.2.0_alpha3"
DEPEND="sys-devel/gettext
${RDEPEND}"

@ -1,23 +0,0 @@
# 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 utilities for assembling tasks of Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
RDEPEND=">=sys-apps/calculate-lib-3.2.0_alpha4"
DEPEND="sys-devel/gettext
${RDEPEND}"

@ -1,23 +0,0 @@
# 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 utilities for assembling tasks of Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
RDEPEND=">=sys-apps/calculate-lib-3.2.0_alpha5"
DEPEND="sys-devel/gettext
${RDEPEND}"

@ -1,17 +1,5 @@
AUX calculate-install-3.2.0_alpha4-r1.patch 542 SHA256 e65e98c21728e29093ef210b38b28bd9c5ed77d9dad23e0b58f47b7a1a5138de SHA512 a2708507707ae6c1742b79f690f57316cac5b59881a0914ab38c507406c48e3fc53438ea4f62da3bb163d6399480a7240862eb315c7706ea145a75f05968c1e2 WHIRLPOOL 1fb0e494376f91a75a29fecffaeb38bb95b0098798d3d574bddd7aca6c49c3373a25cd7bb22b8cb0437bf53c3c4905b61b9824528a2fdf36db301dc3391009bc
DIST calculate-install-3.2.0_alpha1.tar.bz2 77373 SHA256 d636ddbfe3fa2990e5a490b6fd23cee7c1f9d2d69fcb975d62ef2cf94b78a033 SHA512 f2e1089828811d0dac18ed3d3e864dc1a543f198edf8b18a23b267b16f2583d75c4f3650ce92d7fd54de489da8b825c77b4d3fe5d788d210810f9909dca48266 WHIRLPOOL ef0d8766eb20eb8076ebcceaaa869d887ea02ccc565a149840ee645e43366de236f8f1250d9a1052e8146c6401f4562b5457cb071bf9ad49db9800ce53c99f4d
DIST calculate-install-3.2.0_alpha2.tar.bz2 77181 SHA256 abc155fae93afef3d7aa5d8281e5445e002e0686e86268e850419870aadb3c2b SHA512 0c9554fe492bdbd01f5dba35af0690b621a9f9df48df13404a7d9b65aadc785afd4060fb891e993a8ee0cc22aea707815969e1092727f26568d5d8bb83d2731c WHIRLPOOL 0ae8fe06302a94f450db857fa6f24d40f07193a56ec4834f3de82a707fc5616fb2a3aca3e034e5fdf890c6aa4e61cd7ce94fdab21ecd7d2117f0341803dcc8af
DIST calculate-install-3.2.0_alpha3.tar.bz2 77190 SHA256 507730948b2beca15bdf70bb0af8c319766229d41e7b59b13930d3706034bc8c SHA512 b786dcd699707e58487136fc9a60b18912c8db65f9c843bffd6c7c701c6d3ce083dd0e5a7a93f89b3fa8da95c1e10bcb3d891047f78826b8b6ed15d55287ef31 WHIRLPOOL a0666f19decb779cfde4a808e7395b79dbc0b25a5fdf396172b4728711ad76a4de42b73a13f05513727d8dc78a2a5e14fd986c41b08c124fd35d6ee66eac50d5
DIST calculate-install-3.2.0_alpha4.tar.bz2 77196 SHA256 69d5b92b5e3df781a4581b471459241b2335829295fb876335064bba8dad09c7 SHA512 d5e631c3ed09fa8133f8607a1c6708c77fee2504aa8dfbc5c7ae90986c440664eeb576e20feb0fce9d72d30ba16f461167a07da1f596b044bdde9ac925f60a33 WHIRLPOOL 313875703beea9de6dff965ae7bd817be6cd2ebaf858d804b03bffdc47c1e658b97c7f81d203967c182170886d1ab488d28f91c668a1311499468c6c151b0181
DIST calculate-install-3.2.0_alpha5.tar.bz2 77187 SHA256 8f09ab733b935750a73199b6e4c41443f6eb787b3cba608630ebc0421e85f91c SHA512 78424eb916048098dee9ec02ef501834b3c3b3fbf617d972c55236e64f6081965437dc6a648768f13104e48eb826ff3f0970549113ff005f617f555f5f114443 WHIRLPOOL e7a8c91a16f30766a155bb1aec97d25f0fe58ab222dcbb500d836649b668a052df0ee83fb9beb45dbd465358a25e9de2a47c28c7625aa9486b0e13df0f25218c
DIST calculate-install-3.2.0_alpha6.tar.bz2 77185 SHA256 a7ef2b34ed7a3b59eae49260bb8e7a5ed4eacb6c3dd3bf23baf73ba70e85ae07 SHA512 55e0b230723181d0b732e53135b458a73d436875b76c928677865053e3884de32741fa9f964ba7029802f56adf4d83f0fda0efc19af0547c0aec2853c1ce0fee WHIRLPOOL 7873b23d068939b94b88420d3e1c4ed9e7f4975f5c8acdf0b1209cf91a3576bd7051f015f1235c81c2a5b1375e25a408004880edf34c5a240600f55923fcf655
DIST calculate-install-3.2.0_alpha7.tar.bz2 77177 SHA256 a03bc2dcc969a899af47b17c6e8c73572f7536825ed0dba38181004c5bdd2d49 SHA512 8d2f298e9a39e85eb2cd097e77c9f2995ac2f4c683b306956806f1ea220f8238a75870fbc8345f6248d41a25b6a9b1d141c30507c63a5d16f8187b02e6cf51ac WHIRLPOOL b34095ea200c698f3f0189636941fda6834c5b482e60356ccb53df453e00e846b086eb15fde08cf82a00b4a8fc9418ee516db06486791e45d52c50d792e67c25
EBUILD calculate-install-3.2.0_alpha1.ebuild 914 SHA256 2ef6cf6b62c46fb65466a7dab039e72178fc98f77ea56104b4f327b2596cbbd4 SHA512 f0853f5ddc2c71754e5249df9c332a04accc390d7514347651a24ce4ace8e93e4ac1a763aadec5fe4de4ffe7277d6c7e477985fda9c3a9c8957afea52b7bcb74 WHIRLPOOL e443c38a254512205f1d141c3d409a44329c22ff56281da462bef683cab2bb3dc2cff416d39ed30fde512c69551005bb099ffb22e90e89f25b1de3e01afe9271
EBUILD calculate-install-3.2.0_alpha2.ebuild 912 SHA256 51833fff84c97b49c86408f08c8d0eb4f6e56edf10be7239c114f751ebd7c30a SHA512 1e6d379cf8949a2c12226042ade00605c6aa8987a8d3213396ed15584da0bbad50fa8ba20e74c145e6658e914a18112afd890d3828c542765b098dbcf1932a18 WHIRLPOOL 460574e3ca234a13f49d0f4edf56e93a76f536f2b46d4693f478bcfc3b0a940610c5c1b32f02d37e5f4ba28cdbed3a79f76f0c094e852f3e5cf12f793cfd141c
EBUILD calculate-install-3.2.0_alpha3.ebuild 912 SHA256 219ca7b8fffc380861aea9e5e48d8ca5eb4747f36ba4656e32f8bd3841fe71d7 SHA512 b2c5bf3fe10e622f8293635d577cb1eb07ee4fce584aa7010f8fe3469bb308c92479eb3531480ef1c3aee29d9c9fb7feed3f5d037bfc9972a7ff18f86729e784 WHIRLPOOL fe30a249f0b87e5d1c0bde27600fee673943de5046609f1d282a6f415f4e6d263c75c9258d48eb6d6b5ed546f98ee7228233aca75340032f6fe902163d5ef65a
EBUILD calculate-install-3.2.0_alpha4-r1.ebuild 1057 SHA256 0c3b03eda9902977d17953f45a190e09b86311e62155e4a4b35e5675605d4fe7 SHA512 84a3421cffda225d6ea2afcd43701dd59b245fa25efe0a7eab3c4cbe501490efa553a7c28a18a69de37d24a9def44d46e30e387d1da654d918bb6291fc279ff4 WHIRLPOOL 887cf49f6aacec909e45e464236bde2be7de920d67dc1d92f80282f3e1860d1e217ab07113e8d1c3cb1855150c36cf98202907c7341420441f3e06d18b233816
EBUILD calculate-install-3.2.0_alpha4.ebuild 912 SHA256 551346a50d995d60b6ea747c6b13eead110648da9a354085236720c31b4d17eb SHA512 7cd67aaaa9cca4613c6a660dc8258fe82399829e48411fde8de0c5f36a2b905baa8d14a16392cceb14d81194f5a5b09de6f3792b7d4bd0d8c113c3cfc5570008 WHIRLPOOL 0aa1bbaeb375fbf54a6ee76e1c8156e7bb927d73c3dcf0d0a62ea861731e52d1077ec71013c01ca66673f5d1d97574e76b3f90a59a167196776c62a0361bb4be
EBUILD calculate-install-3.2.0_alpha5.ebuild 912 SHA256 889647a000d8356f50853025db7751c8d6b99a1e009c3f1122258562abff0832 SHA512 832339126d271fd9ae0ef8d28beaaa8409dc8960ae08a0e87ec6e35c4a2e9761909d8e641850b5843a788c2b39666a2543df6d3000c520ee67dd32594408eac3 WHIRLPOOL d5fb216058eae45f861233cde470f30e367bb57c8d95586e955b68f46b6e151cdc01c684150ffaec1dfdf0052c15a28c62f875130d83c0eac507428a48821025
EBUILD calculate-install-3.2.0_alpha6.ebuild 912 SHA256 90162bd69aa98810a7cb2083bb76e395806aa1f18c56880d292a61501eacb1d3 SHA512 86d1975cf6fc9ae795ac30ccd74ba682e3bf91c47533a43c1045edd0e97591d4f3e5146492f573fb9fbae703c29d1cfbd33e13a43e708f673d4750e7d4f20b5a WHIRLPOOL a13022978dea3a31d90c77b0d4b32028593e632187ce74ad261922c0ac0aaafdc0de1ef3d93cfe0e2f405c4bb7c8bccfe9773c38ec35e3a6f68af8b6eff4e975
EBUILD calculate-install-3.2.0_alpha7.ebuild 912 SHA256 357670ed6057184cea7e6abc3f15e40f1e65e4a0dc099058ad335869c8ccc9ff SHA512 5005816cd85e777d08ffdebd0622bf0a90a178ccd30c42d9da1cc5ef3d598c1fcc96dce50d8e6302fb9b35fc2a8ad0b178867b8d9c4748469a38ca6aeec9acb0 WHIRLPOOL 83fa722c6a4b3b917e02d4d01c4fc3037f07ac4e5d9baabeb81f872407c23cfc2e10e60de86d5b61fc0fb81949a3a80173f34ff33809b64c68a639a07e91dd16
EBUILD calculate-install-3.2.9999.ebuild 683 SHA256 e355d430ae0b2a2103d5c959adf7fa57a23d4bfa17d77c2bd698114fe6c471ce SHA512 de416bd2be0d4928fc2934724abcd3fd168ba8a945bd680a61b990d01805f3dd22c1955bb819f271357fd12bccd91c25daa058b3c667deeceb255c5d713ff0c6 WHIRLPOOL dcfb7e979a63dad506743834f09b8192fbb5ddd637fde5a6890fa7412b453fa99b7d94f3229149061469ce1a541a1560f97de875aa61a9aa301d5fe97408876c

@ -1,36 +0,0 @@
# 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="~amd64 ~x86"
IUSE="pxe minimal"
DEPEND="~sys-apps/calculate-core-3.2.0_alpha1
!<sys-apps/calculate-install-2.2.29
app-portage/layman
>=virtual/udev-197
!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 )"

@ -1,36 +0,0 @@
# 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="amd64 x86"
IUSE="pxe minimal"
DEPEND="~sys-apps/calculate-core-3.2.0_alpha2
!<sys-apps/calculate-install-2.2.29
app-portage/layman
>=virtual/udev-197
!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 )"

@ -1,36 +0,0 @@
# 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="amd64 x86"
IUSE="pxe minimal"
DEPEND="~sys-apps/calculate-core-3.2.0_alpha3
!<sys-apps/calculate-install-2.2.29
app-portage/layman
>=virtual/udev-197
!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 )"

@ -1,44 +0,0 @@
# 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="amd64 x86"
IUSE="pxe minimal"
DEPEND="~sys-apps/calculate-core-3.2.0_alpha4
!<sys-apps/calculate-install-2.2.29
app-portage/layman
>=virtual/udev-197
!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 )"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-install-3.2.0_alpha4-r1.patch"
}

@ -1,36 +0,0 @@
# 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="amd64 x86"
IUSE="pxe minimal"
DEPEND="~sys-apps/calculate-core-3.2.0_alpha4
!<sys-apps/calculate-install-2.2.29
app-portage/layman
>=virtual/udev-197
!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 )"

@ -1,36 +0,0 @@
# 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="amd64 x86"
IUSE="pxe minimal"
DEPEND="~sys-apps/calculate-core-3.2.0_alpha5
!<sys-apps/calculate-install-2.2.29
app-portage/layman
>=virtual/udev-197
!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 )"

@ -1,12 +0,0 @@
diff --git install/variables/distr.py install/variables/distr.py
index 5c23c17..001b5cd 100644
--- install/variables/distr.py
+++ install/variables/distr.py
@@ -143,6 +143,7 @@ class DistroRepository(Linux):
def listdistr(pathname):
if path.exists(path.join(pathname,'etc/make.profile')) or \
+ path.exists(path.join(pathname,'etc/portage/make.profile')) or \
path.exists(path.join(pathname,'livecd')) or \
pathname.startswith('/dev/'):
return [pathname]

@ -1,26 +1,6 @@
AUX calculate-lib-3.2.0_alpha1-r1.patch 1248 SHA256 6b1b3d062a082ca34c708d9700d0501225cd18a6a255ed16517b3815e619f536 SHA512 d77196c708e76fd2cb261fe6ac6d66249ceffd567a730a51b075a667c416e6c481302917874cc4dc2b982b0495695486580e79af0fa96ed54bada581badd6a37 WHIRLPOOL 0fe7e95183e80c5bd1e62b6615f7ed022ef9edd077ab6dc8c75b41afcee451544de3b653436d68b41e5ed30e29621697c5a739ca4c355e0a4c7abc2862f083ab
AUX calculate-lib-3.2.0_alpha4-r1.patch 6748 SHA256 236837ce239f3f320f6aa1be194b0a5eac34247ea3bcbbb35a4bd1d8c7b1c84e SHA512 4120021db63a44072f472928ad459553aee5f84a52a78afa90387801df7c4dd1832afae771962ee2f9aaf22ffc33faecefa276ee6631080ae8f2db8621321ab9 WHIRLPOOL 8839d8a96f30c6ddbf6221f0a7cb235cf7866c1158030943c2dcc51e5c89e06f1e7a97d4a8aff2170a4f7dd9327831bfe7962d86c7b3b618d479248d6169acf3
AUX calculate-lib-3.2.0_alpha4-r2.patch 7413 SHA256 9e49d514d21f3305cf4ad5052f3c2ab03e2afeed14a24a6ce952e4ebb689142a SHA512 cf84c413dfab87accfa47cc0aac43ecde2b3d014e2b1b23f9c547067a90c0d1cf3b3c287ddfa6564c7aa160211bd91e110c3af34daa9187a07c6cb1811e8ebf6 WHIRLPOOL dd485b0cfc6b45eb6eabd1ca056216a6374ea596c71d184e1ad2306001082954dd09d38415f7729e25527b24345ee7105d83523f01dd500723ec74898ec8040b
AUX calculate-lib-3.2.0_alpha4-r3.patch 7981 SHA256 36b903823d4d2020518beccaa00ef26eeb4dba56fca2d90aeaede9d1e6063dce SHA512 8f91d8f45d505a1ba646152fb0471083bc138162aae8ad48686cb72d20b3e4544fcab3817e5b1e19561813892c8acee162cfb6662886181f872aaf7ead4b9002 WHIRLPOOL 77f16da7c30008a2ca57a91ffd92345204c53f294a3b01a73e29c8bf2abe6735d3010143231b846d57c66f941e4d2a4cade6187fe203e4d415ee681d1d6efe39
AUX calculate-lib-3.2.0_alpha4-r4.patch 8366 SHA256 dc0315ac1befc048c883bae6184ff29d9c500b518c21637253a4a5931e398bd8 SHA512 a090bb31503906e44248bdf67925a1f1410c008fbc48538bd9ca3ea3abe23465c0701c5cabd2986a023ca95b6b9ccac46f89acf2946e82162fa1001ccaaa6f0a WHIRLPOOL 9060bf90752afd6ac153876baad960ba9ab86b360738d98aa3a9d9718bc6abd208ce3474f9f11680b1ffcb3327a8e1aa4c50f928531437163829dacb08e8ecb0
AUX calculate-lib-3.2.0_alpha6-r1.patch 4151 SHA256 4070948bf227f5fb60dc89f1794d9dcf15a9fce48a5b9b5318d9223d71364da7 SHA512 4dbfa5a48c24556979a2a73b184eecc976b8738cc05bbffccfa2792a992e9d21ed1f37bbe21e4401eb2c92678f90b692e30b25119473908b3585a2fd226f74cd WHIRLPOOL bff16327876d77abc7b37006ff06d44f17aeb8de1043fc86c59b76833c97a5de52b73a966e3174cc5ff57d347c829d3f219767855458a5e46cb4b948da7be5d8
DIST calculate-lib-3.2.0_alpha1.tar.bz2 121698 SHA256 a1c605690dbb8c9fa6bcccd1a3bd1ff6500e4566e9d9a8ddc1ef4967ea38fbb8 SHA512 30196b7cba04f218c2e3105951fdaaa1a8c916d5b2265a4a09d1cce7b317f7ec501cd2edb70ecb41f25a1ee4ecfa89e23e3255a4adbfbf3ba7715c384171d0a3 WHIRLPOOL 0e9525e2b728a98c02b0a11f70dc13fb3922fd7e5ac01b168d9aeaa8c2544707533a1ecbd6aea4dd28a7836288efd8a8393216a68176c32615af8417e1acd4fc
DIST calculate-lib-3.2.0_alpha2.tar.bz2 131437 SHA256 726e062234ea0d668c1f05c8ab9a3093d25faf2825f028a0879339471d80de97 SHA512 9f7d1de80ac08b15b575ffb396ac01fbbf94cb6d57960854175256274039f83b619849d4930830682d110df7d28a789ac2b23ea5c3e5fb73dd06a48b4c28e455 WHIRLPOOL 2b5feb2d7aa97861ad2691056ecd8a8f43fc837b4f95e83b23780f53db8285950cc3a029acd83b6f287ef76d29a29c3fe896c920c633b81a235c5d124f650e24
DIST calculate-lib-3.2.0_alpha3.tar.bz2 131427 SHA256 17851382ad90e511132428fdbc3e4736ad78e6add64174b863f4470e86ad9ebc SHA512 46f2c2d9e31e88f215037935ac8b0dc0086ed98663a2174e425f77d3b9256345837c7803ae3c55dbd9ce9d38609d776b3058a128b1d12f621e64b4a2fe92d606 WHIRLPOOL 90d81f3adbda01b99b3b09f1cc1fd13d87580b0586c7a28e93968ceabf79eee7328c6fd272237d13985d9ebac2e7f0645f9b101a326b6105b36ea19c5f0e561f
DIST calculate-lib-3.2.0_alpha4.tar.bz2 131468 SHA256 25c7b1da15db9b31a2dcf5f85ad23aa9a90f60edb4a68881b430d4faaa381995 SHA512 163ee28c908cff51d882f3a8ded10b766f5460edf9892499ac66db2d88d5d790b9bd283f4a31196e28440e784a97bfd35d112eabd0449e9ae5f694ea323a8256 WHIRLPOOL 74163a7602c86dc726d018658d39b4ca5f845fb9af9da45742d48830278918d4ee9465f157782d06532684cfdb896c8ee8b67922f8579d56e4e9d984c2186912
DIST calculate-lib-3.2.0_alpha5.tar.bz2 131828 SHA256 70632d4943ef92da7487012f0c3386296b730af5586a3a6eb58c8bb03cb9741b SHA512 57cae8aa2949a6d1178d0b335fbb402815f03b5f16db59cc32552beee92b87b55d4db89424df6391a5705dafdfe29353316b401d230059250ff6eacebf70c530 WHIRLPOOL 4b80ad83a4351b04856ac306fbac5a9df7da661f72c855a48c41e963be58eda76e86f197b9b1df97f9accd6d42c3b891014fbbb54bdb87fde57a46c32d53fc6b
DIST calculate-lib-3.2.0_alpha6.tar.bz2 131821 SHA256 8f717b7c520e8d2cfdfa30dfc1d0b3eec0de33b3d9aedb768318aab5f28b11fc SHA512 6339c2c8ff0640b9365463142420e2045a70b99f6379c59d9a08d9701fd7deb05a7143761f5c897ebfea82bfc6098e3be76418dcc412a42439c07984f049b041 WHIRLPOOL 8d71acceb708135d70c196f2d16e33bd7162d757c44b25304131b9bf2263f9580c4ff55a8fd82c0c4aa3c92f7844805d241fe864c7720736bbe2431b2045bafd
DIST calculate-lib-3.2.0_alpha7.tar.bz2 131887 SHA256 e4248f39c08807a5e8974c3de442405496b63ce2df81ce4d4b72b75422989d22 SHA512 21e01131546d59b437cb358f5d0a8e07e30d79a68bb192639f943f6c51bb2da68b0b63d43b4e31205c9aeed266eb63db2becd66734847450618650a5e1cdcaae WHIRLPOOL 5e0a7b0cca05ffe05947f844e2f8947c3f62973c64a4cc8ec14c406259bb607c2a90e7fbca86898efccf8d69383dec42469a00888220b41f2612c504393a02e7
EBUILD calculate-lib-3.2.0_alpha1-r1.ebuild 833 SHA256 4d398b3dacd343bc0e41c441705d85af6e6d125dde5f10137787e3d4f90051d0 SHA512 1f86dbaf24d469504eda091a9d6909aeb6f00ceacbbbc4cd767b5cb1af891eddbfe6e9f2cffaecc1b08f7b89e140afdf69fc78baeeb5987cc53433ea13aa239d WHIRLPOOL ac9500c3cbb72f40049e6ffe823a4863bc65424daaacd10013f495d6e42402c18e3e960dbd68b9dac823cdec168cd11d703c20f62a24e3fd24395704618f6ae8
EBUILD calculate-lib-3.2.0_alpha1.ebuild 692 SHA256 565d13cfdd515cb534e56bdcb3c00e7182194d12c8de259851ec9fc5230b28a3 SHA512 a437100783152c3413c4184e90c5820f56529d1cee2e11dc4f0e88acfe3d3267b0fb85a3a9b04193709447f10dc4815d8c49e612ffe02e497a22acef11d68d95 WHIRLPOOL 3411233d326b21fe63e17106f425fec71a21c4cb77bee3d201b97a81870d76fa8a842e96515573b30aba88bb9209301607d8bc982f16b2406b70f9a84c8b4ee9
EBUILD calculate-lib-3.2.0_alpha2.ebuild 690 SHA256 c89c29f5de3f70146e98f15035366506933f03e8a5066b1ad55aeccbebdeae2c SHA512 a7277c2e5fa64a5e5840be7fc8d3df9a31f41926386c5fe6a9bed31eeed6321af5881c218d9ce7eeb12aee518edb682b438e10397dcb815cc63645100430e43e WHIRLPOOL 8f19e4d46381e26fec81e20fa35599f4658b3891d6372c921a8b1354ad3b1821ea9c78f71caebf54610e0b5aacfb6e6ded018e155e1979322406a0ac1e823d09
EBUILD calculate-lib-3.2.0_alpha3.ebuild 690 SHA256 c89c29f5de3f70146e98f15035366506933f03e8a5066b1ad55aeccbebdeae2c SHA512 a7277c2e5fa64a5e5840be7fc8d3df9a31f41926386c5fe6a9bed31eeed6321af5881c218d9ce7eeb12aee518edb682b438e10397dcb815cc63645100430e43e WHIRLPOOL 8f19e4d46381e26fec81e20fa35599f4658b3891d6372c921a8b1354ad3b1821ea9c78f71caebf54610e0b5aacfb6e6ded018e155e1979322406a0ac1e823d09
EBUILD calculate-lib-3.2.0_alpha4-r1.ebuild 831 SHA256 edd3d3445555f8482283f1afcb7c74de1e76034f7f3d682b0b83a47f782ad0b8 SHA512 f0fe1fbdd5576e27ccdd407f1234589b143410e75dfc762ae7608a162dd5ade63c3d31dc5a1bfbc86a26f04a8cb40286dbcbcc2f5c6b88da6a22dfae398c9ed0 WHIRLPOOL 62e69309a12642d3c453cac64598d544c9a76d167a6cf268d4c23e532237c6f6b41d71b4611f4953b8d9180806c4d5a259316d2365ba7dada9bc240d4f54a4bc
EBUILD calculate-lib-3.2.0_alpha4-r2.ebuild 831 SHA256 813deccd2d61926b871cfae98ced012826925fdcc51920f454da772dfb396dab SHA512 140bf8eda9a45fdc0448c701f00756c85dbfa9f1114afdc3547cb26cacf2b8f45e11b33577b3f042ba6c8979f18398189a4dfe1f3b0d1b795050eddef48ef4cd WHIRLPOOL f074d1fa5741f5a3232457149b5529677ddac206a6189094285e8ff3b9179515954b3b94403fb25cb102035d032e985cfaedd2054ac27e7d3b930ac18df4413c
EBUILD calculate-lib-3.2.0_alpha4-r3.ebuild 831 SHA256 73b2a4f12533a0433348a26317bda4755fe21590cf20fa485fb4bf721e7773bc SHA512 2492796b8076452c100efbe65be5b44cff6326c983f6150bf3a70c145a8c5510e490e8d140f01f9e717e9a0dfd8e8a817f9bbe0d05c7585d2b5b2f444c6b01e9 WHIRLPOOL 251e14554cb1978c041f7899493a22d40afe3c5d42a95286d42da8ed4dba78def4e2f5f1315643bd079eb353fc99785129d28c808f3292062f565e877c6e5c90
EBUILD calculate-lib-3.2.0_alpha4-r4.ebuild 831 SHA256 386989bbe8d25706366a6e4692abd29a343779d95103ba933001b0169121f24a SHA512 51929ff7c30f2fa06e7c7cbbcd017f59621dbc7e173e0122cd888bb37912d9736847cc414dc993085695cc90028aa17e3b5e4dab2d12f4dc9614cfeed0062ef1 WHIRLPOOL 2a40557669bfdc8e3892947f272e83e90943bdd7db955f5f9f890bc638ee235c09622c3f5e48a25971b1ab8d6f88f761de02d144d5bb4e7bf991ff0a53280cf5
EBUILD calculate-lib-3.2.0_alpha4.ebuild 690 SHA256 c89c29f5de3f70146e98f15035366506933f03e8a5066b1ad55aeccbebdeae2c SHA512 a7277c2e5fa64a5e5840be7fc8d3df9a31f41926386c5fe6a9bed31eeed6321af5881c218d9ce7eeb12aee518edb682b438e10397dcb815cc63645100430e43e WHIRLPOOL 8f19e4d46381e26fec81e20fa35599f4658b3891d6372c921a8b1354ad3b1821ea9c78f71caebf54610e0b5aacfb6e6ded018e155e1979322406a0ac1e823d09
EBUILD calculate-lib-3.2.0_alpha5.ebuild 690 SHA256 c89c29f5de3f70146e98f15035366506933f03e8a5066b1ad55aeccbebdeae2c SHA512 a7277c2e5fa64a5e5840be7fc8d3df9a31f41926386c5fe6a9bed31eeed6321af5881c218d9ce7eeb12aee518edb682b438e10397dcb815cc63645100430e43e WHIRLPOOL 8f19e4d46381e26fec81e20fa35599f4658b3891d6372c921a8b1354ad3b1821ea9c78f71caebf54610e0b5aacfb6e6ded018e155e1979322406a0ac1e823d09
EBUILD calculate-lib-3.2.0_alpha6-r1.ebuild 831 SHA256 6ef8bf48d4fc1b2210c0940aa8300eef928a381e86eb90fff1e7c0862dba182a SHA512 1582bbf375bc8c5f10aa65c18aa7ab886d84cafe991ae799483c10a5025a5b4bd12b58f5a1d172e425e542d595951c495d80417782b321b8c2efaca5d697c1e1 WHIRLPOOL 43fe9b18cf7669b6869dd6ae94f75ab40affdb10993cfc50437a6b6bed06bdf20bbb5a8c663c33a557e5a3d78f60ee5a272458b74dc988ced56945d7befa67d6
EBUILD calculate-lib-3.2.0_alpha6.ebuild 690 SHA256 c89c29f5de3f70146e98f15035366506933f03e8a5066b1ad55aeccbebdeae2c SHA512 a7277c2e5fa64a5e5840be7fc8d3df9a31f41926386c5fe6a9bed31eeed6321af5881c218d9ce7eeb12aee518edb682b438e10397dcb815cc63645100430e43e WHIRLPOOL 8f19e4d46381e26fec81e20fa35599f4658b3891d6372c921a8b1354ad3b1821ea9c78f71caebf54610e0b5aacfb6e6ded018e155e1979322406a0ac1e823d09
EBUILD calculate-lib-3.2.0_alpha7.ebuild 690 SHA256 c89c29f5de3f70146e98f15035366506933f03e8a5066b1ad55aeccbebdeae2c SHA512 a7277c2e5fa64a5e5840be7fc8d3df9a31f41926386c5fe6a9bed31eeed6321af5881c218d9ce7eeb12aee518edb682b438e10397dcb815cc63645100430e43e WHIRLPOOL 8f19e4d46381e26fec81e20fa35599f4658b3891d6372c921a8b1354ad3b1821ea9c78f71caebf54610e0b5aacfb6e6ded018e155e1979322406a0ac1e823d09

@ -1,36 +0,0 @@
# 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}"
# apply revision changes
epatch "${FILESDIR}/calculate-lib-3.2.0_alpha1-r1.patch"
}

@ -1,28 +0,0 @@
# 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}"

@ -1,28 +0,0 @@
# 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}"

@ -1,28 +0,0 @@
# 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}"

@ -1,36 +0,0 @@
# 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}"
# apply revision changes
epatch "${FILESDIR}/calculate-lib-3.2.0_alpha4-r1.patch"
}

@ -1,36 +0,0 @@
# 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}"
# apply revision changes
epatch "${FILESDIR}/calculate-lib-3.2.0_alpha4-r2.patch"
}

@ -1,36 +0,0 @@
# 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}"
# apply revision changes
epatch "${FILESDIR}/calculate-lib-3.2.0_alpha4-r3.patch"
}

@ -1,36 +0,0 @@
# 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}"
# apply revision changes
epatch "${FILESDIR}/calculate-lib-3.2.0_alpha4-r4.patch"
}

@ -1,28 +0,0 @@
# 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}"

@ -1,28 +0,0 @@
# 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}"

@ -1,27 +0,0 @@
diff --git calculate/lib/cl_template.py calculate/lib/cl_template.py
index d5d7cdf..7363a50 100644
--- calculate/lib/cl_template.py
+++ calculate/lib/cl_template.py
@@ -4956,7 +4956,12 @@ gettext -d cl_template "$*"
if not crDirs is True:
createdDirs += crDirs
else:
- os.chmod(applyDir, mode)
+ try:
+ os.chmod(applyDir, mode)
+ except:
+ self.setError(
+ _("Failed to change mode for directory: ") +\
+ applyDir)
else:
self.setError(_("Wrong value 'chmod' in the template") + ": " +\
templateDirFile)
@@ -5127,7 +5132,7 @@ gettext -d cl_template "$*"
# Создание файла
FD = open(nameFileConfig, "w")
FD.close()
- os.chown(nameFileConfig, uid, gid)
+ os.lchown(nameFileConfig, uid, gid)
except Exception as e:
if hasattr(e,'errno') and e.errno == 13 and \
"var/calculate/remote" in nameFileConfig:

@ -1,152 +0,0 @@
diff --git calculate/lib/datavars.py calculate/lib/datavars.py
index 1881294..3690083 100644
--- calculate/lib/datavars.py
+++ calculate/lib/datavars.py
@@ -1017,9 +1017,10 @@ class DataVars(SimpleDataVars):
"""
if not self.iniCache:
# get initialized section names
- if os.path.exists('/etc/make.profile'):
+ make_profile = self.Get('main.cl_make_profile')
+ if os.path.exists(make_profile):
profiles = [('profile',
- path.join('/etc',os.readlink('/etc/make.profile')))]
+ path.join('/etc',os.readlink(make_profile)))]
else:
profiles = []
for iniName,iniFile in profiles+\
diff --git calculate/lib/variables/env.py calculate/lib/variables/env.py
index ab295ca..87d43cc 100644
--- calculate/lib/variables/env.py
+++ calculate/lib/variables/env.py
@@ -414,6 +414,17 @@ class VariableClMakeProfile(Variable):
"""
Путь до актуального make.profile
"""
+ systemRoot = "/"
+
+ def get_work_link(self, *links):
+ for link in links:
+ if path.exists(link):
+ return link
+
def get(self):
- # TODO: заглушка, нужно учитывать /etc/portage/make.profile
- return "/etc/make.profile"
+ files = ["etc/portage/make.profile", "etc/make.profile"]
+ val = self.get_work_link(
+ *[path.join(self.systemRoot, x) for x in files])
+ if not val:
+ raise VariableError(_("Failed to detect system profile"))
+ return val
diff --git calculate/lib/variables/linux.py calculate/lib/variables/linux.py
index 5d907f6..d49c773 100644
--- calculate/lib/variables/linux.py
+++ calculate/lib/variables/linux.py
@@ -18,10 +18,10 @@ import os
from os import path
import re
import platform
-from calculate.lib.datavars import Variable,ReadonlyVariable,SimpleDataVars
+from calculate.lib.datavars import Variable, SimpleDataVars
from calculate.lib.utils.portage import isPkgInstalled
-from calculate.lib.utils.files import countFiles,readFile
-import calculate.lib.cl_template as cl_template
+from calculate.lib.utils.files import readFile
+from env import VariableClMakeProfile
class Linux:
dictLinuxName = {"CLD":"Calculate Linux Desktop",
@@ -51,7 +51,7 @@ class Linux:
def getShortnameByMakeprofile(self,systemroot):
"""Get shortname by symlink of make.profile"""
- makeprofile = path.join(systemroot,'etc/make.profile')
+ makeprofile = self.Get('cl_make_profile')
if path.exists(makeprofile):
link = os.readlink(makeprofile)
reMakeProfileLink = re.compile('/calculate/(desktop|server)/(%s)/'%
@@ -78,11 +78,11 @@ class Linux:
def detectOtherShortname(self,systemroot):
"""Detect other system. Now only Gentoo."""
- gentooFile = path.join(systemroot,"etc/gentoo-release")
+ gentooFile = path.join(systemroot, "etc/gentoo-release")
if path.exists(gentooFile):
return "Gentoo"
- if all(map(lambda x:path.lexists(path.join(systemroot,x)),
- ['bin','var','lib','etc'])):
+ if all(map(lambda x: path.lexists(path.join(systemroot, x)),
+ ['bin', 'var', 'lib', 'etc'])):
return "Linux"
return None
@@ -92,17 +92,17 @@ class Linux:
"""
overlayPath = 'var/lib/layman/calculate'
releaseFile = 'profiles/calculate-release'
- return readFile(path.join(systemroot,overlayPath,releaseFile))
+ return readFile(path.join(systemroot, overlayPath, releaseFile))
def getVersionFromMetapackage(self,systemroot,shortname):
"""Get version from meta package"""
- for pkg in ("app-misc/calculate-meta","app-misc/%s-meta"%shortname):
- calcMeta = isPkgInstalled(pkg,systemroot)
+ for pkg in ("app-misc/calculate-meta", "app-misc/%s-meta" % shortname):
+ calcMeta = isPkgInstalled(pkg, systemroot)
if calcMeta:
return calcMeta[0]['PV']
return None
- def getVersionFromCalculateIni(self,systemroot):
+ def getVersionFromCalculateIni(self, systemroot):
"""Get version from calculate ini"""
pathname = path.join(systemroot,
'etc/calculate/calculate.ini')
@@ -124,11 +124,9 @@ class Linux:
def getVersionFromGentooFiles(self,systemroot):
"""Get version from gentoo files"""
gentooFile = path.join(systemroot,"etc/gentoo-release")
- systemVersion = ""
- flagGentoo = False
reVer=re.compile("^(\d+\.)*\d+$",re.S)
if path.exists(gentooFile):
- gentooLink = path.join(systemroot,"etc/make.profile")
+ gentooLink = self.Get('cl_make_profile')
if path.islink(gentooLink):
vers = filter(reVer.search,
os.readlink(gentooLink).split('/'))
@@ -227,9 +225,10 @@ class VariableOsLinuxFiles(Variable,Linux):
class LinuxDataVars(SimpleDataVars):
- def __init__(self,systemRoot="/"):
+ def __init__(self, systemRoot="/"):
self.systemRoot = systemRoot
SimpleDataVars.__init__(self,
+ VariableClMakeProfile(systemRoot=systemRoot),
VariableOsLinuxShortname(systemRoot=systemRoot),
VariableOsLinuxName(systemRoot=systemRoot),
VariableOsLinuxSubname(systemRoot=systemRoot),
@@ -238,14 +237,12 @@ class LinuxDataVars(SimpleDataVars):
VariableOsLinuxSystem(systemRoot=systemRoot),
VariableOsLinuxVer(systemRoot=systemRoot),
VariableOsLinuxBuild(systemRoot=systemRoot))
- makeprofile = path.join(systemRoot,'etc/make.profile')
+ makeprofile = self.Get('cl_make_profile')
if os.path.exists(makeprofile):
- inifile = path.join(systemRoot,'etc',
- os.readlink(path.join(systemRoot,'etc/make.profile')))
+ inifile = path.join(systemRoot, 'etc',
+ os.readlink(makeprofile))
self.flIniFileFrom(inifile)
- inifile = "etc/calculate/calculate.env"
- self.flIniFileFrom(path.join(systemRoot,inifile))
- iniFile = "etc/calculate/calculate3.env"
- self.flIniFileFrom(path.join(systemRoot,iniFile))
- iniFile = "etc/calculate/calculate2.env"
- self.flIniFileFrom(path.join(systemRoot,iniFile))
+ for inifile in ("etc/calculate/calculate.env",
+ "etc/calculate/calculate3.env",
+ "etc/calculate/calculate2.env"):
+ self.flIniFileFrom(path.join(systemRoot, inifile))

@ -1,172 +0,0 @@
diff --git calculate/lib/cl_progressbar.py calculate/lib/cl_progressbar.py
index 36bb6c4..5734d28 100644
--- calculate/lib/cl_progressbar.py
+++ calculate/lib/cl_progressbar.py
@@ -110,6 +110,7 @@ try:
def __init__(self):
self.outQueue = Queue()
+ self.finished = False
self.inQueue = Queue()
Process(target=self.runProgress,
args=(self.outQueue,self.inQueue)).start()
@@ -127,6 +128,7 @@ try:
def quit(self):
self.outQueue.put(("quit",(),False))
+ self.finished = True
self.outQueue.close()
self.inQueue.close()
except:
diff --git calculate/lib/datavars.py calculate/lib/datavars.py
index 1881294..3690083 100644
--- calculate/lib/datavars.py
+++ calculate/lib/datavars.py
@@ -1017,9 +1017,10 @@ class DataVars(SimpleDataVars):
"""
if not self.iniCache:
# get initialized section names
- if os.path.exists('/etc/make.profile'):
+ make_profile = self.Get('main.cl_make_profile')
+ if os.path.exists(make_profile):
profiles = [('profile',
- path.join('/etc',os.readlink('/etc/make.profile')))]
+ path.join('/etc',os.readlink(make_profile)))]
else:
profiles = []
for iniName,iniFile in profiles+\
diff --git calculate/lib/variables/env.py calculate/lib/variables/env.py
index ab295ca..87d43cc 100644
--- calculate/lib/variables/env.py
+++ calculate/lib/variables/env.py
@@ -414,6 +414,17 @@ class VariableClMakeProfile(Variable):
"""
Путь до актуального make.profile
"""
+ systemRoot = "/"
+
+ def get_work_link(self, *links):
+ for link in links:
+ if path.exists(link):
+ return link
+
def get(self):
- # TODO: заглушка, нужно учитывать /etc/portage/make.profile
- return "/etc/make.profile"
+ files = ["etc/portage/make.profile", "etc/make.profile"]
+ val = self.get_work_link(
+ *[path.join(self.systemRoot, x) for x in files])
+ if not val:
+ raise VariableError(_("Failed to detect system profile"))
+ return val
diff --git calculate/lib/variables/linux.py calculate/lib/variables/linux.py
index 5d907f6..d49c773 100644
--- calculate/lib/variables/linux.py
+++ calculate/lib/variables/linux.py
@@ -18,10 +18,10 @@ import os
from os import path
import re
import platform
-from calculate.lib.datavars import Variable,ReadonlyVariable,SimpleDataVars
+from calculate.lib.datavars import Variable, SimpleDataVars
from calculate.lib.utils.portage import isPkgInstalled
-from calculate.lib.utils.files import countFiles,readFile
-import calculate.lib.cl_template as cl_template
+from calculate.lib.utils.files import readFile
+from env import VariableClMakeProfile
class Linux:
dictLinuxName = {"CLD":"Calculate Linux Desktop",
@@ -51,7 +51,7 @@ class Linux:
def getShortnameByMakeprofile(self,systemroot):
"""Get shortname by symlink of make.profile"""
- makeprofile = path.join(systemroot,'etc/make.profile')
+ makeprofile = self.Get('cl_make_profile')
if path.exists(makeprofile):
link = os.readlink(makeprofile)
reMakeProfileLink = re.compile('/calculate/(desktop|server)/(%s)/'%
@@ -78,11 +78,11 @@ class Linux:
def detectOtherShortname(self,systemroot):
"""Detect other system. Now only Gentoo."""
- gentooFile = path.join(systemroot,"etc/gentoo-release")
+ gentooFile = path.join(systemroot, "etc/gentoo-release")
if path.exists(gentooFile):
return "Gentoo"
- if all(map(lambda x:path.lexists(path.join(systemroot,x)),
- ['bin','var','lib','etc'])):
+ if all(map(lambda x: path.lexists(path.join(systemroot, x)),
+ ['bin', 'var', 'lib', 'etc'])):
return "Linux"
return None
@@ -92,17 +92,17 @@ class Linux:
"""
overlayPath = 'var/lib/layman/calculate'
releaseFile = 'profiles/calculate-release'
- return readFile(path.join(systemroot,overlayPath,releaseFile))
+ return readFile(path.join(systemroot, overlayPath, releaseFile))
def getVersionFromMetapackage(self,systemroot,shortname):
"""Get version from meta package"""
- for pkg in ("app-misc/calculate-meta","app-misc/%s-meta"%shortname):
- calcMeta = isPkgInstalled(pkg,systemroot)
+ for pkg in ("app-misc/calculate-meta", "app-misc/%s-meta" % shortname):
+ calcMeta = isPkgInstalled(pkg, systemroot)
if calcMeta:
return calcMeta[0]['PV']
return None
- def getVersionFromCalculateIni(self,systemroot):
+ def getVersionFromCalculateIni(self, systemroot):
"""Get version from calculate ini"""
pathname = path.join(systemroot,
'etc/calculate/calculate.ini')
@@ -124,11 +124,9 @@ class Linux:
def getVersionFromGentooFiles(self,systemroot):
"""Get version from gentoo files"""
gentooFile = path.join(systemroot,"etc/gentoo-release")
- systemVersion = ""
- flagGentoo = False
reVer=re.compile("^(\d+\.)*\d+$",re.S)
if path.exists(gentooFile):
- gentooLink = path.join(systemroot,"etc/make.profile")
+ gentooLink = self.Get('cl_make_profile')
if path.islink(gentooLink):
vers = filter(reVer.search,
os.readlink(gentooLink).split('/'))
@@ -227,9 +225,10 @@ class VariableOsLinuxFiles(Variable,Linux):
class LinuxDataVars(SimpleDataVars):
- def __init__(self,systemRoot="/"):
+ def __init__(self, systemRoot="/"):
self.systemRoot = systemRoot
SimpleDataVars.__init__(self,
+ VariableClMakeProfile(systemRoot=systemRoot),
VariableOsLinuxShortname(systemRoot=systemRoot),
VariableOsLinuxName(systemRoot=systemRoot),
VariableOsLinuxSubname(systemRoot=systemRoot),
@@ -238,14 +237,12 @@ class LinuxDataVars(SimpleDataVars):
VariableOsLinuxSystem(systemRoot=systemRoot),
VariableOsLinuxVer(systemRoot=systemRoot),
VariableOsLinuxBuild(systemRoot=systemRoot))
- makeprofile = path.join(systemRoot,'etc/make.profile')
+ makeprofile = self.Get('cl_make_profile')
if os.path.exists(makeprofile):
- inifile = path.join(systemRoot,'etc',
- os.readlink(path.join(systemRoot,'etc/make.profile')))
+ inifile = path.join(systemRoot, 'etc',
+ os.readlink(makeprofile))
self.flIniFileFrom(inifile)
- inifile = "etc/calculate/calculate.env"
- self.flIniFileFrom(path.join(systemRoot,inifile))
- iniFile = "etc/calculate/calculate3.env"
- self.flIniFileFrom(path.join(systemRoot,iniFile))
- iniFile = "etc/calculate/calculate2.env"
- self.flIniFileFrom(path.join(systemRoot,iniFile))
+ for inifile in ("etc/calculate/calculate.env",
+ "etc/calculate/calculate3.env",
+ "etc/calculate/calculate2.env"):
+ self.flIniFileFrom(path.join(systemRoot, inifile))

@ -1,188 +0,0 @@
diff --git calculate/lib/cl_progressbar.py calculate/lib/cl_progressbar.py
index 36bb6c4..5734d28 100644
--- calculate/lib/cl_progressbar.py
+++ calculate/lib/cl_progressbar.py
@@ -110,6 +110,7 @@ try:
def __init__(self):
self.outQueue = Queue()
+ self.finished = False
self.inQueue = Queue()
Process(target=self.runProgress,
args=(self.outQueue,self.inQueue)).start()
@@ -127,6 +128,7 @@ try:
def quit(self):
self.outQueue.put(("quit",(),False))
+ self.finished = True
self.outQueue.close()
self.inQueue.close()
except:
diff --git calculate/lib/datavars.py calculate/lib/datavars.py
index 1881294..3690083 100644
--- calculate/lib/datavars.py
+++ calculate/lib/datavars.py
@@ -1017,9 +1017,10 @@ class DataVars(SimpleDataVars):
"""
if not self.iniCache:
# get initialized section names
- if os.path.exists('/etc/make.profile'):
+ make_profile = self.Get('main.cl_make_profile')
+ if os.path.exists(make_profile):
profiles = [('profile',
- path.join('/etc',os.readlink('/etc/make.profile')))]
+ path.join('/etc',os.readlink(make_profile)))]
else:
profiles = []
for iniName,iniFile in profiles+\
diff --git calculate/lib/utils/colortext/printing.py calculate/lib/utils/colortext/printing.py
index 147d1d7..75227ee 100644
--- calculate/lib/utils/colortext/printing.py
+++ calculate/lib/utils/colortext/printing.py
@@ -32,6 +32,11 @@ class Print(object):
self.buffer.append(self.output.setBold())
return self
+ @property
+ def underline(self):
+ self.buffer.append(self.output.setUnderline())
+ return self
+
def foreground(self, color):
self.buffer.append(self.output.setForeground(color))
return self
diff --git calculate/lib/variables/env.py calculate/lib/variables/env.py
index ab295ca..87d43cc 100644
--- calculate/lib/variables/env.py
+++ calculate/lib/variables/env.py
@@ -414,6 +414,17 @@ class VariableClMakeProfile(Variable):
"""
Путь до актуального make.profile
"""
+ systemRoot = "/"
+
+ def get_work_link(self, *links):
+ for link in links:
+ if path.exists(link):
+ return link
+
def get(self):
- # TODO: заглушка, нужно учитывать /etc/portage/make.profile
- return "/etc/make.profile"
+ files = ["etc/portage/make.profile", "etc/make.profile"]
+ val = self.get_work_link(
+ *[path.join(self.systemRoot, x) for x in files])
+ if not val:
+ raise VariableError(_("Failed to detect system profile"))
+ return val
diff --git calculate/lib/variables/linux.py calculate/lib/variables/linux.py
index 5d907f6..d49c773 100644
--- calculate/lib/variables/linux.py
+++ calculate/lib/variables/linux.py
@@ -18,10 +18,10 @@ import os
from os import path
import re
import platform
-from calculate.lib.datavars import Variable,ReadonlyVariable,SimpleDataVars
+from calculate.lib.datavars import Variable, SimpleDataVars
from calculate.lib.utils.portage import isPkgInstalled
-from calculate.lib.utils.files import countFiles,readFile
-import calculate.lib.cl_template as cl_template
+from calculate.lib.utils.files import readFile
+from env import VariableClMakeProfile
class Linux:
dictLinuxName = {"CLD":"Calculate Linux Desktop",
@@ -51,7 +51,7 @@ class Linux:
def getShortnameByMakeprofile(self,systemroot):
"""Get shortname by symlink of make.profile"""
- makeprofile = path.join(systemroot,'etc/make.profile')
+ makeprofile = self.Get('cl_make_profile')
if path.exists(makeprofile):
link = os.readlink(makeprofile)
reMakeProfileLink = re.compile('/calculate/(desktop|server)/(%s)/'%
@@ -78,11 +78,11 @@ class Linux:
def detectOtherShortname(self,systemroot):
"""Detect other system. Now only Gentoo."""
- gentooFile = path.join(systemroot,"etc/gentoo-release")
+ gentooFile = path.join(systemroot, "etc/gentoo-release")
if path.exists(gentooFile):
return "Gentoo"
- if all(map(lambda x:path.lexists(path.join(systemroot,x)),
- ['bin','var','lib','etc'])):
+ if all(map(lambda x: path.lexists(path.join(systemroot, x)),
+ ['bin', 'var', 'lib', 'etc'])):
return "Linux"
return None
@@ -92,17 +92,17 @@ class Linux:
"""
overlayPath = 'var/lib/layman/calculate'
releaseFile = 'profiles/calculate-release'
- return readFile(path.join(systemroot,overlayPath,releaseFile))
+ return readFile(path.join(systemroot, overlayPath, releaseFile))
def getVersionFromMetapackage(self,systemroot,shortname):
"""Get version from meta package"""
- for pkg in ("app-misc/calculate-meta","app-misc/%s-meta"%shortname):
- calcMeta = isPkgInstalled(pkg,systemroot)
+ for pkg in ("app-misc/calculate-meta", "app-misc/%s-meta" % shortname):
+ calcMeta = isPkgInstalled(pkg, systemroot)
if calcMeta:
return calcMeta[0]['PV']
return None
- def getVersionFromCalculateIni(self,systemroot):
+ def getVersionFromCalculateIni(self, systemroot):
"""Get version from calculate ini"""
pathname = path.join(systemroot,
'etc/calculate/calculate.ini')
@@ -124,11 +124,9 @@ class Linux:
def getVersionFromGentooFiles(self,systemroot):
"""Get version from gentoo files"""
gentooFile = path.join(systemroot,"etc/gentoo-release")
- systemVersion = ""
- flagGentoo = False
reVer=re.compile("^(\d+\.)*\d+$",re.S)
if path.exists(gentooFile):
- gentooLink = path.join(systemroot,"etc/make.profile")
+ gentooLink = self.Get('cl_make_profile')
if path.islink(gentooLink):
vers = filter(reVer.search,
os.readlink(gentooLink).split('/'))
@@ -227,9 +225,10 @@ class VariableOsLinuxFiles(Variable,Linux):
class LinuxDataVars(SimpleDataVars):
- def __init__(self,systemRoot="/"):
+ def __init__(self, systemRoot="/"):
self.systemRoot = systemRoot
SimpleDataVars.__init__(self,
+ VariableClMakeProfile(systemRoot=systemRoot),
VariableOsLinuxShortname(systemRoot=systemRoot),
VariableOsLinuxName(systemRoot=systemRoot),
VariableOsLinuxSubname(systemRoot=systemRoot),
@@ -238,14 +237,12 @@ class LinuxDataVars(SimpleDataVars):
VariableOsLinuxSystem(systemRoot=systemRoot),
VariableOsLinuxVer(systemRoot=systemRoot),
VariableOsLinuxBuild(systemRoot=systemRoot))
- makeprofile = path.join(systemRoot,'etc/make.profile')
+ makeprofile = self.Get('cl_make_profile')
if os.path.exists(makeprofile):
- inifile = path.join(systemRoot,'etc',
- os.readlink(path.join(systemRoot,'etc/make.profile')))
+ inifile = path.join(systemRoot, 'etc',
+ os.readlink(makeprofile))
self.flIniFileFrom(inifile)
- inifile = "etc/calculate/calculate.env"
- self.flIniFileFrom(path.join(systemRoot,inifile))
- iniFile = "etc/calculate/calculate3.env"
- self.flIniFileFrom(path.join(systemRoot,iniFile))
- iniFile = "etc/calculate/calculate2.env"
- self.flIniFileFrom(path.join(systemRoot,iniFile))
+ for inifile in ("etc/calculate/calculate.env",
+ "etc/calculate/calculate3.env",
+ "etc/calculate/calculate2.env"):
+ self.flIniFileFrom(path.join(systemRoot, inifile))

@ -1,201 +0,0 @@
diff --git calculate/lib/cl_progressbar.py calculate/lib/cl_progressbar.py
index 36bb6c4..5734d28 100644
--- calculate/lib/cl_progressbar.py
+++ calculate/lib/cl_progressbar.py
@@ -110,6 +110,7 @@ try:
def __init__(self):
self.outQueue = Queue()
+ self.finished = False
self.inQueue = Queue()
Process(target=self.runProgress,
args=(self.outQueue,self.inQueue)).start()
@@ -127,6 +128,7 @@ try:
def quit(self):
self.outQueue.put(("quit",(),False))
+ self.finished = True
self.outQueue.close()
self.inQueue.close()
except:
diff --git calculate/lib/datavars.py calculate/lib/datavars.py
index 1881294..b5f2d33 100644
--- calculate/lib/datavars.py
+++ calculate/lib/datavars.py
@@ -48,6 +48,9 @@ def itemgetter(*args,**kwargs):
return lambda x:(x[args[0]],)
return operator.itemgetter(*args)
+class CriticalError(Exception):
+ """Critical error"""
+
class DataVarsError(Exception):
"""Exception of getting variable values"""
@@ -1017,9 +1020,13 @@ class DataVars(SimpleDataVars):
"""
if not self.iniCache:
# get initialized section names
- if os.path.exists('/etc/make.profile'):
+ try:
+ make_profile = self.Get('main.cl_make_profile')
+ except VariableError as e:
+ raise CriticalError(str(e))
+ if os.path.exists(make_profile):
profiles = [('profile',
- path.join('/etc',os.readlink('/etc/make.profile')))]
+ path.join('/etc',os.readlink(make_profile)))]
else:
profiles = []
for iniName,iniFile in profiles+\
diff --git calculate/lib/utils/colortext/printing.py calculate/lib/utils/colortext/printing.py
index 147d1d7..75227ee 100644
--- calculate/lib/utils/colortext/printing.py
+++ calculate/lib/utils/colortext/printing.py
@@ -32,6 +32,11 @@ class Print(object):
self.buffer.append(self.output.setBold())
return self
+ @property
+ def underline(self):
+ self.buffer.append(self.output.setUnderline())
+ return self
+
def foreground(self, color):
self.buffer.append(self.output.setForeground(color))
return self
diff --git calculate/lib/variables/env.py calculate/lib/variables/env.py
index ab295ca..87d43cc 100644
--- calculate/lib/variables/env.py
+++ calculate/lib/variables/env.py
@@ -414,6 +414,17 @@ class VariableClMakeProfile(Variable):
"""
Путь до актуального make.profile
"""
+ systemRoot = "/"
+
+ def get_work_link(self, *links):
+ for link in links:
+ if path.exists(link):
+ return link
+
def get(self):
- # TODO: заглушка, нужно учитывать /etc/portage/make.profile
- return "/etc/make.profile"
+ files = ["etc/portage/make.profile", "etc/make.profile"]
+ val = self.get_work_link(
+ *[path.join(self.systemRoot, x) for x in files])
+ if not val:
+ raise VariableError(_("Failed to detect system profile"))
+ return val
diff --git calculate/lib/variables/linux.py calculate/lib/variables/linux.py
index 5d907f6..d49c773 100644
--- calculate/lib/variables/linux.py
+++ calculate/lib/variables/linux.py
@@ -18,10 +18,10 @@ import os
from os import path
import re
import platform
-from calculate.lib.datavars import Variable,ReadonlyVariable,SimpleDataVars
+from calculate.lib.datavars import Variable, SimpleDataVars
from calculate.lib.utils.portage import isPkgInstalled
-from calculate.lib.utils.files import countFiles,readFile
-import calculate.lib.cl_template as cl_template
+from calculate.lib.utils.files import readFile
+from env import VariableClMakeProfile
class Linux:
dictLinuxName = {"CLD":"Calculate Linux Desktop",
@@ -51,7 +51,7 @@ class Linux:
def getShortnameByMakeprofile(self,systemroot):
"""Get shortname by symlink of make.profile"""
- makeprofile = path.join(systemroot,'etc/make.profile')
+ makeprofile = self.Get('cl_make_profile')
if path.exists(makeprofile):
link = os.readlink(makeprofile)
reMakeProfileLink = re.compile('/calculate/(desktop|server)/(%s)/'%
@@ -78,11 +78,11 @@ class Linux:
def detectOtherShortname(self,systemroot):
"""Detect other system. Now only Gentoo."""
- gentooFile = path.join(systemroot,"etc/gentoo-release")
+ gentooFile = path.join(systemroot, "etc/gentoo-release")
if path.exists(gentooFile):
return "Gentoo"
- if all(map(lambda x:path.lexists(path.join(systemroot,x)),
- ['bin','var','lib','etc'])):
+ if all(map(lambda x: path.lexists(path.join(systemroot, x)),
+ ['bin', 'var', 'lib', 'etc'])):
return "Linux"
return None
@@ -92,17 +92,17 @@ class Linux:
"""
overlayPath = 'var/lib/layman/calculate'
releaseFile = 'profiles/calculate-release'
- return readFile(path.join(systemroot,overlayPath,releaseFile))
+ return readFile(path.join(systemroot, overlayPath, releaseFile))
def getVersionFromMetapackage(self,systemroot,shortname):
"""Get version from meta package"""
- for pkg in ("app-misc/calculate-meta","app-misc/%s-meta"%shortname):
- calcMeta = isPkgInstalled(pkg,systemroot)
+ for pkg in ("app-misc/calculate-meta", "app-misc/%s-meta" % shortname):
+ calcMeta = isPkgInstalled(pkg, systemroot)
if calcMeta:
return calcMeta[0]['PV']
return None
- def getVersionFromCalculateIni(self,systemroot):
+ def getVersionFromCalculateIni(self, systemroot):
"""Get version from calculate ini"""
pathname = path.join(systemroot,
'etc/calculate/calculate.ini')
@@ -124,11 +124,9 @@ class Linux:
def getVersionFromGentooFiles(self,systemroot):
"""Get version from gentoo files"""
gentooFile = path.join(systemroot,"etc/gentoo-release")
- systemVersion = ""
- flagGentoo = False
reVer=re.compile("^(\d+\.)*\d+$",re.S)
if path.exists(gentooFile):
- gentooLink = path.join(systemroot,"etc/make.profile")
+ gentooLink = self.Get('cl_make_profile')
if path.islink(gentooLink):
vers = filter(reVer.search,
os.readlink(gentooLink).split('/'))
@@ -227,9 +225,10 @@ class VariableOsLinuxFiles(Variable,Linux):
class LinuxDataVars(SimpleDataVars):
- def __init__(self,systemRoot="/"):
+ def __init__(self, systemRoot="/"):
self.systemRoot = systemRoot
SimpleDataVars.__init__(self,
+ VariableClMakeProfile(systemRoot=systemRoot),
VariableOsLinuxShortname(systemRoot=systemRoot),
VariableOsLinuxName(systemRoot=systemRoot),
VariableOsLinuxSubname(systemRoot=systemRoot),
@@ -238,14 +237,12 @@ class LinuxDataVars(SimpleDataVars):
VariableOsLinuxSystem(systemRoot=systemRoot),
VariableOsLinuxVer(systemRoot=systemRoot),
VariableOsLinuxBuild(systemRoot=systemRoot))
- makeprofile = path.join(systemRoot,'etc/make.profile')
+ makeprofile = self.Get('cl_make_profile')
if os.path.exists(makeprofile):
- inifile = path.join(systemRoot,'etc',
- os.readlink(path.join(systemRoot,'etc/make.profile')))
+ inifile = path.join(systemRoot, 'etc',
+ os.readlink(makeprofile))
self.flIniFileFrom(inifile)
- inifile = "etc/calculate/calculate.env"
- self.flIniFileFrom(path.join(systemRoot,inifile))
- iniFile = "etc/calculate/calculate3.env"
- self.flIniFileFrom(path.join(systemRoot,iniFile))
- iniFile = "etc/calculate/calculate2.env"
- self.flIniFileFrom(path.join(systemRoot,iniFile))
+ for inifile in ("etc/calculate/calculate.env",
+ "etc/calculate/calculate3.env",
+ "etc/calculate/calculate2.env"):
+ self.flIniFileFrom(path.join(systemRoot, inifile))

@ -1,35 +1,5 @@
AUX calculate-update-3.2.0_alpha1-r1.patch 683 SHA256 39edbee7b73bbb34d31ce88170e5624c956f99f2535346ae4572f5b293610485 SHA512 6a9f5dd2f66fe7cbd21073b676a29ae8bb8a5884822d2ddc99321637f4475aa1ed8eda10a7ee80b7bcab4bb711bc1d2d0d44f526ee300a0fda4e2a25c0ffafb3 WHIRLPOOL 3cceb6d5a53126d7cb14ca412b48985ed235f1de898e7e304fbb12b21deaa2c0934554b121fa165f2be1ec18443279c103d99f3f5e53c07d343da291132cb0f5
AUX calculate-update-3.2.0_alpha3-r1.patch 1506 SHA256 e02436a3f56d49eb96f4c3e9e53450dd93943d23ba4ff8b5d1b7332bc3fb03df SHA512 f237e2d3f72e236293d5e6eb4887be41a314ea0a16d5a4d29fe6179d957598743dc3e28e665c7ecdff66d2f8973dbeb7c9fc7c07a0da93db576446b2d8aefcbf WHIRLPOOL a7ac88f77218fbde7f8a2b50f60fbb647143b6c58f15cb376d163e885ce72fc24086f408eacb04fb1eda582ca6bba039b677c8532334fc95d642f4f20cac27e6
AUX calculate-update-3.2.0_alpha3-r2.patch 1651 SHA256 2d8bc30666b5327d8212bac7262ba3d518a5e401600046bc85dd52531686bbbb SHA512 0193ea7a3b88bb77bfdadddb3c6bf84561aa54b0edcee7492d745326637df138ca86f611cd4459e125eec68fa73616e1093d37ece508e2ef1a9b3b0ef34b196f WHIRLPOOL 29d3cd3790a2085a060ecc964a45d65a13ef8fa0ac21d12b005d66ce160e0edc0ae75b8277bd459a60a10b8e4d764cfcdae108d7bee543d80426c3c819534041
AUX calculate-update-3.2.0_alpha4-r1.patch 2410 SHA256 5e69ded9db0e676d142674e53dc5b84d90120e58474fdd43a27b7024f4888a92 SHA512 51ee3eb4fe96cfbf44c9f706a0eaca34b732bf54f865d3ef6d36d24c56ad9b01f2d3b43201e058acc800cfa8ed2171aa2266469647492109d495cd3db6cff04f WHIRLPOOL d381f59f2a8f1a4fbf9d6f390b28cf43b7e124c3062cc90e85eff40bc3470b39a169b8e7ff94d07049c6a2ef18d83622dab2c8b7c8b8906e53d644f2349a1a79
AUX calculate-update-3.2.0_alpha4-r2.patch 6582 SHA256 57e9b6f162ca9f1c1e9295cc4dbbb9410617d9f2a04ed528189ace9e72e27bf8 SHA512 3d39899a85386bc223023fd60ddbacc9823d15f5319c379d4f1b71a1ef930f9ac375dbd527599cdecc9c4f54435afffe63a9e223a0f18b3683d6f3818c6e637d WHIRLPOOL 96fe4a57bf47a866f8be4365bc9ae1b06525e34076a0a6a2c04e96d7558b79302c7b14e62044b8fa305a5b4c3108795b5fe2ab700c221fbe922635ac25d20b48
AUX calculate-update-3.2.0_alpha4-r3.patch 6988 SHA256 148483a99fa374a3f0e75fbc9ea5cd024171fc9ef973fa200bbcb8d997f71935 SHA512 0c79191712b2cb1aa1c2a3f3cdd4a4d9ae144ae5c1749707cc4dcf6fadbdbe638436136698228c979338ab365d4b7c54d17151697ad844af9ecc697f484853e5 WHIRLPOOL 4be6ce6f917065702052bbbd97ae9ee67afc59a2a1554772e163a5a40f525f33667db2754e4a1358b3f75de0373946a07a448079674806d703121002dca7c38b
AUX calculate-update-3.2.0_alpha4-r4.patch 19180 SHA256 7e01cd3e5c02f7490fc11f301f8a5a2dd52ea6901918dab580429139ac9ea024 SHA512 72ceb57d48e9ca17646fef56f785adbe929007664d569b8c27e15dd4433a7dbc94e8942a18af333bb8a319fe50d2c4329c2c8fdebd0c9774923fcba9df694aa0 WHIRLPOOL ef0d5bf3161a4450a5f240ddeef502fab0bdb605d1f8d3852f99dfd8db893e74d5ba000252adb1af398609b421c22d6a37e76719d43dd8bda79f5c5535eb879b
AUX calculate-update-3.2.0_alpha5-r1.patch 488 SHA256 dc3ef84b48f1b4d9ff57263c4d6f45f0b3752f79b0afc8feb8a527cc16e1a5a9 SHA512 0bd80a9e2d9b54a0f5f11809a85645c22afc2094086004a7375212e5edde089799fab3e5bcd250a0609725741d0ecc3c6c90a83940161a924011d217ae3c5ff1 WHIRLPOOL 0d78cb993d7567629a819d08042ffcfd1f7a3e66e0532fcb717b48f29a73d7132e73fbebfbaef646125ded98ea2ac035309a49b5f45af3a72a4e59008351e183
AUX calculate-update-3.2.0_alpha5-r2.patch 2649 SHA256 537d81d1352453f0f11fca1fa3558b11c4bca96167e97ace04bfab1689133bdb SHA512 fde7a804943ff48765746b6d5fd1960850c717ce2289c43568af84cfe3d9934d4a7c0f1d92c469b99bcfff478297dbd2716353e93fd1d1e25939d1ca6a9e6723 WHIRLPOOL 17cccb453c8e3ff3d42548c02b5ddf849a9bfd456db7e68773bb10235dccb235a0e74125b7b95946146d5fe103010cb7b10180328bf582c314965e0ca40e9bc6
AUX calculate-update-3.2.0_alpha5-r3.patch 6639 SHA256 2b8630488a45370248538436d67ba948f4b36921192cebd8d83ef2666b2df5b6 SHA512 5e432a94fcf96e2456cc5935d66fab10befb51961b1a44d61a91e3f339723dc269cd48b8e1635d4574c12bcf9061e66d28df13b180a1b20147edb1091fc22061 WHIRLPOOL 271e1597ac7f82f6887e1eff30a68659662288d742ad97b56ee14afe96a23078fffbe38a2ceeee63c09dfde6c922f7e96d3bd333139b4bf7914a982f7c6eeb0c
DIST calculate-update-3.2.0_alpha1.tar.bz2 14159 SHA256 6c5e73041029e93f04fe897447984c1f52f66f3486309d4e3bb741c0151dc44d SHA512 aac77b42e51f3be5f266bc3a7c233d2fa443b6316a7a618c61ef07be8e25704322bec6c39352184ee8fae227e4b2bbf276dfa038d4006be12079c71e983d16d4 WHIRLPOOL 8f395718c3332286ce47783fc42601f3dea9b9f7fd7225e5549ff8d04013a4d6a2208f103fde112b6ebf6791650a61aa5974dbfa435aecfd7d8e7b2d7ff9ae8b
DIST calculate-update-3.2.0_alpha2.tar.bz2 24294 SHA256 b626f371db8def2823f5f2a5081122a0746a9dae5f04bb1e38bc82c618d69042 SHA512 32e216097ad19444b16200082a8796a6a7a2d824310e271df51e931e73eef1b13a57cbe9b6eaeddd6bf4e8b0e3a3d3f4a41def509ed1c55a960a3df524afd472 WHIRLPOOL 7b241545ce18af117481a813b2b0b2d9450f0b638068867fc60d2a759f4345d50114459646f51f6972267586678149efc5f4c26f1090d8f1fa4485b3bc4b4d5f
DIST calculate-update-3.2.0_alpha3.tar.bz2 24313 SHA256 934f4b55f9df42090a128c524e2874b27f2e91b7f5b9c0eb2170ad8ee899362e SHA512 31c593b8d70592aa5f05011583317054c7bb75f558ae792cc3289820eaa87d85f4be91e29485c2aa824d1f2d7cbde942ed7f66fd9937d8950e59d83d41f6f7a2 WHIRLPOOL b995a3806cf7c964a26d979ad6c1416ec4b7315e79546c079c72c0ee12eb7dcc589198149186aba65ab860736389bfd9f0c3b534d88c97769d0ece5d8f013c1a
DIST calculate-update-3.2.0_alpha4.tar.bz2 24420 SHA256 b3536f249b5662516afa8cbbe732e711ac6c1a9abbbb9af861c086555e525eb1 SHA512 8f4d8a5eba7483a043a62167cfada94eec3915dd7609229e982322afb793495390b2d3337569b193d58d9a4b45f8ed09ba9e79e0b93fe7c0a0f2d764851508f8 WHIRLPOOL 2ee291b8ce112b2e3b2c48db5006af0da711d40aacadd14f4cc08d86c183419f534cf1ccc6ed14273a8fa439a5d51ab77aac0747c5e0a1ffd1bd1b711bea3b18
DIST calculate-update-3.2.0_alpha5.tar.bz2 24834 SHA256 0d7452f632f8d23bbbd760203ce66769e71dbeb23d4ec2ba9cd3c56a574fe51f SHA512 434ca0811ba97143936e2d3c6f3458289c0f373f99b22fbf08b27cd34338846a02a45c0a6480602cc5172ada1b24f0fd124ae715675a8b706c2248c9003acfca WHIRLPOOL c543e597f980b459148d3ecc9c5fe085192001343485a430bc40698ce2a929c4d3ed186a25099aeca19a6a24d6e480246a42de5277148da91e397192aa5aad63
DIST calculate-update-3.2.0_alpha6.tar.bz2 24918 SHA256 ba6c633330d68761bc426750dd5b3bb52d75843c1e5adc6f1ee41daa032e1e2e SHA512 c44e02e158758e5f1bfb26d1f1f276d27664e072df9aa3485840d4853320671a0323dc03ccfc31e78f1ae66003416d5723383967991fefbb5c427ec8447dccee WHIRLPOOL 14d5fbec32105e18f31304d7c70f1c57b98b4c3ffd83ca4bc209c622b71df218f2c63f006fb15b5804676c0421b86c05ac6ffef26651e1336a5cf820701900ff
DIST calculate-update-3.2.0_alpha7.tar.bz2 25167 SHA256 73354a7256acf3939c988fd08f79ecee1ea79def52c6a70d4f3eb2b30057f0ed SHA512 b50befb55b22128e5038934b5184e86d039b5cd04b2f2df8446a5bf471229ad27bf324fb889157a7d5ce2351e4709cfac29c8a985930cde89d140197adb82034 WHIRLPOOL 92febfbec36985a9636783423ae86d230d2bc8586865165e24fa913046daa8de84206dbc9ab9ce3a8a87eee050a50813511d102fd66b37f2f83e0be4c64ce270
EBUILD calculate-update-3.2.0_alpha1-r1.ebuild 749 SHA256 59377f0c4bd1b0ab1a881a2c6ea8ed46717a709c84c07dcc1a07f161dc0b2259 SHA512 cbcbf5c5ebe2fe8e7f79b20f35f7ab5c26e48b1769c6bbffe73c41d73052627cc6eda7aed812c8bb94b98361ee0f04bf81381b6ecd3b81a52b6e8756e410b4d9 WHIRLPOOL ed5ac0355fa232190a75ec5daff8b2559435eceaac13ef3cf0a17a501eda4a264ae85e546de10cc0af42ac9b099dbe078b31c095cb7d42d4a5a8e9876b16c84e
EBUILD calculate-update-3.2.0_alpha1.ebuild 605 SHA256 bbba2cb38551fc98a0be4b262a9dacb7c37eb9459721dc4e7bfe59f54149330a SHA512 06ca411da63d5f8eb1dce23a908d5735dc760654a54b6246b373454f39c6966e8a46f2acf7c9f86c3b70cf3cd789459dac7757ac9c5747d1fc9bf85c09b850bb WHIRLPOOL cd2d5211ebe879bdee1af43446088700fbc5609c7c87ce25c3364a0c9a42942af9a1a8a11efcf1773217def31778d1139e491a6e771bb90b9b3f56a3e20ab570
EBUILD calculate-update-3.2.0_alpha2.ebuild 623 SHA256 e0fdd7f36ffb80057fe77efb72f8d3368a06015499449555a16fe1c4882802f2 SHA512 ea3e16087cb9c0446e151ad23072fc56195b54219760d7cdf49bf744cff68f12a5847e4dcdf42d90141049ab79262a260886c283038db130c8cfda29eb6bfdb4 WHIRLPOOL 710e53286c8754acaf2361b184279b999f1d67f95a747950ae91f5ed7be89375041cf097d0a227e4e78f6d17679f6b3f69d030486ce6dd5f6cb3cb687315707a
EBUILD calculate-update-3.2.0_alpha3-r1.ebuild 767 SHA256 30d51073f279718f20cd042265905b17ef4fe2a4f7bd98955caaa8d00922b75f SHA512 08b55eec3d280647f065d32e91b90a78a62f6c3a7786ee706c0b0e17c1194c1bb72d5c7d0c97305b919ea30cc0c5af10c6792bd8b36ab8b9a98bde8b6c8174b5 WHIRLPOOL b3523ffd53edc3a09a9de35f1b4856a2874146f0a409a9fc51467c4a32523e84277b0159633bcf7857080897d5016de3bb27b3d44ca3b5d0d81c903e02d09c7b
EBUILD calculate-update-3.2.0_alpha3-r2.ebuild 767 SHA256 a2d534813424e7ee22c6fcbda9f459ad16b4d8eefd0691f124e728d260b03b34 SHA512 30ea415d70e2d65a35aeb05b28d55c2499588dd9659e330b9c7567b680a50242793bd32b6d3b20b93d7f1dde915a56b7c4145adbcf76a1d8c1fd5ca0b34e46ff WHIRLPOOL 2f64e6d3d0e7e3d2855888ee2bd9110ced3e82750aeb15481ed22e6c1a74053359cfa7b8fd9fd72cd0c408955b6c1bfa43c39a9624ac958f508fb6558a20dd42
EBUILD calculate-update-3.2.0_alpha3.ebuild 623 SHA256 9747a7f19c9cd545b38f74f283a1c7aecb451bc1769a833935217cfe53b01baa SHA512 c2910b1427589e6fa869840d15dcd3149c84da02d5a6f09a1f1ac23c8702a4efaf0bbbd778057395217e7e70c20eb6a1716e933710719669c9236fa9ca3c4c3a WHIRLPOOL aaae73a86f00e62990528e9a01e5f9f41c57f38a4407452433362189fddd3c5230ce69016c93ffb4e5f0694e1c811d6e9c2f631f854422d1195021c656fa9292
EBUILD calculate-update-3.2.0_alpha4-r1.ebuild 767 SHA256 f12912de4c0bfea487c8b1a135fc9293cb8550f9443f10d59cdf514ea50aed1e SHA512 d021b334806c95424614c2bc0c702bb3bd75f17b12a7ea41361d053627b187564eab65be08c1418ac0de186d2bb97d96c7824760f4c52d14dd68faacea216fe9 WHIRLPOOL ae97441c8478a13f4cddbbbf8c1f16d0fab9ed40b5af565701beae2f9db7ee8a0c93b717a6654045b11e2c001313a77c7f04b42e12cdb3fa4b0a06246a880b5f
EBUILD calculate-update-3.2.0_alpha4-r2.ebuild 767 SHA256 710e26f93755be8a5a6faf2857bd4fc5c29b55a2034a4dc9e18c20ba1e993eb2 SHA512 0ad565fd9f7240bd2347dadb12574ef1916e6946c20f0f414312a48229a7e128edd6dce545faa6aa20f69c8ece4d184b108e2afabb568f36801dd0f279e5c119 WHIRLPOOL 8267f5128363b52e4870298685e38375585329cb21d9e5b8f9e36a4362c58e90bffb8e6d8d8b871bb0fb85ccf323354174f11574dc28fbb71941c7a1f7dd87d8
EBUILD calculate-update-3.2.0_alpha4-r3.ebuild 767 SHA256 f5dc6601800363d095a93e8726a8758aa3e42a010623a1a0aa973b18e9d05c47 SHA512 57d9f397a1e3ba3f89ce15ce7daebc2cb5f93e6d9600d31a23076cae6e27a3209468c983bbd5eca6b618b344beefe98d68c343d7b8123f101d704fc00f521eb4 WHIRLPOOL f512e66ad18047a6cbe49cbfc8085a11b18b07d34cdde28257d024017e981b4f7bc24573c518ab4e330c1e7d395728d3c1d0357c713ad32130ac0c372c39d2da
EBUILD calculate-update-3.2.0_alpha4-r4.ebuild 767 SHA256 8e9a3d77977a81cc529baa562a436d630da8709d9c00488e9cb750e83279f826 SHA512 b78245627614453aa9631ac12f548c1f4b531b81d8e770b8aa297c7af167e06944b10451bd976fe57ec22cd94cdcf114ddba419a5cdac5b2a1cced726d520a82 WHIRLPOOL 0a0d3cfb6e1c7098a393891d623d114cc1badee121e4bc414a23e701b9b9af784fe45997207335fe83833c8fbb248e2a3a1af91c932d41672375b84d1b7767cd
EBUILD calculate-update-3.2.0_alpha4.ebuild 623 SHA256 51f176a0b12ff53b612634c391e3504059bb8f5bfba20325e86efda1cd0f2787 SHA512 f693242808a683f9bfb895dd4a5330b9bb50a27d51ab51a272619724a03ad5a531cc23434abbaae6773f974dc5d699f1aee7d9062d2b19076335ccbe4bd7febd WHIRLPOOL 39ce52a3ae9fe1f7bca4b00a96929a58cb50cdd9c0a22f801bd9b8fdafbece62f9033c48f9e3a549136d4b838f4ace423710cbd63e2e3b7da9fa72fa81802255
EBUILD calculate-update-3.2.0_alpha5-r1.ebuild 767 SHA256 fe240b29d75a1e24f3d0260d2556687dd1a86b208b717999a7d31b2b834140e4 SHA512 46cf6287a4021421c75b2cd8852499bb6f0a31f3f02fe9a950d6f2e16a660669501a4c46f79bfb96bf1540b3be20f416c6b42a5159db761c8d628e4294da2535 WHIRLPOOL 466fdb29dfad3fffb4e377fa58fc5f5b0bb074571c38fb58f008f1971909b8ce30578ec53b32e4160b6a59256cd8acb3c80cc46eb34a5d8e899a272486fe3858
EBUILD calculate-update-3.2.0_alpha5-r2.ebuild 767 SHA256 03ddecb52d21af5d8c2a5dd8b96ad87d1fead18a2630bd68f419f8ed3f0af7e7 SHA512 c2d80544c91bdf470b039a0dc81439a4b721977b281c80e411e2883ee73965f68b2bf4d75140e30c975271cd37d310d6df4bc2f585ff3632f687ccd4c6746d4a WHIRLPOOL fd87d40c1b44aa1ecef848f1c34a40bf8ba6603c3ce51716c1446000ed3f96a15421ddeb312943c6d21dbaeef39d5bc6983ebb58218d2de62e58a9a24c5c2e1b
EBUILD calculate-update-3.2.0_alpha5-r3.ebuild 767 SHA256 693bf06a78e2d02be968a1b807210b0f3d338f73f8a2aff9494ab42a71b36f08 SHA512 cd39e67a44c35477000136a05dec4d5721d71aa66d64438b450ac95a79ca03ce5dfb02c9110290cfe63256dfec1f24e68f1d78b6471d08125b870976b7616ec6 WHIRLPOOL bbaee8a3ae2db30bb1733ead92a888a79da888556b5cd9ea3cbf7db44dc4868daacac7daac66355c68f3f9446aa460bc282944ac08245bc6c83210b38e7c702d
EBUILD calculate-update-3.2.0_alpha5.ebuild 623 SHA256 b5b09dcf5177124e9e521154ab3e7e63e0052fc58dfeec1cacb6462f96112a3b SHA512 57c022bf4951fc6d341eb8df33d527a7f5d16f629b3ca1cd71710947eac3499fc0604f34ec666193a8222d6347914fdd38363364827d01db6c8e16af6b0c2a01 WHIRLPOOL 470fad0fdc631d4bcb52e370e3351adde95df42a56f23875945cf72c9e23fee0b8adad26ad592d5b9d17f6eed056bbfcafa3086f549aea6ef5f3e8e5fd7f027b
EBUILD calculate-update-3.2.0_alpha6.ebuild 623 SHA256 2c6730fbbeb47c9e2d20d18451900e1fa6db0cb380421533bb4ef8beeb19ede2 SHA512 147fc1940845797014c7b725780dd3b1c17b87bfcb2906d62f95ec56c3e1fb04c72a050f24b9ac9d8ffd81ea98e394f6649735dd8b31232fe13febbee74f2e0f WHIRLPOOL fea68cc4175de5f4e52c6a527d53375d9921e4bb3003f25d540c618d9fdc987a2bc255aec1755868a56f3c531dd2264b2481b06c240ca536d478615213bab9b0
EBUILD calculate-update-3.2.0_alpha7.ebuild 623 SHA256 7bd0dfb4a6c818a8e1727d0830cfeda2dc19ff193dc5c920090569ff1c9fb58b SHA512 6a88fe0a67a65af232001c4ea13d6a40327c4c4d177b06b64ef5afd387349f654faec1c5d52af6c35373ef77d0802622a9fb9fe720b08202baa116d9e2fcc18c WHIRLPOOL 4ebe91b2db932cf521558fe7618faf6550c55f5cd0e674585d854ac81f013f4d4fac2fae6341f8ea238c2b5f288e4842ef213a0ab52abb802043e2d51ae484b7
EBUILD calculate-update-3.2.9999.ebuild 530 SHA256 9558d49a6b95f73c67f79c835e4003725ba7ae7e0492ea336737da16fe2f5005 SHA512 466bce621f4073bfbf4d34063cbb54077910baa5e40637d5d8d23044edccc9d79bb764db25e05b68969f1bd63573a1c0bc04676f45a6bbeca173503df6887767 WHIRLPOOL 0107e9b7746739a9be77664aa9e6907c9e511ac0422721d709fe63ffb4a55246a2d6c494280bd3b72e50d8e1aecb7f811cfdd112c482168bd9fa17c4ff0d5eaf

@ -1,32 +0,0 @@
# 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 update Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha1
~sys-apps/calculate-install-3.2.0_alpha1"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-update-3.2.0_alpha1-r1.patch"
}

@ -1,24 +0,0 @@
# 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 update Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha1
~sys-apps/calculate-install-3.2.0_alpha1"
RDEPEND="${DEPEND}"

@ -1,25 +0,0 @@
# 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 update Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha2
~sys-apps/calculate-install-3.2.0_alpha2
dev-python/pexpect"
RDEPEND="${DEPEND}"

@ -1,33 +0,0 @@
# 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 update Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha3
~sys-apps/calculate-install-3.2.0_alpha3
dev-python/pexpect"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-update-3.2.0_alpha3-r1.patch"
}

@ -1,33 +0,0 @@
# 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 update Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha3
~sys-apps/calculate-install-3.2.0_alpha3
dev-python/pexpect"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-update-3.2.0_alpha3-r2.patch"
}

@ -1,25 +0,0 @@
# 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 update Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha3
~sys-apps/calculate-install-3.2.0_alpha3
dev-python/pexpect"
RDEPEND="${DEPEND}"

@ -1,33 +0,0 @@
# 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 update Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha4
~sys-apps/calculate-install-3.2.0_alpha4
dev-python/pexpect"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-update-3.2.0_alpha4-r1.patch"
}

@ -1,33 +0,0 @@
# 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 update Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha4
~sys-apps/calculate-install-3.2.0_alpha4
dev-python/pexpect"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-update-3.2.0_alpha4-r2.patch"
}

@ -1,33 +0,0 @@
# 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 update Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha4
~sys-apps/calculate-install-3.2.0_alpha4
dev-python/pexpect"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-update-3.2.0_alpha4-r3.patch"
}

@ -1,33 +0,0 @@
# 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 update Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha4
~sys-apps/calculate-install-3.2.0_alpha4
dev-python/pexpect"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-update-3.2.0_alpha4-r4.patch"
}

@ -1,25 +0,0 @@
# 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 update Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha4
~sys-apps/calculate-install-3.2.0_alpha4
dev-python/pexpect"
RDEPEND="${DEPEND}"

@ -1,33 +0,0 @@
# 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 update Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha5
~sys-apps/calculate-install-3.2.0_alpha5
dev-python/pexpect"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-update-3.2.0_alpha5-r1.patch"
}

@ -1,33 +0,0 @@
# 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 update Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_alpha5
~sys-apps/calculate-install-3.2.0_alpha5
dev-python/pexpect"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-update-3.2.0_alpha5-r2.patch"
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save