Fix lib for using update files

atratsevskiy
parent 8b47d310f7
commit 7754164d3e

@ -2,6 +2,7 @@ AUX calculate-lib-2.1.11-fix_getip.patch 6335 SHA256 b54e6353b18a312e42e3f3d17b1
AUX calculate-lib-2.1.11-fix_iniparser.patch 1017 SHA256 416829aeb0cbe6bc789aa7c070dbee02668f87a33ec2c2d9b552f2710adfe1ad SHA512 38e1885db64da235507494eedea533a3f8a148c5cd5e12a066578f32ea5999b2113d32788352ff3f509b86d2c75485faccebc768dbe33f2a7cce41b498754259 WHIRLPOOL 8911e2d2cead580363c0b3579eb7d520c99f48a58fbb5fd291ecfad1c55799d56d13ba99896e8d345fa4f37e48695f20553b2700ba4cb22ae60d670f4bcc6d88
AUX calculate-lib-2.1.11-fix_xpath.patch 329 SHA256 9e5674cd5fccea9c2242eb2ffaa829a1446a5bd16c6ba877760175960b0971cb SHA512 4ebd5806c0b57bb636ee8f958ecd13a18d5c660b5657fa0ae1c84707999ef453afa082e9f08fa0e95ab13a1be2952f4d996a15579ee125852205619497b06d51 WHIRLPOOL 8b0aaea3595c5830c5cabd5fbfaaed85cf6da73f1e3988e15dd6a175e1f59f87364d74f8273da5e0385de10f9f3a9e50588509a52ed45a17a5b2756a9eb963b9
AUX calculate-lib-2.2.30-fix_squash.patch 740 SHA256 227414840d4f94dc48879071264329fe153f5b21725582c0863b41cde0b8cdcc SHA512 0a115492fa10635095198c198e04e01c7b7a6fd5dd25f1408ce8670215871e0ea7ba15956eed37d96bec405a1b4cddb0672aee32e4d9987f79fe5efbc350dc67 WHIRLPOOL 4e72aa0fd6dd2e0f44e6557d3c99c23be4ee6af24128061ca407cedfc84b192a15448f0537a828974a25b9977f9585e4eba966c6a5335e6252c8b454e5528fca
AUX calculate-lib-3.1.1-r1.patch 711 SHA256 6f48882f336a921c89ed483ea35617e4da2b4ee49d457b872c1bda995765acf9 SHA512 732f4205cffb33722a54f30bf0194e95ebd630cb10cc8cb2ce892df286673641972876807f7c444bfbc33d7724f41c9e43b8387198e2ce650a9bc07b27bd930e WHIRLPOOL 5613755e25e082a81bf80c909eea6dd7cb58edd180e76dd041ef76e84967be842b172fba47c02d79a50d9bcee97c3533222d7ee082c91b83124c90f7b9486934
DIST calculate-lib-2.1.11.tar.bz2 61687 SHA256 62976c08d4fb4810389ace6f5a99abb5a962f6c8d9053ff943d0669480fb5599 SHA512 e3bc2168a55367cf19ad3a27921b53e5e845643238bf171209ab29752c91b5d4d338a2120774764ac1c79abd93f2deff8680f8faa1407940984ea9fd6a199e67 WHIRLPOOL 0ced92ea493dd8db02b0ae1514ebbb51ee76dc6f441b4a38c984c39da2121fb81dd1f2e840c4c5b71a117a12817a2a269d85676288202aa9801f69727e3338dc
DIST calculate-lib-2.2.30.tar.bz2 120055 SHA256 a5aa07e5c5e02d27a8b9fad8c0e4bd0562d40d7a2753c2b57a18d99bd0dd6cb2 SHA512 7e8920f5fd855f05aba6576d5e4751ecf71a3e4107b46671d9a4be8557e1dd616adefad728b6a9ca87656dca6fd17d52bce41462b7fc906d20118e97607f1b1b WHIRLPOOL 0e8441484ee7d91c9926ab2deed8357272fecb2156e5dad45f865f6b13aff6c43868323dececc859ce7824bedd8794cec25b857be30afa83c44a81bcbcf510d2
DIST calculate-lib-3.1.1.tar.bz2 117150 SHA256 649fae3448e0b84300a95e8cdf5dcd5c78aed37c5bcffa65bc763effeb1ced35 SHA512 6f905658d48f3a57716d0814459ce96b7e039be0df8e01bca44c007923984c29ecf3edc5517f2e99d20a9ea462c1d1638b378217919be2fdfd4f9daaebb15e14 WHIRLPOOL 89d2e90b438a1f4f8b0efee41729172e53f39b7b6cbabb4eff4eab89dad23b9188aa7d9fea1392eedf76b4c9ccf4796219ea48d7556b788aecd70091fb84a592
@ -11,6 +12,7 @@ EBUILD calculate-lib-2.1.9999.ebuild 555 SHA256 99ff8819b9aa2b46bab952f03b7c5bd8
EBUILD calculate-lib-2.2.30-r1.ebuild 899 SHA256 17f6439183b849497a3034c719b97a25a4bdd557d34f2053db3b0a2c2b0d8119 SHA512 245c5372f9e266364ce838ec12373faef6903e351a65e5b787de3a264ae1d35fa8a36a8c63c94ccb9dcefd1902051f54159aa5920666048e06a59015aea744f8 WHIRLPOOL a368b1cdcadfeaec1f87c5423627dd2e7933ea3904d3f3133310207ce49867276a034b8991ac9484bc716a8aec9c8cd7b4901b2b033a60128f7b21e60765f5ba
EBUILD calculate-lib-2.2.30.ebuild 770 SHA256 889273e755e58ef53871f85e3bcc7df2ef472953db98d757e5d92534273bf11a SHA512 9cd46d5c8a784304c8297460eb48406ee5712e2d11118e9d283895ed0996d897f1b5b32eb7907eba3347a43c6eaf5fae1c50cd98c146f6c6edec06cd31b7861d WHIRLPOOL ee1c5e7d3e8546599f08cd834a316a62e3d9e5eef2209da24dd44676fdcaac9eb02d83be37db5d8275f5dbd7f464f40ba91790b2d6c85ae34a659369eb7162ff
EBUILD calculate-lib-2.2.9999.ebuild 730 SHA256 ce7f2300859687d4f6c50948438bee8a8cb407fd7de56c5c48e0aba846ee6774 SHA512 789179018d82ef7c9a5428de20f529e6071380174d1e417c3a4463859d4b9ceca2a2d4ae078dbe309b976541cfba81a30348a77b6b37089b9597b862d4a45fd8 WHIRLPOOL 380084a24bf396c79fd198e1ad51d2457dcbcc5d3b59420f3794d067949cf7951766a880639bd54399f371ed0961163a03f8ea8a5e2483e512243d57408251be
EBUILD calculate-lib-3.1.1-r1.ebuild 823 SHA256 bf68f0425e9bdc49cde3ab9aa2b5c00519204167e7527dc596e1beb6a941c986 SHA512 a457cf63f361f3f8fb0362264f6f5517ae90857b3f93fd475b3ac5404170cf9c02f09bda56c2f38ae5975154f8b278f9ed161c2b0a2aecdd846f1a061ff3c4db WHIRLPOOL 8987f93cac00184dd028600d27a9698fbcf75c67ec3085f281e3dbe7030d7fbd42a17d8245f55873b023eca1b3aba25921ec1b3b40bfd8e792da2d54363f33db
EBUILD calculate-lib-3.1.1.ebuild 690 SHA256 3bd21cbec14f6815642f44234e640f488155f8ad59dbbb22b55a3537dcc1d7ec SHA512 f27f79c7410dd0295bda295080d511b299dd6fd4ebe2058b26e6d6f0dcd029e118dd79849bd3da0260a56cd4b91d4ef649027c158d85d976fc440a9cae0dc12e WHIRLPOOL db749b32ef5a72ed4c9d3476d494f28d3ceb10a215567cf46e23e49063bee9b8e1a2512a25d5006198f8e88fb106ce7da421565dfe6f5f4320f34db033c78513
EBUILD calculate-lib-3.1.1_beta3.ebuild 690 SHA256 3bd21cbec14f6815642f44234e640f488155f8ad59dbbb22b55a3537dcc1d7ec SHA512 f27f79c7410dd0295bda295080d511b299dd6fd4ebe2058b26e6d6f0dcd029e118dd79849bd3da0260a56cd4b91d4ef649027c158d85d976fc440a9cae0dc12e WHIRLPOOL db749b32ef5a72ed4c9d3476d494f28d3ceb10a215567cf46e23e49063bee9b8e1a2512a25d5006198f8e88fb106ce7da421565dfe6f5f4320f34db033c78513
EBUILD calculate-lib-3.1.9999.ebuild 708 SHA256 a1d64b7f014831bf6b0a38928d53cb55758b7a12e5f3e98fffd28025ffacbce1 SHA512 3873859a791941d421e2338b437521955da383ce986408f1a951305e2dd75a1a4f771c9ec2caa096c5c8ea6a1776d6d0ed99e025ffa786ba029cafdbadfa439b WHIRLPOOL 5ac1a10b53f810ab527a0ebe52bc87e8397e61375cf6e0acbed89d8f6b8385e72bf234e0fdce479c3a3f1652bb6e520710ce9356750a97d644c0db0a33f6facb

@ -0,0 +1,35 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2:2.7"
RESTRICT_PYTHON_ABIS="2.4 2.5 2.6 3.*"
inherit distutils eutils
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate3/${PN}/${P}.tar.bz2"
DESCRIPTION="The library for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="x86 amd64"
IUSE="minimal"
DEPEND="!minimal? ( dev-python/py-smbpasswd )
>=dev-python/pyxml-0.8
sys-apps/iproute2
sys-apps/pciutils
sys-fs/lvm2
sys-fs/mdadm
dev-python/pyinotify
sys-apps/file[python]"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-lib-3.1.1-r1.patch"
}

@ -0,0 +1,13 @@
diff --git calculate/lib/cl_template.py calculate/lib/cl_template.py
index 311d109..e993eb1 100644
--- calculate/lib/cl_template.py
+++ calculate/lib/cl_template.py
@@ -3326,7 +3326,7 @@ class templateFunction(_error, _warning, _shareTemplate, _shareTermsFunction):
filter(lambda x:x.startswith('move '),
readLinesFile(os.path.join('/usr/portage/profiles/updates',
updateFiles[0]))))
- if package in self.cachePortdir:
+ if package in self.cachePortdir["portage/update"]:
self.printWARNING(_("Package {frompkg} was renamed").format(frompkg=package))
return True
return False

@ -7,6 +7,7 @@ EBUILD calculate-utilities-2.2.30-r17.ebuild 677 SHA256 11fbf5611fd3ffc04775b8f7
EBUILD calculate-utilities-2.2.9999.ebuild 842 SHA256 56d97b7d2ce11d23b25d9036b4e2ee196b547ce1d11b0cc349a8205515b66bf1 SHA512 fc7802b92ade52210fa7381b55c48638da6d9adee6d2f03f18d6bdd0050756089b3ca8de944f4e865517554523b40737abe9f22587ecae74079eec563f80868b WHIRLPOOL f1382f0629a8dae37aaecf40cb8cbc3682bde3b43e92c9c6a84cda75897dc5d5de043233fb7a3f929749520b05fe3af94187c7a3ccdae4e252e83699d871f225
EBUILD calculate-utilities-3.1.1-r1.ebuild 755 SHA256 f58d2202899da058cbf4c30575237855164c66727f08c974c30e1f8ee3ff13d9 SHA512 4dd1636f144f5f2a7e16ad263c5476fc20ceba4153d6acfb34172a0193892191b2a6f4a878ca6b2a4f04862e47899298927efe05f03f4317676cee4fdd7290ea WHIRLPOOL d4e9578d370f482d632732384e8acb24f3970b61bb1584600d90541f970786e930464d64c8fec33c38c2d09e5a68f35aa8e576ea7b36fe4df78ad963de7fefb2
EBUILD calculate-utilities-3.1.1-r2.ebuild 758 SHA256 1f8ad1e134ac71948505ad81a54e8d746761a97f280093c0b1d60880385296f4 SHA512 a3a25cd549d2a37c5c6b7766b19ee540c1f330789a44014979492789d7ee2586aa7374b16bef7239702c6b4a61bd7377832c9e4c02fa2f467c318df3806b399f WHIRLPOOL e8214f526c4b91ddd3e0550344dec802ac1917bf1aa68717d08e5506a51d5d6abbb08ca59a68eca145e9119e72deb263099ed8480f81490029acabcaa764797c
EBUILD calculate-utilities-3.1.1-r3.ebuild 761 SHA256 70e0fb66ae382253295eeb211bd9ead7cd0e9cb0308362f6d2eacf6e2d382c0f SHA512 2ac5b5accbd60460defc2d51c035834842c9088829e1876fa60c854f718406f41f20cd6351990d396328e7d56caa66b0751c597b357948a4db4ab6bc56f0ffec WHIRLPOOL ac28164c7b3811c9dc03418d11cb0f79c6fa71bf969f93d06f7dbf2435cf898f3f16da80032bc112785e0e7e71fa6ac8f8a1bb7e6731f4561603d7b5590b619d
EBUILD calculate-utilities-3.1.1.ebuild 749 SHA256 df6b6d875b18d091ddce2afcd0af74efc1a5c05ea0b80e3f312329cbe1656de4 SHA512 d57113ea24cbf233b7aeeb543103003c83573f4412fe35a19a9f2fdca4a244b0ce180c3f0c7bc6f17aef04239dee71222250f27ea8ef2810ace18ea7099ef590 WHIRLPOOL ec34fa0a52cdfd9eedf0c10bd8932f85328aa7000b1f78d185b81825e248f5affcac5e45886ef218565dff4c16a71b3b802d83ffa675039b96173cf24e1a9510
EBUILD calculate-utilities-3.1.1_beta3-r2.ebuild 812 SHA256 be02d0600b91b4cf83e4f4c2807197c51cd3829b4aeebdc1972aed946cc7063d SHA512 8e09bad010ec1e9a327b2100c925214038dd58287efd859562a29ed6a9d7a71c70a585acb9796f0b663e972dfdfc49c66d6198959d9170477f99f8fc99901231 WHIRLPOOL cea0d6e1415e36d8a4f8793700e22da96bb4465d7e7e15cee40bf3941368c034e8b0ef7f7f90967807059a256100eb681ce87c4b25d1e796fab53bbc3592f2e3
EBUILD calculate-utilities-3.1.9999.ebuild 800 SHA256 9de4807341cb552ef8d4f702e9c4a0ca10c52c9d532cc2eb741cea29b92f09b5 SHA512 b35ed4d49c4943a5ad375e646bece419271900c50301153408b30dede0fe834e098baaa42a21c130730c0bc32ba09decc588277da6782d2010c18c9d8df679ae WHIRLPOOL 78e2c5ee8ef8356c4fc0275f920177778925278cad78585ed37c08048241f775030e59a0ced0696fba6379741fe865dc339d190c46b5f2173097328a73c64a24

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