diff --git a/sys-apps/calculate-core/Manifest b/sys-apps/calculate-core/Manifest index 30aba80..295046b 100644 --- a/sys-apps/calculate-core/Manifest +++ b/sys-apps/calculate-core/Manifest @@ -1,4 +1,5 @@ AUX calculate-core-3.2.0_alpha10-r1.patch 1286 SHA256 3c749267ade1eac9cb241ab51aaa02a434c0c86848ada31e67a301503b9e7fb7 SHA512 46571cd309d09ed0421618767aee89d0156e1b39130034c14afad228cd32c5e8fbfc4f5c6a5f38ec88bd9e7dfc7843db7694c17978d8294cfddca93ffaf0bcca WHIRLPOOL 34faa1021853ac7468921924aabcc97a0361d9d2ee861327e9b69a4c8623cb26f2d054945e2a67b8ff1c10876c6e7cab8bfa4f9ded0e9957c359de6e25848154 +AUX calculate-core-3.2.0_alpha10-r2.patch 2440 SHA256 8950e954161078245875a08fcd5468731024eea22ef2ec4f95607896a74a0c88 SHA512 3eba6219edc2659987287b7c8c60e1c15e19bf1c3852f8e178b0d9c53514df4d9d5f55a4a69255195a7fef6a025da7cf3a6472c7795acbc6ddb0ab644ada4a68 WHIRLPOOL 5d898b8719a46c4cc3ea846f2c8d1bab476f76f10798b07a5edc55387e2fdccc79290aab5719cf1505962a18a4391d0b68f70620ecfd16eba42a9b7151a6866e AUX calculate-core-3.2.0_alpha6-r1.patch 28016 SHA256 d99381bd316fba8256b5eb54945124c5f32d816b06ad3d32c7d972ff0d01e71e SHA512 a60106837082dd4e4f2794f71cf69a782fcb22f823a1f9f325e14145cbb195fd79e2b0bf5cfb1de486c0bb76b7b00c4694c33c1a9a639a7022f4b34c4f08f3b5 WHIRLPOOL d96a915b3755b061667e1ce8234c480e677429b6bae118774027a4d58930a9b2c13af635638d0c3a972e6ff64a7a19cbadf6abe1d048eb9c55e0e41ecfa522e3 AUX calculate-core-3.2.0_alpha7-r1.patch 1253 SHA256 d1fa9b92b9616e22f7ff48de153a0b07e5c5f30727784048c341135e2b992869 SHA512 b0fd0053961d62a0eba396ca34d7bd41551b3430bae1a8467410758222c8367809e16edc2b1282fe2ef31f469a0cc3619ecbf0581952f9a1a8c5fed4102e9477 WHIRLPOOL 9e90ce6979ac1e8db54a12bd04eac784650a0feffaffdc51569a52a4a84fdfa7f0afc60c2f370e18798a7cadf0d638530f1dd1d014aa23af6810507706792b1e AUX calculate-core-3.2.0_alpha7-r2.patch 2540 SHA256 89541f9da25b7b4fd71410c5369f8e53f5e589740a644150e78d685c7d867fb4 SHA512 d40195a176c24a891cb6fa84e215c45a6961853fcce775727c39c55a7abe851ba35e2582e11aeb43ee84f7565bc4006f9376136c9570f61710d0b3487ecdd630 WHIRLPOOL c6912581585122ef4759b51d19b20aeea8befa7b96d67431b6e7a88f33908f2eed4c14172bd41a62e6fc836447263d0203936f80728e268f208ab79dc20aa167 @@ -8,6 +9,7 @@ DIST calculate-core-3.2.0_alpha7.tar.bz2 86089 SHA256 427ce83eccbf25a559bf8345bf DIST calculate-core-3.2.0_alpha8.tar.bz2 86279 SHA256 e2fa5c7229e8dd64e0ebf8df925750b41b3ca9f9aa3f18009d489201fe16a368 SHA512 f3c1897ad028d99266768ce5a6f82d4fac055747cca99a2d0f5fcf6071dd421251b8f88465b9b6b73aefaefcb505db4f694f20817363af53b5770ab390adac2d WHIRLPOOL 54aadc48cd221f2dd165bdb566d5aa9f54407d7c59b0b3b56e2cc88efdecadac41e639327fdb7a317a24180bf9922545057f7aa430c11b0978a5603659a45adc DIST calculate-core-3.2.0_alpha9.tar.bz2 87110 SHA256 a2f85927f0f1bebec54686e5448b7fc13f6da7c3e666cecb85e6414ac039442a SHA512 306b1e4f48477e4600a69c5cc5c69ecca46bcb5dad451ecef468eba14c5ae8e66ab5b0c70dc0cc76c91860d16d7437884562be7fb48571d73570d58127c8659d WHIRLPOOL f4e787dec4aea6cff158f508364ea97cc85ffa2684eb69ff0fb5b84cc49beb10e20941f9066b7aab1ba13c9677fc02f174300e1e946dc470dfa96f334bda2d4c EBUILD calculate-core-3.2.0_alpha10-r1.ebuild 1273 SHA256 359b9202de2b02ccb7c4a58d33201474c2626ac9eccb1c52fe99e592d030f1ec SHA512 f900ec8de6422bd42ffb74e630a12e10cd1c6528f06bd94bf968941baf9a9394ede9e643ffde6655bd616497c73f2f653952fdfb718839333a88d7fec808c836 WHIRLPOOL b753fcb2951fe9b9787df342466e24a89f43401c588709d857fdc7899ecfa9fcfcbfcf2ac4cd26f4b527303434b06a959a5b2b7526f1e90737e7b5d945bc67d3 +EBUILD calculate-core-3.2.0_alpha10-r2.ebuild 1273 SHA256 3ed7f006373c40d2d024a24615a0c24b6849f2ddfafba681f8fafcd77fe0caf1 SHA512 44a5c40a69112a6f85dc4c0935638b3d72fd93f0492f549b29cf2591b4b50eb757ac0f1e1e31c94205acddb36739cd0ce206f9b4115eb7ac74380ce1cc6bfc04 WHIRLPOOL ca817adf43c41f42bcb4613e563e98d4748e82d25c68d33329767b5133cdf802330baf0ff6ba068b17245797ee812ca5f15e70d9500967ca933baccfd734560f EBUILD calculate-core-3.2.0_alpha10.ebuild 1130 SHA256 b5fd665e9bdd2768881d7036b4fd6b6a1951d80c1f35ce4a3d718f7be7d0696a SHA512 317e92465c4a563a9f8f0f77d9026c8d7bebdec046cf6b5e18fc4d64db7ed025ca868b047468e511b81c282812813300d4a7f09956dec6bc8f0e732513422d31 WHIRLPOOL 56a65ee5a91ed9044eb8d45e519b72e46a50a8cd12de8f88c70553b928c71a68f0593d2246e83808b97ec180182e9a78eb021b2c38f5e48ad0fa4cf09caff0bf 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 diff --git a/sys-apps/calculate-core/calculate-core-3.2.0_alpha10-r2.ebuild b/sys-apps/calculate-core/calculate-core-3.2.0_alpha10-r2.ebuild new file mode 100644 index 0000000..1ad32b0 --- /dev/null +++ b/sys-apps/calculate-core/calculate-core-3.2.0_alpha10-r2.ebuild @@ -0,0 +1,51 @@ +# 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_alpha10 + >=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 " + 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_alpha10-r2.patch" +} diff --git a/sys-apps/calculate-core/files/calculate-core-3.2.0_alpha10-r2.patch b/sys-apps/calculate-core/files/calculate-core-3.2.0_alpha10-r2.patch new file mode 100644 index 0000000..9b326d2 --- /dev/null +++ b/sys-apps/calculate-core/files/calculate-core-3.2.0_alpha10-r2.patch @@ -0,0 +1,55 @@ +diff --git core/server/func.py core/server/func.py +index 00249b8..9147575 100644 +--- core/server/func.py ++++ core/server/func.py +@@ -140,7 +140,9 @@ class CommonMethods: + # определение каталогов содержащих шаблоны + dirs_list, files_list = ([],[]) + useClt = useClt in ("on",True) +- clTempl = ProgressTemplate(self.setProgress,self.clVars, ++ self.addProgress() ++ nullProgress = lambda *args,**kw:None ++ clTempl = ProgressTemplate(nullProgress,self.clVars, + cltObj=useClt, + cltFilter=cltFilter, + printSUCCESS=self.printSUCCESS, +diff --git core/server/methods_func.py core/server/methods_func.py +index 5a25e4e..3393f49 100644 +--- core/server/methods_func.py ++++ core/server/methods_func.py +@@ -237,7 +237,8 @@ def get_method_argparser(view, args, cl_core = False): + # data['metavar'] = field.name.upper() + if "choice" in field.type: + data['help'] = "%s (%s)" % ( +- data['help'], _("'list' for display possible values")) ++ data['help'], ++ _("'list' for displaying possible values")) + if field.element in ['check']: + data['metavar'] = "ON/OFF" + try: +diff --git core/setup_package.py core/setup_package.py +index f920af7..3285b52 100644 +--- core/setup_package.py ++++ core/setup_package.py +@@ -113,7 +113,7 @@ class UpdateConfigs(UpdateLogger): + """ + Получить пользователей в X сессии + """ +- return self.clVars.Get('desktop.cl_desktop_online_user') ++ return list(self.clVars.Get('desktop.cl_desktop_online_user'))+["root"] + + def getConfiguredPasswdUsers(self): + """ +diff --git core/variables/setup_package.py core/variables/setup_package.py +index ac6daf6..9da4e0d 100644 +--- core/variables/setup_package.py ++++ core/variables/setup_package.py +@@ -201,7 +201,7 @@ class VariableClCorePkgDesktopSet(Variable): + def check(self,value): + if self.Get('cl_templates_locate') == ["clt"] and value == "on": + raise VariableError( +- _("You shouldn't choice only clt location " ++ _("You must not choose only clt location " + "for desktop templates")) + + def init(self): diff --git a/sys-apps/calculate-update/Manifest b/sys-apps/calculate-update/Manifest index 33e3dd9..7c80fa2 100644 --- a/sys-apps/calculate-update/Manifest +++ b/sys-apps/calculate-update/Manifest @@ -1,5 +1,6 @@ AUX calculate-update-3.2.0_alpha10-r1.patch 19066 SHA256 4390a2a0a8425ddc0a3064e979547f916317e5268161e87b936acf40c7bf8dae SHA512 68548d6ac7886009d5590582fb4da449881402298ae8a794071a64942df773799d7b9813ccece1eba3e58d413d6866a3f0d7172d7c475c4abbccb650bd9c6180 WHIRLPOOL 8415635d09cf8b31fbc7081cb2184891f9c6bfcd9b1d1c78767b8af5cd9562de48c1f24accef92b6b47aa59d3eac35bbbbea6e0d8fbd51466a9317e4cc304a2b AUX calculate-update-3.2.0_alpha10-r2.patch 20660 SHA256 a210e14f28a8e7876576ea53a6072eddc47a73860aad58d830444c0b5f90a859 SHA512 3e215e6acd983238fa89de2c975f4a2ae12f9ed21009d9f818276b24874f68750cf219006e43ed37c087b49bf408b5d7b8dda97e12d4c5721375d237c7df2e5f WHIRLPOOL 2fde0ea0daafc4180cb949506b2595962998ffe50bb5bf09ce7ded90f29bd3350da74c10f6c4e24b259a6e097a072df37d8f28bef2ba5003ecfec0e4f20e1674 +AUX calculate-update-3.2.0_alpha10-r3.patch 21132 SHA256 45c1294a6b38123ee215acf7d3279f13ec7d803fe9e356b088f3f803290cf823 SHA512 0eb56be1543d475f9472716f6bf65bf300d26c498776e34b07804c00d17006aee7701c88ede67a49d01285ba57b4fb6bbc144bff52fd3200278ea0facc8e8fa5 WHIRLPOOL e78a59c932fb4b33958d84d10f1647152ec4016ecced8be61d6422bb8ac8e65049bf4a6d5637ea705904226ad111003d367927ae55d4d18178b8bea353780daa AUX calculate-update-3.2.0_alpha7-r1.patch 1086 SHA256 4de503ac11c623bae15c770e2d8a66679972dd3d358cb1852c34c553ebde77aa SHA512 eaa0e099441e4e55e0d98818c679590bdc421ac3029df4111ac280847921bb100fbc2af7886917e48582f3d1220e0b3e221d5537cf1a029265d790f1077b209a WHIRLPOOL 6b00347e85c4ee747a43e4cf0ad6dc411b9529d62c8296f0ed82291ccdd68823f45f110d3f23347a637e822f9a4407c57a3f3dd4aafbd0953ba83f935d4f3b1f DIST calculate-update-3.2.0_alpha10.tar.bz2 25298 SHA256 8a20822ceea8fee9fc5cd9c790463f389f776ccb8cd80a9ddc56019913e48805 SHA512 ea66987e0e276f8050c218f863f6bb2b9c3fbc604c1427982f740a929a85a8dabe4fbdf1e776e61320642e47a117c301c5fe63b4f3ebc69d190dcd33bc00749f WHIRLPOOL 4910453edce2d21e020dbd7558e718983b1547efbce99e94f151980a0a8c09fd1bb8d4870d4f04c8e0d421696cb31977b422506a05249bff880d4b4c4b046135 DIST calculate-update-3.2.0_alpha6.tar.bz2 24918 SHA256 ba6c633330d68761bc426750dd5b3bb52d75843c1e5adc6f1ee41daa032e1e2e SHA512 c44e02e158758e5f1bfb26d1f1f276d27664e072df9aa3485840d4853320671a0323dc03ccfc31e78f1ae66003416d5723383967991fefbb5c427ec8447dccee WHIRLPOOL 14d5fbec32105e18f31304d7c70f1c57b98b4c3ffd83ca4bc209c622b71df218f2c63f006fb15b5804676c0421b86c05ac6ffef26651e1336a5cf820701900ff @@ -8,6 +9,7 @@ DIST calculate-update-3.2.0_alpha8.tar.bz2 25248 SHA256 2bd5d35565644588b96584d1 DIST calculate-update-3.2.0_alpha9.tar.bz2 25265 SHA256 d482ab158fa2d3ed1742627056861eeaa9bcf1833b41d3676bd9d1d85f8d19bb SHA512 f0a547d6e36852407d158a4e4c629ee08aae08b9d0ec0641428f9522eada6ad0df4bb839a7f2bcb89362baeb816d38b62b21ff03783a6e6c0e17931dddd6cddf WHIRLPOOL 5fb767e73ac233a57e9f62e6f0359e23b3c6ec0924ce4725278d009023c863cc74cb3a2767d7d8a2f13ce8c0fff01f58b5ed7c4a247786969867cb66aac45515 EBUILD calculate-update-3.2.0_alpha10-r1.ebuild 770 SHA256 f09748ea4bf9588a568b0abb8e8eb83428a6d4f2ffc30ba770b90467cf25f5d9 SHA512 eb7eb345b9789a734f2a62048d56cc75867cb6a81f9acd55157dc76afbbdc82819dd098ad51bfda7d9624e7a0e1af02d918da3617b665b2030c941f5d3a20047 WHIRLPOOL cd69fb9155d0d238c63432e62ceb61fc3a7ee24373716e6f65b9bd9754495b479c7d0a762d095041e032a065942ed2fb7459e1a4258038d7d901dde207187c7e EBUILD calculate-update-3.2.0_alpha10-r2.ebuild 770 SHA256 c6ed49be093c18419890081ef26fed41f9fafa923b445d211c26bc30e02503ca SHA512 f7f252c6a99bee219e655dd53e3bcba8bcd0c9ea07693a29301b53cbcddd0b2e39fb75854ca1ef7681ce18c6dc0e62c86a207759d0e9b1cb100dafb81fa43348 WHIRLPOOL f8f742e5781d0874217ce9f65d5130054fb20d623f6f87c67e32aab9691413e149508caf4ad4595efb6890b222ac39398c2bd70e4fb84581c438c72fca4270e9 +EBUILD calculate-update-3.2.0_alpha10-r3.ebuild 770 SHA256 8f5b5a038e1317b30a8569cfe5bac071d7c63ffec7a099c555e5c873c0c44f2b SHA512 e273f8f2c59e9c037f38673402a22d73955b6aadc9010ed6e022c8fee1ff883350de60ba7267008b0c43e6fe739430c3ca251be5f742bf487acbc851dc3a7d38 WHIRLPOOL fed4f14644e24a036c266733fcc230bc2f351af0e9dcfdbf0d21257db38c9fd13a630a2eb02df30b75780cb639b22fc148ea1990794d11a55f7d031cd1bd10df EBUILD calculate-update-3.2.0_alpha10.ebuild 625 SHA256 fcf7c67110cd4b726c5acd91dbc121488261ee03fa02c1ce987cd1a552c3af74 SHA512 f0cdb147661c97907926db8a70c9dbd8142c91110b2a3caf56791dab5d7c53a821800ed777ea15765fbeea5e1c3e4b26fda614b4d9a1b1fcd48793185b440133 WHIRLPOOL d2323042d9d6db1d13f322877279cd2d39bee97a371ba393b8b8ed17df7fbcb3c141e26f02d1b3d9faf309d4b1458515fe277ff656cc5ff399ec416463c2e3f3 EBUILD calculate-update-3.2.0_alpha6.ebuild 613 SHA256 926d0feedb17e6ed88239296a28cc8113a9e81f3d2369d587f1647bb778bfb7b SHA512 141b324867ea1f744141a3facef0b87a33947085b53e8894387e402855dbab95bce203855f1923ea55c9ceae239227cae44cc840baeabca944ac07fd156a3720 WHIRLPOOL adf9914f598fc16f76c4a9b95115d22ff0a993f5e0c0823ff31e45395bfd9becf0f5dc23f41ff69a911a20673e7d3be45b08be1d7bf9cfc550ccdcc7c7515252 EBUILD calculate-update-3.2.0_alpha7-r1.ebuild 757 SHA256 b7991c8c837ea3be6ba82abe88fe80db1cdb1ab3b13daca86286884beb7dd06b SHA512 ba0604f395d14855146aa6a6fc1eab087789cb3379db7f7925fd13a3eed094459dcdcfc7fff7cfea99a398fe5dad307147711749c2d2eca308aca4e7d6eedd8d WHIRLPOOL d30db8bf3fe1ce41c12b49289be83801d5338970b06add9c63b49a6bf9d8b348f059cfb30025a1b5a56e44b983316a54e2a1ebc301fc3a42fa06a0210e2f37f8 diff --git a/sys-apps/calculate-update/calculate-update-3.2.0_alpha10-r3.ebuild b/sys-apps/calculate-update/calculate-update-3.2.0_alpha10-r3.ebuild new file mode 100644 index 0000000..b5cb323 --- /dev/null +++ b/sys-apps/calculate-update/calculate-update-3.2.0_alpha10-r3.ebuild @@ -0,0 +1,33 @@ +# 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_alpha10 + ~sys-apps/calculate-install-3.2.0_alpha10 + dev-python/pexpect" + +RDEPEND="${DEPEND}" + +src_unpack() { + unpack "${A}" + cd "${S}" + + # apply revision changes + epatch "${FILESDIR}/calculate-update-3.2.0_alpha10-r3.patch" +} diff --git a/sys-apps/calculate-update/files/calculate-update-3.2.0_alpha10-r3.patch b/sys-apps/calculate-update/files/calculate-update-3.2.0_alpha10-r3.patch new file mode 100644 index 0000000..d69fdfb --- /dev/null +++ b/sys-apps/calculate-update/files/calculate-update-3.2.0_alpha10-r3.patch @@ -0,0 +1,467 @@ +diff --git update/emerge_parser.py update/emerge_parser.py +index 80d012b..a319a80 100644 +--- update/emerge_parser.py ++++ update/emerge_parser.py +@@ -447,7 +447,7 @@ class EmergeingErrorBlock(EmergeInformationBlock): + return self.text_converter.transform(readFile(self.result)) + + def action(self, child): +- raise EmergeError(_("Emerge %s is failed") % self.package) ++ raise EmergeError(_("Failed to emerge %s") % self.package) + + + class RevdepPercentBlock(NotifierInformationBlock): +diff --git update/package_tools.py update/package_tools.py +index dd86cbd..61c319f 100644 +--- update/package_tools.py ++++ update/package_tools.py +@@ -140,11 +140,11 @@ class Git: + if path.exists(rpath): + if not path.isdir(rpath): + raise GitError( +- _("Repository {path} is not directory").format( ++ _("Repository {path} is not a directory").format( + path=rpath)) + if not path.isdir(self._gitDir(rpath)): + raise GitError( +- _("Repository {path} is not git").format( ++ _("Repository {path} is not Git").format( + path=rpath)) + return True + return False +@@ -155,7 +155,7 @@ class Git: + """ + git = getProgPath("/usr/bin/git") + if not git: +- raise GitError(_("Git utility is not found")) ++ raise GitError(_("The Git tool is not found")) + return git + + @staticmethod +@@ -191,9 +191,9 @@ class Git: + error = gitClone.read() + if "Remote branch %s not found" % branch in error: + raise GitError( +- _("Branch {branch} not found in {url} repository").format( ++ _("Branch {branch} not found in repository {url}").format( + branch=branch, url=url)) +- raise GitError(_("Failed to clone {url} repository").format( ++ raise GitError(_("Failed to clone repository {url}").format( + url=url), error) + return True + +@@ -272,7 +272,7 @@ class Git: + if command("get_rev_tag") or command("fetchshallow"): + if not command("has_branch"): + raise GitError( +- _("Branch {branch} not found in {url} repository" ++ _("Branch {branch} not found in repository {url}" + ).format(branch=branch, url=url)) + # если среди коммитов есть указанный коммит + if command("has_revision"): +@@ -281,7 +281,7 @@ class Git: + return True + elif command("checkout"): + return False +- raise GitError(_("Failed to clone {url} repository").format( ++ raise GitError(_("Failed to clone repository {url}").format( + url=url), error[-1]) + + def pullRepository(self, rpath, quiet_error=False, cb_progress=None): +@@ -294,7 +294,7 @@ class Git: + if not quiet_error: + error = gitPull.read() + raise GitError( +- _("Failed to update repository in {rpath}").format( ++ _("Failed to update the repository in {rpath}").format( + rpath=rpath), error) + return False + return True +@@ -316,7 +316,7 @@ class Git: + if gitFetch.failed(): + error = gitFetch.read() + raise GitError( +- _("Failed to update repository in {rpath}").format( ++ _("Failed to update the repository in {rpath}").format( + rpath=rpath), error) + return True + +@@ -332,7 +332,7 @@ class Git: + return not any(x.strip() for x in git_status) + else: + raise GitError( +- _("Wrong repository in {rpath} directory").format( ++ _("Wrong repository in the {rpath} directory").format( + rpath=rpath)) + + def parseStatusInfo(self, data): +@@ -376,8 +376,7 @@ class Git: + return git_show.read().strip() + else: + raise GitError( +- _("Failed to get status of repository in " +- "{rpath} directory").format( ++ _("Failed to get the repository status for {rpath}").format( + rpath=rpath)) + + def getStatusInfo(self, rpath): +@@ -395,13 +394,12 @@ class Git: + retDict = self.parseStatusInfo(git_status.read()) + if not retDict: + raise GitError( +- _("Failed to get status of repository in " +- "{rpath} directory").format( ++ _("Failed to get the repository status for {rpath}").format( + rpath=rpath)) + return retDict + else: + raise GitError( +- _("Wrong repository in {rpath} directory").format( ++ _("Wrong repository in the {rpath} directory").format( + rpath=rpath)) + + def resetRepository(self, rpath, to_origin=False, to_rev=None, info=None): +@@ -434,7 +432,7 @@ class Git: + rpath, + "clean", "-fd", stderr=STDOUT) + if git_reset.failed() or git_clean.failed(): +- raise GitError(_("Failed to clean {rpath} repository").format( ++ raise GitError(_("Failed to clean the {rpath} repository").format( + rpath=rpath)) + return True + +@@ -456,11 +454,11 @@ class Git: + error = git_checkout.read() + if "pathspec '%s' did not match" % branch in error: + raise GitError( +- _("Branch {branch} not found in {rpath} repository").format( ++ _("Branch {branch} not found in repository {rpath}").format( + branch=branch, rpath=rpath)) + raise GitError( +- _("Failed to change branch to {branch} in " +- "{rpath} repository").format(branch=branch, ++ _("Failed to change branch to {branch} in the {rpath} " ++ "repository").format(branch=branch, + rpath=rpath), error) + return True + +diff --git update/update.py update/update.py +index 2f867f4..966e907 100644 +--- update/update.py ++++ update/update.py +@@ -116,7 +116,7 @@ class Update: + raise UpdateError(_("Update is already running. " + "Try to run later.")) + else: +- self.startTask(_("Waiting for complete another update")) ++ self.startTask(_("Waiting for another update to be complete")) + while any(ifilter(lambda x: os.getpid() != x, + search_worked_process('update', dv))): + time.sleep(0.3) +@@ -133,8 +133,8 @@ class Update: + "cl_update_rep_rev", "cl_update_branch_name"], + where="cl_update_rep_name", eq=repname, limit=1)) + if not url or not rpath: +- raise UpdateError(_("Variables with repositories settings " +- "is not configured")) ++ raise UpdateError(_("Configuration variables for repositories " ++ "are not setup")) + self.addProgress() + if clean_on_error: + try: +@@ -148,7 +148,7 @@ class Update: + self.printWARNING(str(e)) + self.endTask(False) + self.startTask( +- _("Re-fetch {name} repository").format(name=repname)) ++ _("Re-fetching the {name} repository").format(name=repname)) + self.addProgress() + try: + rpath_new = "%s_new" % rpath +@@ -157,7 +157,7 @@ class Update: + removeDir(rpath) + os.rename(rpath_new, rpath) + except OSError: +- raise UpdateError(_("Permission denied to change " ++ raise UpdateError(_("Permission denied to modify the " + "{repname} repository").format( + repname=repname)) + finally: +@@ -179,7 +179,7 @@ class Update: + """ + layman = getProgPath('/usr/bin/layman') + if not layman: +- raise UpdateError(_("Layman utility is not found")) ++ raise UpdateError(_("The Layman tool is not found")) + rpath = self.clVars.Select('cl_update_other_rep_path', + where='cl_update_other_rep_name', eq=repname, + limit=1) +@@ -193,7 +193,7 @@ class Update: + p = process(layman, "-s", repname, stderr=STDOUT) + if p.failed(): + raise UpdateError( +- _("Failed to update repository {rname}").format(rname=repname), ++ _("Failed to update the {rname} repository").format(rname=repname), + addon=p.read()) + return True + +@@ -203,12 +203,12 @@ class Update: + """ + egenCache = getProgPath('/usr/bin/egencache') + if not egenCache: +- raise UpdateError(_("Portage utility is not found")) ++ raise UpdateError(_("The Portage tool is not found")) + cpu_num = self.clVars.Get('hr_cpu_num') + p = process(egenCache, "--repo=%s" % repname, "--update", + "--jobs=%s" % cpu_num, stderr=STDOUT) + if p.failed(): +- raise UpdateError(_("Failed to update cache of {rname} " ++ raise UpdateError(_("Failed to update the cache of the {rname} " + "repository").format(rname=repname), + addon=p.read()) + return True +@@ -219,7 +219,7 @@ class Update: + """ + emerge = getProgPath("/usr/bin/emerge") + if not emerge: +- raise UpdateError(_("Emerge utility is not found")) ++ raise UpdateError(_("The Emerge tool is not found")) + self.addProgress() + p = PercentProgress(emerge, "--metadata", part=1, atty=True) + for perc in p.progress(): +@@ -238,7 +238,7 @@ class Update: + """ + eixupdate = getProgPath("/usr/bin/eix-update") + if not eixupdate: +- raise UpdateError(_("Eix utility is not found")) ++ raise UpdateError(_("The Eix tool is not found")) + self.addProgress() + excludeList = [] + if self.clVars.Get('cl_update_eixupdate_force') == 'force': +@@ -287,7 +287,8 @@ class Update: + if max_num > 1: + one = _print.foreground(Colors.YELLOW).bold("{0}", num) + two = _print.foreground(Colors.YELLOW).bold("{0}", max_num) +- part = " (%s of %s)" % (one, two) ++ part = _(" ({current} of {maximum})").format(current=one, ++ maximum=two) + else: + part = "" + if self.is_binary_pkg(pkg,binary): +@@ -337,7 +338,7 @@ class Update: + """ + cmd_path = getProgPath(cmd) + if not cmd_path: +- raise UpdateError(_("Failed to find %s command") % cmd) ++ raise UpdateError(_("Failed to find the %s command") % cmd) + with EmergeParser( + emerge_parser.CommandExecutor(cmd_path, params)) as emerge: + self._startEmerging(emerge) +@@ -349,7 +350,7 @@ class Update: + """ + cmd_path = getProgPath(cmd) + if not cmd_path: +- raise UpdateError(_("Failed to find %s command") % cmd) ++ raise UpdateError(_("Failed to find the %s command") % cmd) + with EmergeParser( + emerge_parser.CommandExecutor(cmd_path, params)) as emerge: + revdep = RevdepPercentBlock(emerge) +@@ -409,7 +410,7 @@ class Update: + self._display_pretty_package_list(pkglist) + if emerge.install_packages.remove_list: + self.printSUCCESS(_print( +- _("List removal packages"))) ++ _("Listing packages for removal"))) + self._display_pretty_package_list( + emerge.install_packages.remove_list, remove_list=True) + if str(emerge.download_size) != "0 kB": +@@ -427,7 +428,7 @@ class Update: + _print = self.color_print + pkglist = emerge.uninstall_packages.list + self.printSUCCESS(_print.bold( +- _("List removal packages"))) ++ _("Listing packages for removal"))) + self._display_pretty_package_list(pkglist, remove_list=True) + + def getCacheOnWorld(self, params, packages, check=False): +diff --git update/utils/cl_update.py update/utils/cl_update.py +index 2ac2c36..35ff534 100644 +--- update/utils/cl_update.py ++++ update/utils/cl_update.py +@@ -151,7 +151,7 @@ class ClUpdateAction(Action): + ] + }, + {'name': 'update_other:depclean', +- 'group': __("Cleaning system from needless packages"), ++ 'group': __("Cleaning the system from needless packages"), + 'tasks': [ + {'name': 'update_other:update_depclean', + 'message': __("Calculating dependencies"), +@@ -209,19 +209,19 @@ class ClUpdateAction(Action): + 'tasks': [ + {'name': 'sync_reps', + 'foreach': 'cl_update_sync_rep', +- 'message': __("Syncing {eachvar:capitalize} repository"), ++ 'message': __("Syncing the {eachvar:capitalize} repository"), + 'method': 'Update.syncRepositories(eachvar)', + 'condition': lambda Get: Get('cl_update_sync_rep') + }, + {'name': 'sync_other_reps', + 'foreach': 'cl_update_other_rep_name', +- 'message': __("Syncing {eachvar:capitalize} repository"), ++ 'message': __("Syncing the {eachvar:capitalize} repository"), + 'method': 'Update.syncLaymanRepository(eachvar)', + 'condition': lambda Get: Get('cl_update_other_set') == 'on' + }, + {'name': 'sync_reps:regen_cache', + 'foreach': 'cl_update_sync_overlay_rep', +- 'message': __("Updating {eachvar:capitalize} repository cache"), ++ 'message': __("Updating the {eachvar:capitalize} repository cache"), + 'essential': False, + 'method': 'Update.regenCache(eachvar)', + 'condition': ( +@@ -231,12 +231,12 @@ class ClUpdateAction(Action): + }, + {'name': 'sync_other_reps:regen_other_cache', + 'foreach': 'cl_update_other_rep_name', +- 'message': __("Updating {eachvar:capitalize} repository cache"), ++ 'message': __("Updating the {eachvar:capitalize} repository cache"), + 'method': 'Update.regenCache(eachvar)', + 'essential': False, + }, + {'name': 'emerge_metadata', +- 'message': __("Metadata trasfer"), ++ 'message': __("Metadata transfer"), + 'method': 'Update.emergeMetadata()', + 'condition': ( + lambda Get: (Get('cl_update_outdate_set') == 'on' and +@@ -244,7 +244,7 @@ class ClUpdateAction(Action): + Get('cl_update_metadata_force') == 'force')) + }, + {'name': 'eix_update', +- 'message': __("Updating eix cache"), ++ 'message': __("Updating the eix cache"), + 'method': 'Update.eixUpdate()', + 'condition': ( + lambda Get: (Get('cl_update_outdate_set') == 'on' and +diff --git update/variables/update.py update/variables/update.py +index 01eedf8..0276858 100644 +--- update/variables/update.py ++++ update/variables/update.py +@@ -74,8 +74,8 @@ class VariableClUpdateRevSet(Variable): + "cl_update_eixupdate_force"] + + def init(self): +- self.help = _("revision update") +- self.label = _("Revision update") ++ self.help = _("make a revision update") ++ self.label = _("Make a revision update") + + class VariableClUpdateRep(Variable): + """ +@@ -122,7 +122,7 @@ class VariableClUpdateSystemProfile(ReadonlyVariable): + path.join(path.dirname(make_profile), + os.readlink(make_profile))) + except: +- raise VariableError(_("Failed to determine system profile")) ++ raise VariableError(_("Failed to determine the system profile")) + + class VariableClUpdateLaymanStorage(ReadonlyVariable): + """ +@@ -239,8 +239,8 @@ class VariableClUpdateSyncRep(Variable): + untrusted = True + + def init(self): +- self.help = _("synchronize repositories (all by default)") +- self.label = _("Synchronize repositories") ++ self.help = _("synchronized repositories (all by default)") ++ self.label = _("Synchronized repositories") + + def set(self,value): + orderList = self.Get('cl_update_rep_name') +@@ -288,15 +288,15 @@ class VariableClUpdateMetadataForce(Variable): + #untrusted = True + + def init(self): +- self.help = ("'force' - " + _("force update ebuilds metadata") + +- ",\n'skip' - " + _("skip update ebuilds metadata") + +- ",\n'auto' - " + _("update metadata if they are outdated")) ++ self.help = ("'force' - " + _("force the update ebuilds metadata") + ++ ",\n'skip' - " + _("skip the ebuild metadata update") + ++ ",\n'auto' - " + _("update metadata if it is outdated")) + self.label = _("Update metadata") + + def choice(self): + return [("force", _("Force")), + ("skip", _("Skip")), +- ("auto", _("By need"))] ++ ("auto", _("If needed"))] + + class VariableClUpdateEixupdateForce(Variable): + """ +@@ -310,15 +310,16 @@ class VariableClUpdateEixupdateForce(Variable): + #untrusted = True + + def init(self): +- self.help = ("'force' - " + _("force update eix cache") + +- ",\n'skip' - " + _("skip update eix cache") + +- ",\n'auto' - " + _("update eix cache if it is outdated")) +- self.label = _("Update eix cache") ++ self.help = ("'force' - " + _("force the eix cache update") + ++ ",\n'skip' - " + _("skip the eix cache update") + ++ ",\n'auto' - " + _("update the eix cache if it " ++ "is outdated")) ++ self.label = _("Update the eix cache") + + def choice(self): + return [("force", _("Force")), + ("skip", _("Skip")), +- ("auto", _("By need"))] ++ ("auto", _("If needed"))] + + class VariableClUpdateOtherSet(Variable): + """ +@@ -389,9 +390,10 @@ class VariableClUpdatePretendSet(Variable): + opt = ["-p", "--pretend"] + + def init(self): +- self.label = _("Pretend package update") +- self.help = _("instead of actually performing packages update, " +- "simply only display what have been installed") ++ self.label = _("Pretend a package update") ++ self.help = _("instead of actually performing the update, " ++ "simply display the list of packages that " ++ "will be installed") + + class VariableClUpdateSyncOnlySet(Variable): + """ +@@ -423,5 +425,5 @@ class VariableClUpdateWaitAnotherSet(Variable): + opt = ["--wait-another-update"] + + def init(self): +- self.label = _("Wait for complete another update") +- self.help = _("wait until the other updates or abort") ++ self.label = _("Wait for another update to be complete") ++ self.help = _("wait until the running update is finished") +diff --git update/wsdl_update.py update/wsdl_update.py +index 10ec376..9bd535e 100644 +--- update/wsdl_update.py ++++ update/wsdl_update.py +@@ -39,7 +39,7 @@ class Wsdl(WsdlBase): + # категория метода + 'category': __('Update'), + # заголовок метода +- 'title': __("Update System"), ++ 'title': __("Update the System"), + # иконка для графической консоли + 'image': 'software-properties,preferences-desktop', + # метод присутствует в графической консоли +@@ -60,7 +60,7 @@ class Wsdl(WsdlBase): + 'setvars': {'cl_action!': 'sync'}, + # описание груп (список лямбда функций) + 'groups': [ +- lambda group: group(_("Update system"), ++ lambda group: group(_("Update the system"), + normal=(), + expert=( + 'cl_rebuild_world_set', 'cl_update_rev_set', diff --git a/sys-apps/calculate-utilities/Manifest b/sys-apps/calculate-utilities/Manifest index 2e7513f..d199990 100644 --- a/sys-apps/calculate-utilities/Manifest +++ b/sys-apps/calculate-utilities/Manifest @@ -1,5 +1,6 @@ EBUILD calculate-utilities-3.2.0_alpha10-r1.ebuild 842 SHA256 44749a0235d8542111cc94a2fcab68c0a3f9f8525ed386562ae3f16a05c74748 SHA512 257062e73d4656c78182c46c333cd13abae9e8bb4e4b2706557a9e9090ce221ef571d3b4f82515354b70efb68b588b33d1c9981c12d181514436b1a95ced715c WHIRLPOOL 248419a891dfb6a57a54b598685c03c0ce3940deb76336b85e188dec884dfda850530598f2bc7b91516a413790ec09f673c89aec6eebf84e027a5fd959f2b1d4 EBUILD calculate-utilities-3.2.0_alpha10-r2.ebuild 842 SHA256 62a6fa86d44b51242d08753510c382076378aeaaba1b927f322d06fa0b17bca0 SHA512 5a39b25013adfe53d1d50efa87354308b384e956aff0a3a2b7072345df7b9c67d2642666a9dae2ccd77406870161ff88c150cf07eedacd9a6b541631d11de940 WHIRLPOOL 66ecd6e470ad72a7643227deba42125baa8ee72bfa67c7e4fbed71b6095c10a51ea601045f66f8612404cef60cdeb77372eb63a6a0cf932cfab759fd5d09cd6e +EBUILD calculate-utilities-3.2.0_alpha10-r3.ebuild 842 SHA256 5e86b76bac016fb80d9e8ea2f87f2e3281b15e66f30db317dc0f4c13194df150 SHA512 37c86dd04ef452ac88ea65fb0c978a7ce71461d20bcd90d6f492f0a063f2535510f6f33cd3d7331961b6857b699b24e15264356ec38e2c6192fdd993d8328d66 WHIRLPOOL bd3ecf0452354e0e2bf27d3d169885ab2940d7a196a85551d71c2f9607e19177e7cc867324fed824c4ac0c7fb534fbf3a4d90a361de86162e2b82ee676f17d97 EBUILD calculate-utilities-3.2.0_alpha10.ebuild 821 SHA256 84c2e5778fcc8d03c0e518ba8959b51da31d6214323a37ebce50be1a88ac1fb0 SHA512 df256adf9ad7aa728d9404171857686e4ced31a08bcd9a8c08c5da87e366da47bd7b656b189d321b0bbc490245a3bd64eac0dce69248748e2da2902ef44a3d54 WHIRLPOOL 853ab051ebb8619b013f224ee12d6d8fd225a6534a1abb92321fb40212d40269d2d713e504a4dfa3a2d8866dbfe480320ba24eb340b416a3a7b92afe938ad6ee EBUILD calculate-utilities-3.2.0_alpha6-r1.ebuild 827 SHA256 943e1949dec30c2f0ffd5a7cd065c8101ee6e999acc09d2ebd256f67b44b13bb SHA512 a9fede957dd87532feac22f631935b2ee6933541e8b589abe892ec45960a09063b9b0009298fccb346ab74dbfd6d5889d13f9fbfe4a42b56ec086e7140d12bad WHIRLPOOL c75eea5fc5d82a42615346dbc72664dfec75dbf87ab61b2ff3cb2bbf15ae78634befa815aed95f09ae00e268b618e966815a87e309128777b3455ac08e793e0c EBUILD calculate-utilities-3.2.0_alpha6.ebuild 812 SHA256 21f5c205fbb62622da8c262be1be8f3e5d7da7b64e3c93c7b33ca04693452490 SHA512 025b503372989e498fc6b50609d3ebbf13f3376b8e66c5123e3dcebeb0722ff586212c08cf085ee9bd02e215c7ac03d9876b00f73ff1f636a14a1f5d146c3869 WHIRLPOOL 259a86930a618b530515322cf73a4cb0ab8f16a44f8531ae478f30173e1f376272afbdd3b80c6e195e65cbdf10ec19544eae990e262726a51097f01650b5d1cb diff --git a/sys-apps/calculate-utilities/calculate-utilities-3.2.0_alpha10-r3.ebuild b/sys-apps/calculate-utilities/calculate-utilities-3.2.0_alpha10-r3.ebuild new file mode 100644 index 0000000..26c99a1 --- /dev/null +++ b/sys-apps/calculate-utilities/calculate-utilities-3.2.0_alpha10-r3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +DESCRIPTION="Calculate Utilities meta package" +HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2" +SRC_URI="" + +LICENSE="Apache-2.0" +SLOT="3" +KEYWORDS="amd64 x86" +IUSE="cl_consolegui cl_client cl_desktop cl_console" + +RDEPEND="${RDEPEND} + =sys-apps/calculate-install-3.2.0_alpha10-r1 + =sys-apps/calculate-i18n-3.2.0_alpha10-r2 + =sys-apps/calculate-lib-3.2.0_alpha10-r1 + =sys-apps/calculate-core-3.2.0_alpha10-r2 + =sys-apps/calculate-update-3.2.0_alpha10-r3 + cl_client? ( =sys-apps/calculate-client-3.2.0_alpha10-r1 ) + cl_desktop? ( =sys-apps/calculate-desktop-3.2.0_alpha10 ) + cl_consolegui? ( =sys-apps/calculate-console-gui-3.2.0_alpha10 ) + cl_console? ( =sys-apps/calculate-console-3.2.0_alpha10-r1 ) +"