Permalink
Browse files

Update 2gis-data to 2011-09; prevent bash treating 09 as octal.

  • Loading branch information...
1 parent cbadaec commit 15f68120330aaaaf739ab484d008d5467be3ad07 divan committed Sep 4, 2011
@@ -0,0 +1,85 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils versionator
+
+DESCRIPTION="Proprietary freeware multimedia map of several Russian and Ukrainian towns (data)"
+HOMEPAGE="http://2gis.ru"
+
+LICENSE="2Gis-ru"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+DEPEND="app-arch/unzip"
+RDEPEND=">=app-misc/2gis-3.0.7.1"
+
+# filled in in `my_add_town`
+IUSE=""
+SRC_URI=""
+
+MY_PV_YEAR=$(get_version_component_range 1)
+MY_PV_MON=$(get_version_component_range 2)
+MY_PV_MON=${MY_PV_MON#0}
+
+my_add_town() {
+ local useflag=$1
+ local town=$2
+ local year=$3
+ local mon=$4
+ local rev=$(( 12*${MY_PV_YEAR} + ${MY_PV_MON} - 12*${year} - ${mon} ))
+ SRC_URI="${SRC_URI} ${useflag}? ( http://download.2gis.ru/arhives/2GISData_${town}-${rev}.orig.zip )"
+ IUSE="${IUSE} ${useflag}"
+}
+
+# 20yy mm is the date of revision _0_.
+my_add_town astr Astrakhan 2005 11
+my_add_town barn Barnaul 2005 2
+my_add_town biysk Biysk 2008 10
+my_add_town chel Chelyabinsk 2007 8
+my_add_town ekb Ekaterinburg 2005 12
+my_add_town galt Gornoaltaysk 2010 4
+my_add_town irk Irkutsk 2006 4
+my_add_town kaz Kazan 2008 11
+my_add_town kdar Krasnodar 2010 1
+my_add_town kem Kemerovo 2005 4
+my_add_town khb Khabarovsk 2010 11
+my_add_town kost Kostroma 2010 10
+my_add_town kras Krasnoyarsk 2005 8
+my_add_town kur Kurgan 2006 3
+my_add_town magn Magnitogorsk 2010 4
+my_add_town nchl Nabchelny 2010 6
+my_add_town nkuz Novokuznetsk 2005 8
+my_add_town nnov N_Novgorod 2008 9
+my_add_town nsk Novosibirsk 1998 9
+my_add_town nvar Nizhnevartovsk 2006 5
+my_add_town odes Odessa 2007 2
+my_add_town omsk Omsk 2004 8
+my_add_town perm Perm 2007 12
+my_add_town rost Rostov 2010 3
+my_add_town sam Samara 2008 7
+my_add_town sochi Sochi 2010 7
+my_add_town spb Spb 2011 2
+my_add_town tim Tyumen 2006 11
+my_add_town tom Tomsk 2004 12
+my_add_town tula Tula 2010 11
+my_add_town vlad Vladivostok 2010 3
+my_add_town volg Volgograd 2010 9
+my_add_town vrnz Voronezh 2010 7
+my_add_town ufa Ufa 2008 3
+my_add_town yar Yaroslavl 2010 6
+
+pkg_setup() {
+ check_license "${FILESDIR%/files}"/../../licenses/${LICENSE}
+}
+
+src_install() {
+ insinto /opt/2gis
+ # Only attempt to install any data if the user has enabled at least
+ # one useflag.
+ if [ -d 2gis/3.0 ]; then
+ # Only required data files were unpacked, so it should be safe
+ # to use wildcard.
+ doins -r 2gis/3.0/* || die
+ fi
+}
@@ -1,38 +1,74 @@
DIST 2GISData_Astrakhan-64.orig.zip 22617652 RMD160 25fc9ede725e7f947ad2e09c8aa94a63635ba001 SHA1 d1005789b593695d68da4da938daf5173806b178 SHA256 9156eca49f05cdb682ef6770939a8d5c9a4f458e07015cf7d8df768cb113545d
+DIST 2GISData_Astrakhan-70.orig.zip 30913802 RMD160 37e61960e2e328865545494b25a61c8b9b0d082c SHA1 252d25ac868da654a2b1c12353f5146dd63c3a2f SHA256 2118322e682c18c9d4af223f27086ca3a83eb9edae3e9c141ca4ce2271a89b52
DIST 2GISData_Barnaul-73.orig.zip 29643246 RMD160 49562451d9d1759b3323a72b14dbbc63c19c8f23 SHA1 ca4e67e86d84d07aaf8f9b0ca690c588a0040952 SHA256 b2d0c7996e17cf978c8911b0837b88fa36415e9e874e2e74a96832b8d707b303
+DIST 2GISData_Barnaul-79.orig.zip 32165442 RMD160 ea6443e094d565650b0833ce822976fae8a7ab63 SHA1 53a926387dc1e2f4ce03f9bdf1cfce353ed6570d SHA256 1f6f42ca60c90aab4bf6e26b019a1c7bcb294dd126e6c6a21e659cdb93f88a7d
DIST 2GISData_Biysk-29.orig.zip 12678049 RMD160 ad486899d2a1e930dec0453e6f516e510f87a18f SHA1 c9a6bb3665e89a9f73a4be73014413ba63e3342d SHA256 1bae593d8e0be92882ff28d4bedfa1c99661bb144c9932c225324859021142c1
+DIST 2GISData_Biysk-35.orig.zip 15930525 RMD160 5edb0208bf1a4d8cb6a23152b281cfe7f1e49b2f SHA1 a60f7f04944d68d6eebf92f2297e4ae1ba607bd6 SHA256 9cb039eee8a60be57746ebeb205e1b44c6f0ba641742b7afb65c40f11f5eb21f
DIST 2GISData_Chelyabinsk-43.orig.zip 23602476 RMD160 b04a863d924c15c7fcb3378333f52bcaecc98948 SHA1 bcff1e053cfdd1fdd9695f0cac453064c902b67f SHA256 1f150bc526e7861e4d97323093a4c6c5433c20b972f903a9cbd77a90cdacc5d1
+DIST 2GISData_Chelyabinsk-49.orig.zip 27166224 RMD160 fb7dd0f29ed26d00c4c5718d1e6f2b08d884c38c SHA1 a96dc060395afc1f79d290627dcef7b55709b281 SHA256 6963812e825ec240d78f56c14476fc82eb3d638dbbd5f9e49de3cc49d8fe7a59
DIST 2GISData_Ekaterinburg-63.orig.zip 31539570 RMD160 eb87bb7d7ce019b81e45e3ff3420b3b262e6b423 SHA1 1d0ff4b789dad1c86334ace5189b6686699fa5db SHA256 23ec2c8b6ca1a86e1a2545ca4ba10fe79f0bb572e95df731bb36b008879c4d86
+DIST 2GISData_Ekaterinburg-69.orig.zip 33287114 RMD160 60d48fe4095f4b9d356f5b02e63e94e658b44506 SHA1 af71a1b1a69e0cee27f5eb7ec7efce8b7aa08d4d SHA256 bfb2519ec22a59f580f1f3e4315de0a139a0068d6f570fd1c8b95621d4768b8e
DIST 2GISData_Gornoaltaysk-11.orig.zip 7452068 RMD160 71cf5c4f2a00b929b9c0a598eea9e33489b36a92 SHA1 ea58f81ea4237b7476f574991e5eef0b1f5d3856 SHA256 146fa55569be9883dffa6b39c0cb91ff324965baa9afd4cf861906d180ecd888
+DIST 2GISData_Gornoaltaysk-17.orig.zip 12356217 RMD160 73619809c140e77c52e727f7f270bae2c4bcab67 SHA1 25ff2bbad8607756a637bc87e01d75533c3ccf5e SHA256 bc345caed691f0c92558d82ca2fae3557c613cc218955d452a28031c213b388f
DIST 2GISData_Irkutsk-59.orig.zip 31594451 RMD160 4d622c09e57c0ea4a921f8f2bbb71db9a618435a SHA1 18c9d60e12ca3593f0a889b9eb4753f459cc7253 SHA256 b949eef6687f9def9ab49fc3bc705bfc4c3594b1553bab1ce6c11f36bfc0152b
+DIST 2GISData_Irkutsk-65.orig.zip 36405360 RMD160 c3b9eeb51e6f24c7abc4d3e6e76a5a81ba3c5a45 SHA1 bea587704ca25d13036fc73f4dd6f42bbed451da SHA256 170250efae275d2c824ebf076055efc92a2e651a6239022aebfc542275d6e290
DIST 2GISData_Kazan-28.orig.zip 20794494 RMD160 f7ceaa47030a653f3106e0eabe2f306f4f71a07b SHA1 14b512b2bd0340f55ec373aa760d2390c5c87f37 SHA256 9c16677174806ce5d0dd31da06efc9efaaba87188abddb7f5a07a4d96a5756d0
+DIST 2GISData_Kazan-34.orig.zip 25369995 RMD160 4cd8c0b3ae4e7c3a0013c5464be65e3eb9bd8e67 SHA1 e1cef7b68fe6eb31dd194c9c634d6f519e9df83b SHA256 2ba3be1def3fac2671e0e1ed061e59a85c72235454c2216f0f25787a8a1f50d7
DIST 2GISData_Kemerovo-71.orig.zip 21961414 RMD160 5d7a10d6e1f006111bd62d16b9879a6ef23d178a SHA1 472021d04a03082636b9121a6ff99f60c215d821 SHA256 73ede589c678edf3179a47f3569ee75779d0ad6b01f016f96e5e2f49377c3247
+DIST 2GISData_Kemerovo-77.orig.zip 3004380 RMD160 d17f6cde991f9dc892b2be4199825cd08178745a SHA1 0dd270184ed23138af421edc3376761e9e15f088 SHA256 8f95bbe57beb052606f8d0549051fbdfe473d41343533647d3cd102a3757cd2c
+DIST 2GISData_Khabarovsk-10.orig.zip 14935245 RMD160 33343d516820d7cf29cf5ca462712712c9e239aa SHA1 26766793d1a81f774d02d6683fd6427c23ba1a45 SHA256 b05e379b6ab01e92ff791b48f606ce61ea8bc642b93cf3653490fdefd252da36
DIST 2GISData_Khabarovsk-4.orig.zip 9916515 RMD160 63b93bab703e964c2650e40c4ac32fd93798875a SHA1 1cc563e3ac960c87f6f8100d559c5a265463eabe SHA256 5b2677b0da4afbcaec98024abb06f53b0664d9bc30d634983b8e3b414fa40892
+DIST 2GISData_Kostroma-11.orig.zip 19657307 RMD160 bf1df129c323c3b37a8865430d78590e6e475152 SHA1 aa1fbf526b477c5803cbbc7f9b598b33a45e4a82 SHA256 1b74342961f3df9036813fd40533f43161007920b6dd0c833e46baa78221c15b
DIST 2GISData_Kostroma-5.orig.zip 13326682 RMD160 753d41958505be01938278726b5418f9944354c2 SHA1 8f30ecd2a833be7d02eb8692ff50f64a95563e4d SHA256 401992f8cf0df705d7c279a058caa180ece2dd5ba43c1f49ba36b315a289f7db
DIST 2GISData_Krasnodar-14.orig.zip 14934118 RMD160 b740ff78742236059cae588cce75275754be16d2 SHA1 aed41b28e2b7f89cb13bfb1531a93e7bb518d9db SHA256 9b5f6a8f103e9ad4b14b4f488b555c72e50d289264fe2bb26355a561a3b49c5e
+DIST 2GISData_Krasnodar-20.orig.zip 23305394 RMD160 2cc065d7ad434a2b3d65e1dc27a5aec45ee60f47 SHA1 3188db2d9e51d61aed18ce858361892f62f53336 SHA256 62b50619b6729e842cefb36bb75c013b8ce135425bf7d41d78dd93b2de802735
DIST 2GISData_Krasnoyarsk-67.orig.zip 28694984 RMD160 d508802d6f4a35de9922bc4573beb1d09ead753a SHA1 9a521e70d75a46285b33236961d0f7d4e25ecdfb SHA256 5c774bd014495d38dab92b3ea1035f224fc8c626c7b28ec32ed7a7732bf832bc
+DIST 2GISData_Krasnoyarsk-73.orig.zip 36473411 RMD160 a0c7e2d475fd9df9a769bf6c15df3a8783aa639c SHA1 0478ac851d81068552eff1d5a7ee80056b03fa5e SHA256 1f90282151bbca416ac2e32abf29bf7a4fa88d75f016b7261c38d9b3184e5855
DIST 2GISData_Kurgan-60.orig.zip 16138526 RMD160 6d8615604e4b4dbbbcf83d33bec8280261508389 SHA1 26f318c74b4fe2170e9cec23e0280f6bff48ab0f SHA256 3289067f147f6f8a49aded201ce26dcde4438223ffdf09afa15e8bc7482d4551
+DIST 2GISData_Kurgan-66.orig.zip 17996450 RMD160 75ee102d247f1f3d566300e71f85e1aa34037e73 SHA1 149eb736fc486a75c70ad9ea31505f2eb87ce103 SHA256 97f9cbef75d1ecd607b9e09d64308b16ca1bad4e3b31fb0d0e9341dfd884d9ef
DIST 2GISData_Magnitogorsk-11.orig.zip 16074468 RMD160 b5f5ff2de9905e398c9222589d778df86a2a0363 SHA1 29ffd7225b9975f344ac4b6e54d6ae6876c5a7b2 SHA256 ae7602ba88d240061843bf45d28f26199cb3d394b0a3c8d1ffc1dbdc9912d7b0
+DIST 2GISData_Magnitogorsk-17.orig.zip 22012047 RMD160 d2749eeff55bd6fa753849c449ddd1eb16e7aa60 SHA1 446095c6b9fc1907c0b4d04f6287f769e5766ac0 SHA256 5dbfdefaa87cd58f6c4cdce44294a042497e8e5dc1c34f295e1c8996df0d522f
DIST 2GISData_N_Novgorod-30.orig.zip 26667773 RMD160 efca26f4df695fa5e0725d9d9a721cc8faa6fbc1 SHA1 1bc7797e5dbc546c577aeea956fbedd4eccba3a4 SHA256 fca49279a8a7656bd423ce9392ee4116b31dbbf0b33a7bd8608fc32dbc10a82d
+DIST 2GISData_N_Novgorod-36.orig.zip 28460689 RMD160 25c0d9ee2ea25bd0986b98bf6947971df340e97b SHA1 b7bd6a9befeb46dad483f96fc0869afcb2c9ad0c SHA256 67e7b5a48a55348cab76151525832cea3cff94e30761b8841f7d9cf87f80eec6
+DIST 2GISData_Nabchelny-15.orig.zip 25081396 RMD160 19d870654d6780bbbcbdeae60083c35f05eba42b SHA1 398ce74cd4f3d28345d2ce94df58adc05da7ecca SHA256 0906ec3852c86fa6aaf08ad149750676f2db6ca5c40148f8098e65af13354fcd
DIST 2GISData_Nabchelny-9.orig.zip 16322258 RMD160 98e17b5f30778142b7e03325da1108a7404e636d SHA1 50ea0825a5ebc44bb02112c6950268852d86448a SHA256 2ee901f98853c9cbc3038677b5cee12222f961bfbd633e14fe096c0eafc7cbb7
DIST 2GISData_Nizhnevartovsk-58.orig.zip 25050973 RMD160 faf0bc13ae599d29371020d80017b56528f7b4dc SHA1 031b7161ebb4f49671e3e2aaba768788baf9ce1e SHA256 4cacf2dc127c1258436948d51927516853f46411e55d2e62f3408079f1fbcaa6
+DIST 2GISData_Nizhnevartovsk-64.orig.zip 17207486 RMD160 19dcc72e0838170d86154b7c4baf8c69077f6a02 SHA1 8cd69311023543865e60e316d12ddfd53fc89b71 SHA256 0fc39cc36bfdb1414e2dc76ce859ce8a841ce8655881d12e2b8d1e0024281e22
DIST 2GISData_Novokuznetsk-67.orig.zip 28588780 RMD160 97555710317137ffffb297e57a7e80f738bcadbe SHA1 a6f3f1f5dec6497c5a1e3ea0881f9f4a67be9cef SHA256 82b384aed5563e26098f87647732429e06e44f7d1d6c0f57286476755695e3f8
+DIST 2GISData_Novokuznetsk-73.orig.zip 34401026 RMD160 d22b6677fb323f68f98b6bea1a70ebe04e337730 SHA1 de87d8b38c16fd1a190edcff13fc5caf318d9ed1 SHA256 e65ad4ded6959743ff5a3e6e9ec98b48cc359d7a5772649d6280cdaf07361944
DIST 2GISData_Novosibirsk-150.orig.zip 43317919 RMD160 631d39570d3160684519b726d72d1652f18788f8 SHA1 eca2ea1302da7b58c926be8ea4588368f68e53fc SHA256 8ef056a727e5d18407f9aaf2d9d835bc2244750d5504ae58886386434bc21ac8
+DIST 2GISData_Novosibirsk-156.orig.zip 50066849 RMD160 3fa4fe52d51a835ad494072f6d0b5ca1cd116dcb SHA1 5382a894a93204efb4d8c7e10a7ad70a4bc96000 SHA256 35551f5733ac6863a21afe8388802a13a31d01fd86017026e035149a01b1474a
DIST 2GISData_Odessa-49.orig.zip 12109410 RMD160 450e164926f9b7a45ed3a554a8a62efa447b5cf5 SHA1 7beb5b26322e90acb64a87c4d0e5d68edd80e63c SHA256 3b9b4dd7ef16f5b9a0e600e9ed5eeaa5cd67e82b84d15b59edfcd088588444fa
+DIST 2GISData_Odessa-55.orig.zip 16496590 RMD160 363cde32c71084c7ec4be62a748437f3b500b19a SHA1 6a8cedfd2694bb2f9cec3e8ea6557898c7585eea SHA256 1476ed04ad5513974e08e9bd5c45a062f8cd2f58ce3a8f13d763be14f1daff69
DIST 2GISData_Omsk-79.orig.zip 31687583 RMD160 a9eb474c9ad3ecc2329b1b46d8106de1e9ea3762 SHA1 a39db75356d3e5028d385d287bc2443dff9757ea SHA256 1d79747adf88e528d09b4179be0a8e594d254dfc4fab23fe9b3dea9c4c26857e
+DIST 2GISData_Omsk-85.orig.zip 39523821 RMD160 dbed4207fbbc60e61e0bb0825185f74365acda0d SHA1 2e98649b48856a83521e34be5330d9c95ce024e7 SHA256 61145395ce21dfe60869ca5e31961be8db33ece0a46836b29d04b098c5b45549
DIST 2GISData_Perm-39.orig.zip 22819412 RMD160 36fda65d01570837df23be8c380d512c06b18a5f SHA1 c4b11665052b236447645c74215a0ba9f050d2f8 SHA256 7058fb80f7370674bccdd2b7b5cfad8c4b7b3ca82e3af0cbbf56da188c9bb840
+DIST 2GISData_Perm-45.orig.zip 28285623 RMD160 bd2ce864a80f57cdc9d4aa98cce8a8c66e42d55c SHA1 0a97606cf7ef7e90055f182cf8b123d0e54db4b3 SHA256 c77b87ce74ef02ff0aabbc0ac2aa6f936eb23441ef650718153d0499c984ff72
DIST 2GISData_Rostov-12.orig.zip 21088048 RMD160 cdf8960f18af0ffcc2c8b5d408de43fc35aa4528 SHA1 cac24f8ddb90d32b939686d1747aa98214f6a930 SHA256 0d4952bffba1602beba62dc499d54dd90e4d22fed5c79258aac72334bd9cb6bc
+DIST 2GISData_Rostov-18.orig.zip 20781181 RMD160 cb781a564cf8ded9edd850f4f9e761418ec1eb8a SHA1 0aa15afb475efedde61017954e5f1bb2a35239ee SHA256 14c7c21981abc06d23f4c3fe97e717860530c5e4872f4bb655bda399551f7676
DIST 2GISData_Samara-32.orig.zip 28850137 RMD160 a30fc16e13ef8a7a3ff1241d9690511a51f8ff1c SHA1 be1c45f7d4c099f0de00a2821675270b99af5e0b SHA256 3d1a15ccfe5f9a40c2193d745182abe0f2dd4d33df0f7230e9d1e32472227847
+DIST 2GISData_Samara-38.orig.zip 22948201 RMD160 9c5e5dd0c73c48874b30698dcac0bf15b070fffd SHA1 f52208863f8664f86d23160d500db40999c19c88 SHA256 6f80a3182526549c0f724f41d920cc3b71a87612dd7d513bc8cb26f1f020ad7e
+DIST 2GISData_Sochi-14.orig.zip 20503741 RMD160 93cc754b21481a508563d596def182a7a307edd9 SHA1 0bf51099935c087667934aa19cb696bf70dcf2b8 SHA256 b235139c38581d01ff6a9901fa97bc903b5827f300460b62be8de94d74b1792d
DIST 2GISData_Sochi-8.orig.zip 21470068 RMD160 05e049f5ee3a990104978e554b7199d28400d64c SHA1 48e94c3f2cbe6b5239020e029921952ebe379d39 SHA256 472b582a7c9c06991cc048b903bc1de457ebc4dde111815a35083958f2554d07
DIST 2GISData_Spb-1.orig.zip 26102761 RMD160 8d30545fa6578a3005411b8b344fea8b476653b6 SHA1 b55b70af29277d67dbdd6d615c24bc31b2aa3b70 SHA256 66bedaf94daf121c68974da13049df2679340835635a6ff4003391e3dcb8226b
+DIST 2GISData_Spb-7.orig.zip 41659893 RMD160 da7d73f03ab25abe6a3ace4a9c55ff02fa4f4b7a SHA1 b94c2f20135425f2918aadeb4ea01c37e2b18330 SHA256 415b2b4eeb7ffc50c4e4bec4ac4ea7e9e448049acf1f49c5f34881ebc4519184
DIST 2GISData_Tomsk-75.orig.zip 10784847 RMD160 f51826662b78995943eac66fbac8aea0ff1542f2 SHA1 6c369f7c04cb8af07dc32c9d5936ebb7c24a8282 SHA256 75ff730b7231d083f55fb92d138acd0cc7009fc1adae93aa6fdf66e7633ddfe3
+DIST 2GISData_Tomsk-81.orig.zip 15083599 RMD160 e9c2e0f605b755bf9aa308959234eadc1180925f SHA1 37100962b6fcdb50f62682a57a4009797b1655e1 SHA256 471604b88fc7d1293a8e830dbdf066af1e718b492fac91697ceec761c567436b
+DIST 2GISData_Tula-10.orig.zip 24992537 RMD160 796e2e75ee2a1439ab17a9a11cabf54f24d317d7 SHA1 32f250fb3fe60ca8169f65fab6d8789e3886f8f0 SHA256 4930e84b7d3c5f8da1180886e0b045e5675ef068c3110441102a5ef7bb259b50
DIST 2GISData_Tula-4.orig.zip 10740310 RMD160 46f4693a07075605ffb4db743620e44247202f43 SHA1 66e0a955cfe89f4f3a344f58d46769e6db355483 SHA256 e2c3aea120faa61595511cb6e59d4afedab5e9ed4ef4c8a35bc61a7a40c79c1e
DIST 2GISData_Tyumen-52.orig.zip 30253434 RMD160 76bb2e05135ffa2aa498f62b832b5218399e6cc7 SHA1 d14adbf91066d2ef6efa94ef08b2668b78dac283 SHA256 fa4e336b1da948e499f1a2473b68fbe55b7f1e9906aea16262eeaf49a91e7ee9
+DIST 2GISData_Tyumen-58.orig.zip 43858738 RMD160 692d8766faf015e427e5d3944f5bc9f936e8f553 SHA1 2fa35aab8a3c5986c158a81f406441a15d787705 SHA256 c39dfbfd85adcefe20e4420c26fa131c554d1bfd942b39de18a3a18a8a19d155
DIST 2GISData_Ufa-36.orig.zip 22246612 RMD160 81e50104a115f5b60dc9d23903c11d182c7db6a2 SHA1 704ab3c48c1e7d40db1001da9c8046cbb6e8e36c SHA256 b7e813d074ffc939f478670f7fae7d2739a429a6960d077dc71c1e66f8ff130e
+DIST 2GISData_Ufa-42.orig.zip 26719284 RMD160 9543c8c39b1f677eb473a75da0a8ccaa01e2191a SHA1 e58c79446737c5526af26dedd566f327d8bcbd99 SHA256 8ce561c8557aa6fcd770db7c30dea340a43fdcbfa70a3d2db9073bde56175f9e
DIST 2GISData_Vladivostok-12.orig.zip 16732414 RMD160 600ecc927f6de979884fa13533ddc1ecf70dd834 SHA1 eb7d4087974e3431ae8198580feada5bf6537480 SHA256 26065ee264c6b95ad179503103eceba52246bbdf26c60455e832a621dfa30bc0
+DIST 2GISData_Vladivostok-18.orig.zip 22668085 RMD160 ef0b5639d6e824775743489d19c92066a764a6fa SHA1 175bd1c845b0386a5afebbead8f5ca1f9000f205 SHA256 515de321f8d9059b67a1e70c10628f66adbda425926cb427a77ad5c2c5a1f467
+DIST 2GISData_Volgograd-12.orig.zip 22898909 RMD160 e3a4100ca891fe81e3963960285aaf0057c50fd0 SHA1 c7921ab2f8b54dca3f460ac9370eb1504a7baabc SHA256 05f71d0d3483d8d836927b1097dce8d2536d64df87a9d2859cae4f006650f5d6
DIST 2GISData_Volgograd-6.orig.zip 16180837 RMD160 76b241c19c5d2f0df80d5814dec8c76051682e51 SHA1 12204c3495ca421d2d1bb596ef981c545851c08e SHA256 44ab91337c313faecd8ba2151d482105fa1170847b84b7910fab5f6b1c20c54c
+DIST 2GISData_Voronezh-14.orig.zip 25937051 RMD160 8a531d9634688d0d4282292d5fd19ba2b6743fbe SHA1 4c4443ed5fb99a994b26306fcad869162000f36d SHA256 0d74e6f304a50f9a6ee511f2bab17a5105503c698a50e47ae4775b9028fd91bd
DIST 2GISData_Voronezh-8.orig.zip 20121567 RMD160 94be00a62e446fb2b681745c938386d4ea9c4759 SHA1 b4365e797e8dcc314e32b3beed18214ba00f9703 SHA256 f38fc86edc698fc28944f5088cd761fdfc72139253b075bbae5608ae61ef7875
+DIST 2GISData_Yaroslavl-15.orig.zip 17532029 RMD160 48b02a8be070c1dedc677ca4b5630a40dfdd1206 SHA1 4626a2fb1ea3809a6e089f368f254c087d816325 SHA256 8ad730c5a67d159a240d36890472709f3ded35b15129433164b70676e93bf639
DIST 2GISData_Yaroslavl-9.orig.zip 16808822 RMD160 1aa1cc2ac536c88662618135e3b5ccc14faece6e SHA1 99b823382c8c081a379f60f24291670b51cb0339 SHA256 3cd0229ccd0832fc6b3a741b040b8948da546b359ed30b3a063a4c6385d78d35
EBUILD 2gis-data-2011.03.ebuild 2339 RMD160 b0b6897a8443146ee8ce473436e3197f71a45161 SHA1 4c3a0b7bab1889f24e3b2910dd6b90e293bc0ad9 SHA256 f0b631b9d29c3f40281f15515209633bf700a3257e63f105a6a6adaf948a1493
+EBUILD 2gis-data-2011.09.ebuild 2364 RMD160 a8e33fb792b55441355d28915049bf438d86e6b9 SHA1 b52aa034e6e365f1eb3cd5557d94f512bbf1e765 SHA256 55834bc5a94a69ec0e027bede9c0343c65777932faa27df945c93a74998d28c3
MISC ChangeLog 3078 RMD160 aaeac8ab82942553bc0d3505d4253c2e88703472 SHA1 43e02a1cfc07b918740669a9230bc6a8d29f9e55 SHA256 1688b992c7a385b3b8e467969849ecc50afcd658d8f74daa09a71f081577479b
MISC metadata.xml 2910 RMD160 0453dfafe063fcffdbc406db32beb07adb5cebe1 SHA1 cbfcbaee8b7beec634662243158c127eee864e89 SHA256 293dd1c5ed6dcc65de1d815e26c13068845445733307a264e7988427b3bb81b8
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="Proprietary freeware multimedia map of several Russian and Ukrainian towns"
+HOMEPAGE="http://2gis.ru"
+SRC_URI="http://download.2gis.ru/arhives/2GISShell-${PV}.orig.zip"
+
+LICENSE="2Gis-ru"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="+data"
+
+DEPEND="app-arch/unzip"
+RDEPEND="app-emulation/wine
+ data? ( app-misc/2gis-data )"
+
+pkg_setup() {
+ check_license "${FILESDIR%/files}"/../../licenses/${LICENSE}
+}
+
+src_install() {
+ insinto /opt/${PN}
+ doins -r 2gis/3.0/* || die
+
+ make_wrapper 2gis "wine grym.exe -nomta" /opt/${PN}
+ make_desktop_entry 2gis 2Gis || die
+}
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="Proprietary freeware multimedia map of several Russian and Ukrainian towns"
+HOMEPAGE="http://2gis.ru"
+SRC_URI="http://download.2gis.ru/arhives/2GISShell-${PV}.orig.zip"
+
+LICENSE="2Gis-ru"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="+data"
+
+DEPEND="app-arch/unzip"
+RDEPEND="app-emulation/wine
+ data? ( app-misc/2gis-data )"
+
+pkg_setup() {
+ check_license "${FILESDIR%/files}"/../../licenses/${LICENSE}
+}
+
+src_install() {
+ insinto /opt/${PN}
+ doins -r 2gis/3.0/* || die
+
+ make_wrapper 2gis "wine grym.exe -nomta" /opt/${PN}
+ make_desktop_entry 2gis 2Gis || die
+}
Oops, something went wrong. Retry.

0 comments on commit 15f6812

Please sign in to comment.