diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-05-10 06:55:52 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-05-10 06:55:52 +0000 |
commit | d1e3682d676fd3aa8448d12f9474e4cdb49adbbb (patch) | |
tree | e191d1896c44df86480ab1370582ab47769ade0f /dev-lang/ruby | |
parent | Initial import. New test dependency for dev-ruby/http. (diff) | |
download | historical-d1e3682d676fd3aa8448d12f9474e4cdb49adbbb.tar.gz historical-d1e3682d676fd3aa8448d12f9474e4cdb49adbbb.tar.bz2 historical-d1e3682d676fd3aa8448d12f9474e4cdb49adbbb.zip |
Cleanup.
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-lang/ruby')
-rw-r--r-- | dev-lang/ruby/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/ruby/Manifest | 34 | ||||
-rw-r--r-- | dev-lang/ruby/ruby-2.0.0_p643.ebuild | 230 | ||||
-rw-r--r-- | dev-lang/ruby/ruby-2.1.5.ebuild | 231 | ||||
-rw-r--r-- | dev-lang/ruby/ruby-2.1.6.ebuild | 231 | ||||
-rw-r--r-- | dev-lang/ruby/ruby-2.2.0-r1.ebuild | 238 | ||||
-rw-r--r-- | dev-lang/ruby/ruby-2.2.1.ebuild | 238 | ||||
-rw-r--r-- | dev-lang/ruby/ruby-2.2.2.ebuild | 238 |
8 files changed, 10 insertions, 1437 deletions
diff --git a/dev-lang/ruby/ChangeLog b/dev-lang/ruby/ChangeLog index 1f2a6531641d..212dac954f98 100644 --- a/dev-lang/ruby/ChangeLog +++ b/dev-lang/ruby/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/ruby # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.714 2015/04/29 09:18:47 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.715 2015/05/10 06:55:51 graaff Exp $ + + 10 May 2015; Hans de Graaff <graaff@gentoo.org> -ruby-2.0.0_p643.ebuild, + -ruby-2.1.5.ebuild, -ruby-2.1.6.ebuild, -ruby-2.2.0-r1.ebuild, + -ruby-2.2.1.ebuild, -ruby-2.2.2.ebuild: + Cleanup. 29 Apr 2015; Agostino Sarubbo <ago@gentoo.org> ruby-1.9.3_p551-r1.ebuild, ruby-2.0.0_p645.ebuild: diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest index 51012d40c083..f0524696d117 100644 --- a/dev-lang/ruby/Manifest +++ b/dev-lang/ruby/Manifest @@ -3,54 +3,28 @@ Hash: SHA256 DIST ruby-1.9.3-p551.tar.bz2 10049332 SHA256 b0c5e37e3431d58613a160504b39542ec687d473de1d4da983dabcf3c5de771e SHA512 5ea40f8c40cf116030ffdedbe436c1fdbf9a50b7bb44bc890845c9c2a885c34da711bc1a9e9694788c2f4710f7e6e0adc4410aec1ab18a25a27168f25ac3d68c WHIRLPOOL a4de6b7300e1f1cb22b01b1fbe0a73928baf6e5b1d083e8eb239e7696703e13774fdcb52bbb7f4253ea75b597663c43a8fbea2df7b77ed95f3fd8b2512ff1f1e DIST ruby-2.0.0-p598.tar.xz 8316092 SHA256 9dccf4c30e1bb004b18cb1129d9daac3c0ec510a671f4f4f13a2747897ffab35 SHA512 bf7b93d9fbaab98a64d1f45c3f3bbcdfebd3e1d0584dfb27696b2716d93c2ba13881e1edaef6d3eccd769ac2e21d6157024c902f3d891951a20b972c1942ef99 WHIRLPOOL 1c60cb96a1c5d75d157b281182e5caf16f8479d52c8eb61748c63884d9dbf020f6e79ccabdc50b6f35bba1eb994c04ade5cdda550902dd6135c3838263445d12 -DIST ruby-2.0.0-p643.tar.xz 8318532 SHA256 73f6d939beda8865e12069689ddabd2658b3f637a9adebeee5e374388715c432 SHA512 edcff2154eec9c8a84d4c5eac8ffb370e273a5e949923009756cbc069a7ef52de5c91981bd726ae5043bc2784d8ff5080444bc29d0693abc08ff66a8783a7cbc WHIRLPOOL 973d53a1e357714776159016a792cb24d34b48194547e1f30124003df20221775fd385b16e09aac6a2cab3954c3a2416d65b0c1bc2c12e4f49609d653ea7fbe8 DIST ruby-2.0.0-p645.tar.xz 8295192 SHA256 875be4f57bdbb2d2be0d64bfd8fc5022f004d55261ead8fd0cdc2e9e415e9f7b SHA512 440f8ea50f51c53f90e42a8dfd7cd41f806b290d5c12c09f84d9159ab9c95e19b036cd8a5dc788844da501b9fcd1fa8ad8352ef7417998debc1b43a61a4ea4dc WHIRLPOOL 6201a39976f793dd3702ba580aafb881ba6e9f5cbc9d544bdddf508ca86dc14fc2970451a386ba495d16f2f68724197ef089ba02e7d1a9423870a0fa5c39cbc8 -DIST ruby-2.1.5.tar.xz 9371780 SHA256 22ba1eb8d475c9ed7e0541418d86044c1ea4c093ab79c300c38fc0f721afe9a3 SHA512 8a257da64158d49bc2810695baf4b5849ef83e3dde452bf1e4823e52e8261225427d729fce2fb4e9b53d6d17ca9c96d491f242535c2f963738b74f90944e2a0b WHIRLPOOL 7dab5db91e56ba95a221c456fbcebfb86aff038a084b7638f504e91e4c9b45a0ad7ee0296d6531281c33d75a31ee4f5ad05af6567a93034316f3992ebc5d6bf3 DIST ruby-2.1.6.tar.xz 9381724 SHA256 137b27bffefd795fd97c288fff539d135f42320f8a1afddde99a34e1fbe7314e SHA512 0cf91fe7ae53a3f9c034fa5996eeed91889b942b8e595e84be4e244adc30d79aa3f540cc6f657982715069dfb14af20786557689d9a8fe4bbfc66280e84dd6cf WHIRLPOOL 1881ba54cf751e558f3a321041ed987c4433f64e786078de35227126afc801fabdcff74cf7d882fd07a70988c8a28c95269fd0ed4ccaebb3627931320c697e60 -DIST ruby-2.2.0.tar.xz 10304244 SHA256 848714e280fc5fb44dbac3b060b206e56c1947006324ee68a174d68b483ef8ca SHA512 cd7e52faa464df8aca7ccfa23a5f06248e1ad82bc8c9f1829aa1b51ff37b15973b8caaa68e914d837325b8d59427fda4f3cad82c50925e1c84e688324a2a155d WHIRLPOOL 6d06101015b6dee7f0f4409597b481d3ad08679237ad884866e513bbad2d851afc09ac414c60871d2ceeb9221013497f0c482c481c95c3e8f20a4664e95148fa -DIST ruby-2.2.1.tar.xz 10320352 SHA256 3b2852c07fdc12d0ba2b5698c7587ae2b46141539a526d143da5860b55a626c0 SHA512 853517426cd4735bab42298a13cef6f4864b6f8787c3985eaa39a4d1efb40e121bdb51e874b567f0ec339fe001920bcd165067633992b2be30e7804191559151 WHIRLPOOL fdf6c064470172f366902c6d0896f25dfeea2690c0b184cc42ef65f8389a531ec8209551757cc3654fd4da54cb2055c687d3aca0a9716955586f50446ad0f26d DIST ruby-2.2.2.tar.xz 10463044 SHA256 f033b5d08ab57083e48c1d81bcd7399967578c370b664da90e12a32891424462 SHA512 bd72d0a4c017e2527659f64ef2781bbe8bd540a2302eaa60234a12282fd53c359e04205c56385402c67e81bb9dab3b88de53de82e12bb13e3386c26301043b64 WHIRLPOOL ee9c3a664ac1d67bd9ff4ed8fcc7d4c8e9b6e2f5774c938f876223b22022b498932afc41990890a03b560c65ffe29a039761d18bbeeab46fe13cbfff515bc115 DIST ruby-patches-1.9.3_p551-r1.tar.bz2 3685 SHA256 362d94b77c3408d200c42855868ebb5ddbee287d66bbed8e269255f9cb63418a SHA512 646a1979c1b879ef46cb195204bdcea83215f6407331f92d8caed910e03d1f426bfb203629f4bea307740742757877edae22bf9978b55cbda03921a0c25b8409 WHIRLPOOL 3001b1c6189a882a45125d04b6264e22e0bf2b773c249bf00c2cfc98dec3392ae422913d278aae289767db0aaf8782e1a7dd44e94965aa02893833d5737ad494 DIST ruby-patches-1.9.3_p551.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc DIST ruby-patches-2.0.0_p598.tar.bz2 2947 SHA256 dc173fe94af215fd2c1823f46140e4f11892dec59ce55b10ffad26b622bb6e4e SHA512 423a4fddfc8d7fd4f5b041989da343bc96ce0c3f22a448cab8cec47d4c458f4deeb83b167a0a3ae71d3be57df9b41151d1cafadd191bd3d3e9b08b32732e36cd WHIRLPOOL 9c728e95cf01abdb48afc2ff008dc73d341096b253c664297b6780b32821c1ec406c388ce5860b5dd2ce2de862fb80b2ae45d03750045aaf13c371743f97c92e -DIST ruby-patches-2.0.0_p643.tar.bz2 2947 SHA256 dc173fe94af215fd2c1823f46140e4f11892dec59ce55b10ffad26b622bb6e4e SHA512 423a4fddfc8d7fd4f5b041989da343bc96ce0c3f22a448cab8cec47d4c458f4deeb83b167a0a3ae71d3be57df9b41151d1cafadd191bd3d3e9b08b32732e36cd WHIRLPOOL 9c728e95cf01abdb48afc2ff008dc73d341096b253c664297b6780b32821c1ec406c388ce5860b5dd2ce2de862fb80b2ae45d03750045aaf13c371743f97c92e DIST ruby-patches-2.0.0_p645.tar.bz2 2947 SHA256 dc173fe94af215fd2c1823f46140e4f11892dec59ce55b10ffad26b622bb6e4e SHA512 423a4fddfc8d7fd4f5b041989da343bc96ce0c3f22a448cab8cec47d4c458f4deeb83b167a0a3ae71d3be57df9b41151d1cafadd191bd3d3e9b08b32732e36cd WHIRLPOOL 9c728e95cf01abdb48afc2ff008dc73d341096b253c664297b6780b32821c1ec406c388ce5860b5dd2ce2de862fb80b2ae45d03750045aaf13c371743f97c92e -DIST ruby-patches-2.1.5.tar.bz2 2310 SHA256 1743dc0cec0adc1a0b5d90b0ed7908f888b8251b7a414049a57e6e32e01e4ad6 SHA512 b695621d210a7afc6704dd480bf3e7fc559174ebf240d2287338d60537ba45e5bf0f5defac6b254064d4b28077e2b97ef23b7eadc1bfa1a6bf2c616e828f937c WHIRLPOOL e9fde062fc04e4e22aec2dc55250f9007c64b07c7d03875b4073c19af9cfb0ae735d6dcb2b65bd1465a457cf0ff0602866600b5af1d520df3efc8a418763ab5b DIST ruby-patches-2.1.6-r1.tar.bz2 2348 SHA256 2c158373217a719f2961c1f2cf2f3494eb43c413dc41ba7f9c1d88c60baca7f7 SHA512 01367d463a3aa72261742ae468d96ca1fb06a2d6b2a7a0cc416e449a7ae602d4478fb2394390636725424f252fa95c5db7d2c8116dc0b1e4477d8d641961980f WHIRLPOOL b39e8b9bdd8d05958b3b4c5884bfdd65c99b9aee2470a48ca748cbf336948bf0bb9f834ce3fec5e9365abaf385de760012f67dec6db257d7cbeff04ce0c5c7fb -DIST ruby-patches-2.1.6.tar.bz2 2310 SHA256 1743dc0cec0adc1a0b5d90b0ed7908f888b8251b7a414049a57e6e32e01e4ad6 SHA512 b695621d210a7afc6704dd480bf3e7fc559174ebf240d2287338d60537ba45e5bf0f5defac6b254064d4b28077e2b97ef23b7eadc1bfa1a6bf2c616e828f937c WHIRLPOOL e9fde062fc04e4e22aec2dc55250f9007c64b07c7d03875b4073c19af9cfb0ae735d6dcb2b65bd1465a457cf0ff0602866600b5af1d520df3efc8a418763ab5b -DIST ruby-patches-2.2.0-r1.tar.bz2 2195 SHA256 c7acb19428dd1d5b59bff37e7705549e6e369504a99c171acc4d78b156ef1632 SHA512 ee438dd791a44778bb3da4afe96bac11cacb408cd859dcf057d12e3cc6d5e989b3b5f9c8662ede5229cc8d477126bfe46e1a02048a10e62b67abe22c0ecf4ab4 WHIRLPOOL 8e40576f1087ecc7a41ee9414857eac58e163895ffad3f4c4bb629bda38c8063b3eec608117251812fd8353b44dc58766e12f893cb37a6da7b277979b4da12db -DIST ruby-patches-2.2.1.tar.bz2 2267 SHA256 0ad98acf3d3f9128c2471e360d4cef0c8967ef2feb59c18f8a781a94c13f349f SHA512 af533ae77b0149bceb04d544b2a6f6c0bd4bcbef53912b233452a7eeda1ecb9cd53aed1631ba9414e76eb0f960e9248fb82525ce5caf843aaad2ebf654cf74ce WHIRLPOOL c495f4e95c1709da1c91b5f7b42b9bc03dfed3849fb7b51ac120fbaae1dabdc99e631e60455f86f91f64eb113c9b24cbeb857efc84c128406350938e01bdb291 DIST ruby-patches-2.2.2-r1.tar.bz2 3066 SHA256 65342c7cd5146f0d5025932d31e2ed40e1247355d68356e17a06b0ff728fbef1 SHA512 1c578b868db179bca6dd7800528ac23076b1f44519d93b92fafd724d8e5a158512b05cb3d5f7a4f5ada156692978f98cab7dd5b4282701e57c33d50bcda977de WHIRLPOOL 241622b25acdc8b2a7cb912bac2f6e29a4331798ba67507821b3fb295791d7bea8b7933540f2cd47cc7e8477df14be478286d018b7afe9ae121cd8c49c58dc83 -DIST ruby-patches-2.2.2.tar.bz2 2261 SHA256 c44939c8be6ae9ec8f6219fad4ca0aa7d8345f3d58aa4e8b3f129ef8c5ed326c SHA512 aada036fb1aabddcfcf2db862e3d8f5de5a8b61f28c8846b4e76d55743b4e51b542c20312fd094ac3972b3bb78917dadb6b36c384174ca85f823ab4b6a1c3433 WHIRLPOOL aec4e7c05135d76128c9a81df316a6b439dd9471bb227450a1a9b319d0f262279145c86fa5c2b4319c4f7e13691ed3525edf8b43f182baba83d3274f4a045720 EBUILD ruby-1.9.3_p551-r1.ebuild 6176 SHA256 37e136320d238c6cd5b99299abbdf6f448243eea65367754899cfd51f329774c SHA512 3ae9ca9abd46be6f71046ab1a0541d5e36d0dd7651c80da729005fca9593024497a8db02e1e7dfc7ee7c6380ad07651b51e466e9a5a804fb3b8c4c61b5c04f31 WHIRLPOOL 9e2589f288b5bb5a496b01b310725cab6db0ab7f5fe0ee8404710911be20bdf47f1282497937203e3494849aa6a5d1db548ad7386d2170f1ac6690a51c497cb8 EBUILD ruby-1.9.3_p551.ebuild 6173 SHA256 7d2a30eee01118bec87a2a5b0b645fcc68517aaf8636dbe4b142022d981343ae SHA512 a85379763eb01935759ff3bb8d4a39c3d4af0ac8a00ec7c88b2f616d93edc6870d9a50fb13ad3cf302e2abd0d058cfa41def32fcc2dfd3927bb15d241d29cc08 WHIRLPOOL 2ad1bfe90ecd54c6f300717ac02a5cbe290cf613f5e3b81de52b962a5edd0af386b07b372446b141290b44a0a634c1dd879ccceb1411c251a6077d237bb06aa8 EBUILD ruby-2.0.0_p598.ebuild 6514 SHA256 e2391a6b8ef4cc60f72490b8586431dc81918ad34ac182ff39f321b6bf108f52 SHA512 d6e2ced232a04d7ff691bdbbf59879b182b0caaceb6f1fe840758b62e002bee5e5cb0318f815a8a03455e13c9913ec8a0888a9aab78bd05f640d220326d1418a WHIRLPOOL 8f7897ccdedff203dbb353293498b8e37da15f93dbf266ab175e18558d26291bbaf54008ac55588830070a2a7d0437b6c3bccd98833a550be13858eb5a382cfd -EBUILD ruby-2.0.0_p643.ebuild 6522 SHA256 0c0adf141bd869cb257cd02e630edc052712e551404f78df609d69625aa00a1d SHA512 e3b712fa2a2b2396f313b2e5f924ed22ae5cd1e26423862f35e9763bd1ed0aa83ca47b5bf2d6660a1bded3318a75fd472ecf754f6ac2666324847164dd3c0cf7 WHIRLPOOL 70ae7252ec04e39d7d15cb421f46d93a0f97ceaa81b1b30f1b71c437e472a385e30383455c2c7416da0f414e1a4ac86aee8262195cf77ae2b3f461cf1d3fddad EBUILD ruby-2.0.0_p645.ebuild 6514 SHA256 efddf7b9d3bddaca559d13c73c0f4aae246ce8859215251e645d1afcc7965d6e SHA512 3744cb47d1b915f8f722fb8ac88f812e157483303f1abd9e918c718d7d854cca4a7b9aab6782e16ffcc51da594a656b7fd75c4e2d3cd4db63681a77f1561e009 WHIRLPOOL 92561d4154be3516aa18ed63889c3d352d0cd6ca5cde8c5543ff1bee77c8baebd4e30f7eb905a162f915e0ee668be54c185a5c65c3e5b56648cc8d6c8d644220 -EBUILD ruby-2.1.5.ebuild 6566 SHA256 026b089c4d9dae94cb045e4a75ee052717f049b014099acb1efda050f71133fd SHA512 122e7dc71afe6c1713d987db1d37b49c4b214a6e9cd1c65f380fc9324228f958aea923a8e389996c40d3e978e9c4493ca7fb229ab8e7645c334947d5c00389d3 WHIRLPOOL 8d1cce18a212097cb5cbce664e8fd2c29202dae911579715890716ebdd3dbd6d67a8620b1dcfbec3f9b4f8a80773b167c4c2a7cf8917e7c09725347996926358 EBUILD ruby-2.1.6-r1.ebuild 6431 SHA256 3074d6c71587b22be27503d1a39e60a80619167d23010c205fd71e35613e87f8 SHA512 0519068eef7b3cfe9c8bfc3582332376d4f5402ad47c27f2172fc4164029a04b638d0035b1b65063614d0b399962cab5f98f72ad6bcac9922bfa0f282e2809cf WHIRLPOOL e83578993eb14332190230f46c710bff67592145262e5905997b1e176098ef534b78a84cccc94a73623ee1df545f2a89a8e910a866ca38ce06bf547536a875f3 -EBUILD ruby-2.1.6.ebuild 6569 SHA256 fe7691afd4f235ebe7b067aeba4c43963c692ef943726a4ec2c04bf348c3b91b SHA512 0bc905043e55aa711f3cca8f703593bea7f1925d5958a6b1a50e00916d252325483c21c4b481a79524d1cbc00f2a0e927d39406bab8f3e67262221898215b2a3 WHIRLPOOL 26d1b0b3878b81ce13d021bb0b4e18c35636e07839b3a139ccb9b4189a0a74ac525b5f08a510ef1230731438e89677aa9fa0fd88579fc46d39b7e7604856b467 -EBUILD ruby-2.2.0-r1.ebuild 6843 SHA256 f1f4e6b35839ed49bb4a6767f63c553e72d13c4553e826a2fc21ac7953f43161 SHA512 7caa560ced8f0c70d461c473fea88605ecb4a483eab1bc0cc744c7b7be76a8eebd9fdbf6da759568b64923183f92aebcfbc033b3f1e7bf23574b693c84c8961f WHIRLPOOL 23c1f8d3bb622e57ab6613ed654e7e6206c7528c26bad2dd43d94968420d6dabfc82684a054b444ff45d6f235993dd25776e932a7d052f6f11ece63cf8038211 -EBUILD ruby-2.2.1.ebuild 6840 SHA256 6a865b473d094c836bf23a62986fc409903aadb268969b94e7e8e1268ed98ab4 SHA512 4463e375c3798813dd170b0ee72086ffd4cc99a3df83ea12fac92a0693881225caadee7f40841b1e40295bccb0253bd77e6e4dfd7af13c53bdfc048ec5b8dd9c WHIRLPOOL 12762ef01f80dbad97e331c3c9b9e14c3c4144342bcf487cd573990d0cb34659f6f86f0279abd812e1d0acf79cb9b5c3c22e08059f40919d8279ad8f679c3004 EBUILD ruby-2.2.2-r1.ebuild 6846 SHA256 d29b0f148a612b7d9a898ff4d6875ecf3333184132c743eaee371655beda268b SHA512 fb23ffaa312d8dd54e6a41132e456ffe82d88799eb060e06689877ce3d5e0a5f8b7e640eb7f46e3cb8b89c62e24e8551f411ae50ade02adba1b13d5a0b8797ee WHIRLPOOL 11f004d5754b7f57794b23218283febefa8947f3a9f2d9247c6cf857b686412b04a5152c105d7cf52491cd7ca254a4e86cfad152daab5e189700439af672355f -EBUILD ruby-2.2.2.ebuild 6843 SHA256 62821c4627e03a2e38e15cd0b59a1cba6fd3915183d19b55068de44db1dc878c SHA512 02c863825f49d5e20493ec94df40aed2c6f164c13c777be3b8a38a96786784a692173d10e49eaefb2431445f663acbd2142216c8fe7e7e14fce364d0d88aa95b WHIRLPOOL f1fa591f90766993743b9419101b202c5f4b919000c23669f9fccf7732bd3357f122375cf88fba9e656afe8f489dac6aed49a3a87ebce7798f00a67dafedd1d1 -MISC ChangeLog 3503 SHA256 984b9fd1f75948956676db657d4d6ea0981549897c27ddc71e4e264e568d00ff SHA512 73e53829f269956b50cc3a69778aa90c5555ec54a59cf2c75bad29bbd82a79d11f2f858b11657471a1b6877dff4efe2e9078ea1bae9ada54d7fadf3b42e04652 WHIRLPOOL 89c34554c2f51fd6942c28306d5b660b6f9c81b6aa4d94e7c193bee72f7a889249c1303930ee703a786110e19ecc2472c447b015f830a7564ca86574947365b8 +MISC ChangeLog 3700 SHA256 8de97409b93c5ec8c24c67fe0759c5aea767fd73ffe76a840e0d71da8d55f7ca SHA512 25e8bb4afce1fd8aaf4104f8d24fc4a0f0a066e11062089d72632c580085c3540c27965dd7e16df238daa8f40dece6c3a9b1e51fb2c63d39a737970132923092 WHIRLPOOL 90d7ee885f2d13d1a4e1cf923fad25c2406d2cec5b42aaca1096dc6800410d53d5efc12365c93e9a4c72cfc300e22a35678f519e93b49709737e64818c05ce04 MISC ChangeLog-2014 104250 SHA256 6587f8f101dc832a9f0c01b77a9d448b6a7b1c3c7befd1368e297bbe3dc41f1c SHA512 89ffec2164a619bbb418ecf43ecb0893a3f6a4846ff1ac403980e68d85efa7d502fa2f7338c80f8fcf12b56a1ed791c7d6d1bfc607f80fa88c1a88c3c6f93a85 WHIRLPOOL 47ced91b8df722e42d33773a243f89e57ca49f8942418d19321a1ed041fd9dabad747ff640fbb1f0de73220c23cd37778eedc44a14b8883b8220ee512089a823 MISC metadata.xml 1084 SHA256 77b5afe4fc85576b9f4758b1cc1e9ad7021e40bdc341ca8a7932f54dba63a77b SHA512 3341c4c2bac3f5088827470ffaa842196c190d8732425fc0876cace29878602f62b4e0857e1eb52e8a2370df283735ed54da8d72802f8d09c9a513fe97e3e6ba WHIRLPOOL 481ca1b6f1bed13b2cdafe644f5478af62d29aa66374b5f2be55f5474a044d15894708dc1226f612c748d165cd1a26be5b0d307f290b74bca6a3c564a12e162a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJVQKH3AAoJELp701BxlEWfCRsQAKrdM3v7rCla9mfEK2KDK5cI -Fac7EsrffuqYT98LXkxd83mHEU4/sBgAkOrkixE15gWzMcKpy42tPeFMVwn8G2/p -/m2XBRCs5xW8A1On3PrCyz3GV/1NXOFdT5rQKPjqS5jC+wQmMpszT13VNGaySDqU -+2PUTaLnqas+ZxlnJGQxjRN6RC69fP7KObXNlJ36QNoK5KRqPnGXBpcBc9wriYyr -46LeeihVobEDcdObgrsrWV/ouJjbJyuN7amksrh32M4bqxNZyPBpr7TE2JoHHaBQ -yzAC6OwabEHbFC88NjI2OviQukkbeIWFN8Uy24EK4Z2SNiAr24TfOoCfMsbgwv5P -JNgoH7XZ1dsVkEwNY4BaIzCQy4YNzBLRm3ZfUNuPZK5/u0VKqWXOnQ8NazzsYqnF -+Gr+T4JAw5fIsdeHDriBPs7DPhyFm4g0zp1FTUZ+1gNM8vbZPHuoaY1i/d8HETHu -DBk9UQStsh7rWeIn0EsrzLvVLkfVElOigTh/wgQDRebIPDuBgfwGh0Zz8B52aha2 -KnTAzIeiOtUtBzqd0u4deiXHI11xpJRBS+h2nruc8S0Pf7lj6bzgNSwvPtGppz4i -byqkdX3WBCc7xPLPTAo8fkQ7vYzscafkUQLiVeqNW+rqOR/ex8/ikzo6mkFcUYXK -/uWZr+Zee3/jnPytsVQF -=r21b +iF4EAREIAAYFAlVPAPgACgkQiIP6VqMIqNfPNwD9Gk7/QQ4XAdzrT4VsRwxONFXu +mU90zyTfubsFXTCzMtwBAIkP9MKBnPdQpKkv41ALVbvWbPdcbW9vbZWje5U3159U +=uj9e -----END PGP SIGNATURE----- diff --git a/dev-lang/ruby/ruby-2.0.0_p643.ebuild b/dev-lang/ruby/ruby-2.0.0_p643.ebuild deleted file mode 100644 index 59b8fd6b6d80..000000000000 --- a/dev-lang/ruby/ruby-2.0.0_p643.ebuild +++ /dev/null @@ -1,230 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.0.0_p643.ebuild,v 1.2 2015/03/31 18:33:50 ulm Exp $ - -EAPI=5 - -#PATCHSET=1 - -inherit autotools eutils flag-o-matic multilib versionator - -RUBYPL=$(get_version_component_range 4) - -MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}" -S=${WORKDIR}/${MY_P} - -SLOT=$(get_version_component_range 1-2) -MY_SUFFIX=$(delete_version_separator 1 ${SLOT}) -RUBYVERSION=2.0.0 - -if [[ -n ${PATCHSET} ]]; then - if [[ ${PVR} == ${PV} ]]; then - PATCHSET="${PV}-r0.${PATCHSET}" - else - PATCHSET="${PVR}.${PATCHSET}" - fi -else - PATCHSET="${PVR}" -fi - -DESCRIPTION="An object-oriented scripting language" -HOMEPAGE="http://www.ruby-lang.org/" -SRC_URI="mirror://ruby/2.0/${MY_P}.tar.xz - http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2" - -LICENSE="|| ( Ruby-BSD BSD-2 )" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl xemacs ncurses +readline cpu_flags_x86_sse2" - -RDEPEND=" - berkdb? ( sys-libs/db ) - gdbm? ( sys-libs/gdbm ) - ssl? ( dev-libs/openssl ) - socks5? ( >=net-proxy/dante-1.1.13 ) - ncurses? ( sys-libs/ncurses ) - readline? ( sys-libs/readline ) - dev-libs/libyaml - virtual/libffi - sys-libs/zlib - >=app-eselect/eselect-ruby-20100402 - !<dev-ruby/rdoc-3.9.4 - !<dev-ruby/rubygems-1.8.10-r1" - -DEPEND="${RDEPEND}" -PDEPEND=" - virtual/rubygems[ruby_targets_ruby20] - >=dev-ruby/json-1.7.7[ruby_targets_ruby20] - >=dev-ruby/rake-0.9.6[ruby_targets_ruby20] - rdoc? ( >=dev-ruby/rdoc-4.0.0[ruby_targets_ruby20] ) - xemacs? ( app-xemacs/ruby-modes )" - -src_prepare() { - if use cpu_flags_x86_sse2 ; then - excluded_patches="012_no_forced_sse2.patch" - fi - - EPATCH_EXCLUDE="${excluded_patches}" EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \ - epatch "${WORKDIR}/patches" - - # We can no longer unbundle all of rake because rubygems now depends - # on this. We leave the actual rake code around to bootstrap - # rubygems, but remove the bits that would cause a file collision. - einfo "Unbundling gems..." - cd "$S" - rm -r \ - {bin,lib}/rake lib/rake.rb man/rake.1 \ - bin/gem || die "removal failed" - - # Fix a hardcoded lib path in configure script - sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \ - configure.in || die "sed failed" - - eautoreconf -} - -src_configure() { - local myconf= - - # The Tk module can no longer be built because the module code is no - # longer compatible with newer stable versions. - # https://bugs.gentoo.org/show_bug.cgi?id=500894 - local modules="tk" - - # -fomit-frame-pointer makes ruby segfault, see bug #150413. - filter-flags -fomit-frame-pointer - # In many places aliasing rules are broken; play it safe - # as it's risky with newer compilers to leave it as it is. - append-flags -fno-strict-aliasing - # SuperH needs this - use sh && append-flags -mieee - - # Socks support via dante - if use socks5 ; then - # Socks support can't be disabled as long as SOCKS_SERVER is - # set and socks library is present, so need to unset - # SOCKS_SERVER in that case. - unset SOCKS_SERVER - fi - - # Increase GC_MALLOC_LIMIT if set (default is 8000000) - if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then - append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}" - fi - - # ipv6 hack, bug 168939. Needs --enable-ipv6. - use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET" - - # Determine which modules *not* to build depending in the USE flags. - if ! use readline ; then - modules="${modules},readline" - fi - if ! use berkdb ; then - modules="${modules},dbm" - fi - if ! use gdbm ; then - modules="${modules},gdbm" - fi - if ! use ssl ; then - modules="${modules},openssl" - fi - if ! use ncurses ; then - modules="${modules},curses" - fi - - INSTALL="${EPREFIX}/usr/bin/install -c" econf \ - --program-suffix=${MY_SUFFIX} \ - --with-soname=ruby${MY_SUFFIX} \ - --docdir=${EPREFIX}/usr/share/doc/${P} \ - --enable-shared \ - --enable-pthread \ - --disable-rpath \ - --with-out-ext="${modules}" \ - $(use_enable socks5 socks) \ - $(use_enable doc install-doc) \ - --enable-ipv6 \ - $(use_enable debug) \ - ${myconf} \ - --enable-option-checking=no \ - || die "econf failed" -} - -src_compile() { - emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed" -} - -src_test() { - emake -j1 V=1 test || die "make test failed" - - elog "Ruby's make test has been run. Ruby also ships with a make check" - elog "that cannot be run until after ruby has been installed." - elog - if use rubytests; then - elog "You have enabled rubytests, so they will be installed to" - elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other" - elog "than root, and you must place them into a writeable directory." - elog "Then call: " - elog - elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb" - else - elog "Enable the rubytests USE flag to install the make check tests" - fi -} - -src_install() { - # Remove the remaining bundled gems. We do this late in the process - # since they are used during the build to e.g. create the - # documentation. - rm -rf ext/json || die - - # Ruby is involved in the install process, we don't want interference here. - unset RUBYOPT - - local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby) - - LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" - RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}" - for d in $(find "${S}/ext" -type d) ; do - RUBYLIB="${RUBYLIB}:$d" - done - export LD_LIBRARY_PATH RUBYLIB - - emake V=1 DESTDIR="${D}" install || die "make install failed" - - # Remove installed rubygems copy - rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed" - rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed" - rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed" - - if use doc; then - make DESTDIR="${D}" install-doc || die "make install-doc failed" - fi - - if use examples; then - insinto /usr/share/doc/${PF} - doins -r sample - fi - - dodoc ChangeLog NEWS doc/NEWS* README* || die - - if use rubytests; then - pushd test - insinto /usr/share/${PN}-${SLOT}/test - doins -r . - popd - fi -} - -pkg_postinst() { - if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then - eselect ruby set ruby${MY_SUFFIX} - fi - - elog - elog "To switch between available Ruby profiles, execute as root:" - elog "\teselect ruby set ruby(19|20|...)" - elog -} - -pkg_postrm() { - eselect ruby cleanup -} diff --git a/dev-lang/ruby/ruby-2.1.5.ebuild b/dev-lang/ruby/ruby-2.1.5.ebuild deleted file mode 100644 index a8c75368502f..000000000000 --- a/dev-lang/ruby/ruby-2.1.5.ebuild +++ /dev/null @@ -1,231 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.1.5.ebuild,v 1.4 2015/03/31 18:33:50 ulm Exp $ - -EAPI=5 - -#PATCHSET=1 - -inherit autotools eutils flag-o-matic multilib versionator - -RUBYPL=$(get_version_component_range 4) - -MY_P="${PN}-$(get_version_component_range 1-3)" -#MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}" -S=${WORKDIR}/${MY_P} - -SLOT=$(get_version_component_range 1-2) -MY_SUFFIX=$(delete_version_separator 1 ${SLOT}) -RUBYVERSION=2.1.0 - -if [[ -n ${PATCHSET} ]]; then - if [[ ${PVR} == ${PV} ]]; then - PATCHSET="${PV}-r0.${PATCHSET}" - else - PATCHSET="${PVR}.${PATCHSET}" - fi -else - PATCHSET="${PVR}" -fi - -DESCRIPTION="An object-oriented scripting language" -HOMEPAGE="http://www.ruby-lang.org/" -SRC_URI="mirror://ruby/2.1/${MY_P}.tar.xz - http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2" - -LICENSE="|| ( Ruby-BSD BSD-2 )" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl xemacs ncurses +readline cpu_flags_x86_sse2" - -RDEPEND=" - berkdb? ( sys-libs/db ) - gdbm? ( sys-libs/gdbm ) - ssl? ( dev-libs/openssl ) - socks5? ( >=net-proxy/dante-1.1.13 ) - ncurses? ( sys-libs/ncurses ) - readline? ( sys-libs/readline ) - dev-libs/libyaml - virtual/libffi - sys-libs/zlib - >=app-eselect/eselect-ruby-20131227 - !<dev-ruby/rdoc-3.9.4 - !<dev-ruby/rubygems-1.8.10-r1" - -DEPEND="${RDEPEND}" -PDEPEND=" - virtual/rubygems[ruby_targets_ruby21] - >=dev-ruby/json-1.8.1[ruby_targets_ruby21] - >=dev-ruby/rake-0.9.6[ruby_targets_ruby21] - rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby21] ) - xemacs? ( app-xemacs/ruby-modes )" - -src_prepare() { - if use cpu_flags_x86_sse2 ; then - excluded_patches="012_no_forced_sse2.patch" - fi - - EPATCH_EXCLUDE="${excluded_patches}" EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \ - epatch "${WORKDIR}/patches" - - # We can no longer unbundle all of rake because rubygems now depends - # on this. We leave the actual rake code around to bootstrap - # rubygems, but remove the bits that would cause a file collision. - einfo "Unbundling gems..." - cd "$S" - rm -r \ - {bin,lib}/rake lib/rake.rb man/rake.1 \ - bin/gem || die "removal failed" - - # Fix a hardcoded lib path in configure script - sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \ - configure.in || die "sed failed" - - eautoreconf -} - -src_configure() { - local myconf= - - # The Tk module can no longer be built because the module code is no - # longer compatible with newer stable versions. - # https://bugs.gentoo.org/show_bug.cgi?id=500894 - local modules="tk" - - # -fomit-frame-pointer makes ruby segfault, see bug #150413. - filter-flags -fomit-frame-pointer - # In many places aliasing rules are broken; play it safe - # as it's risky with newer compilers to leave it as it is. - append-flags -fno-strict-aliasing - # SuperH needs this - use sh && append-flags -mieee - - # Socks support via dante - if use socks5 ; then - # Socks support can't be disabled as long as SOCKS_SERVER is - # set and socks library is present, so need to unset - # SOCKS_SERVER in that case. - unset SOCKS_SERVER - fi - - # Increase GC_MALLOC_LIMIT if set (default is 8000000) - if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then - append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}" - fi - - # ipv6 hack, bug 168939. Needs --enable-ipv6. - use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET" - - # Determine which modules *not* to build depending in the USE flags. - if ! use readline ; then - modules="${modules},readline" - fi - if ! use berkdb ; then - modules="${modules},dbm" - fi - if ! use gdbm ; then - modules="${modules},gdbm" - fi - if ! use ssl ; then - modules="${modules},openssl" - fi - if ! use ncurses ; then - modules="${modules},curses" - fi - - INSTALL="${EPREFIX}/usr/bin/install -c" econf \ - --program-suffix=${MY_SUFFIX} \ - --with-soname=ruby${MY_SUFFIX} \ - --docdir=${EPREFIX}/usr/share/doc/${P} \ - --enable-shared \ - --enable-pthread \ - --disable-rpath \ - --with-out-ext="${modules}" \ - $(use_enable socks5 socks) \ - $(use_enable doc install-doc) \ - --enable-ipv6 \ - $(use_enable debug) \ - ${myconf} \ - --enable-option-checking=no \ - || die "econf failed" -} - -src_compile() { - emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed" -} - -src_test() { - emake -j1 V=1 test || die "make test failed" - - elog "Ruby's make test has been run. Ruby also ships with a make check" - elog "that cannot be run until after ruby has been installed." - elog - if use rubytests; then - elog "You have enabled rubytests, so they will be installed to" - elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other" - elog "than root, and you must place them into a writeable directory." - elog "Then call: " - elog - elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb" - else - elog "Enable the rubytests USE flag to install the make check tests" - fi -} - -src_install() { - # Remove the remaining bundled gems. We do this late in the process - # since they are used during the build to e.g. create the - # documentation. - rm -rf ext/json || die - - # Ruby is involved in the install process, we don't want interference here. - unset RUBYOPT - - local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby) - - LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" - RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}" - for d in $(find "${S}/ext" -type d) ; do - RUBYLIB="${RUBYLIB}:$d" - done - export LD_LIBRARY_PATH RUBYLIB - - emake V=1 DESTDIR="${D}" install || die "make install failed" - - # Remove installed rubygems copy - rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed" - rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed" - rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed" - - if use doc; then - make DESTDIR="${D}" install-doc || die "make install-doc failed" - fi - - if use examples; then - insinto /usr/share/doc/${PF} - doins -r sample - fi - - dodoc ChangeLog NEWS doc/NEWS* README* || die - - if use rubytests; then - pushd test - insinto /usr/share/${PN}-${SLOT}/test - doins -r . - popd - fi -} - -pkg_postinst() { - if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then - eselect ruby set ruby${MY_SUFFIX} - fi - - elog - elog "To switch between available Ruby profiles, execute as root:" - elog "\teselect ruby set ruby(19|20|...)" - elog -} - -pkg_postrm() { - eselect ruby cleanup -} diff --git a/dev-lang/ruby/ruby-2.1.6.ebuild b/dev-lang/ruby/ruby-2.1.6.ebuild deleted file mode 100644 index 63f071342c36..000000000000 --- a/dev-lang/ruby/ruby-2.1.6.ebuild +++ /dev/null @@ -1,231 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.1.6.ebuild,v 1.1 2015/04/14 05:26:56 graaff Exp $ - -EAPI=5 - -#PATCHSET=1 - -inherit autotools eutils flag-o-matic multilib versionator - -RUBYPL=$(get_version_component_range 4) - -MY_P="${PN}-$(get_version_component_range 1-3)" -#MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}" -S=${WORKDIR}/${MY_P} - -SLOT=$(get_version_component_range 1-2) -MY_SUFFIX=$(delete_version_separator 1 ${SLOT}) -RUBYVERSION=2.1.0 - -if [[ -n ${PATCHSET} ]]; then - if [[ ${PVR} == ${PV} ]]; then - PATCHSET="${PV}-r0.${PATCHSET}" - else - PATCHSET="${PVR}.${PATCHSET}" - fi -else - PATCHSET="${PVR}" -fi - -DESCRIPTION="An object-oriented scripting language" -HOMEPAGE="http://www.ruby-lang.org/" -SRC_URI="mirror://ruby/2.1/${MY_P}.tar.xz - http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2" - -LICENSE="|| ( Ruby-BSD BSD-2 )" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl xemacs ncurses +readline cpu_flags_x86_sse2" - -RDEPEND=" - berkdb? ( sys-libs/db ) - gdbm? ( sys-libs/gdbm ) - ssl? ( dev-libs/openssl ) - socks5? ( >=net-proxy/dante-1.1.13 ) - ncurses? ( sys-libs/ncurses ) - readline? ( sys-libs/readline ) - dev-libs/libyaml - virtual/libffi - sys-libs/zlib - >=app-eselect/eselect-ruby-20131227 - !<dev-ruby/rdoc-3.9.4 - !<dev-ruby/rubygems-1.8.10-r1" - -DEPEND="${RDEPEND}" -PDEPEND=" - virtual/rubygems[ruby_targets_ruby21] - >=dev-ruby/json-1.8.1[ruby_targets_ruby21] - >=dev-ruby/rake-0.9.6[ruby_targets_ruby21] - rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby21] ) - xemacs? ( app-xemacs/ruby-modes )" - -src_prepare() { - if use cpu_flags_x86_sse2 ; then - excluded_patches="012_no_forced_sse2.patch" - fi - - EPATCH_EXCLUDE="${excluded_patches}" EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \ - epatch "${WORKDIR}/patches" - - # We can no longer unbundle all of rake because rubygems now depends - # on this. We leave the actual rake code around to bootstrap - # rubygems, but remove the bits that would cause a file collision. - einfo "Unbundling gems..." - cd "$S" - rm -r \ - {bin,lib}/rake lib/rake.rb man/rake.1 \ - bin/gem || die "removal failed" - - # Fix a hardcoded lib path in configure script - sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \ - configure.in || die "sed failed" - - eautoreconf -} - -src_configure() { - local myconf= - - # The Tk module can no longer be built because the module code is no - # longer compatible with newer stable versions. - # https://bugs.gentoo.org/show_bug.cgi?id=500894 - local modules="tk" - - # -fomit-frame-pointer makes ruby segfault, see bug #150413. - filter-flags -fomit-frame-pointer - # In many places aliasing rules are broken; play it safe - # as it's risky with newer compilers to leave it as it is. - append-flags -fno-strict-aliasing - # SuperH needs this - use sh && append-flags -mieee - - # Socks support via dante - if use socks5 ; then - # Socks support can't be disabled as long as SOCKS_SERVER is - # set and socks library is present, so need to unset - # SOCKS_SERVER in that case. - unset SOCKS_SERVER - fi - - # Increase GC_MALLOC_LIMIT if set (default is 8000000) - if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then - append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}" - fi - - # ipv6 hack, bug 168939. Needs --enable-ipv6. - use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET" - - # Determine which modules *not* to build depending in the USE flags. - if ! use readline ; then - modules="${modules},readline" - fi - if ! use berkdb ; then - modules="${modules},dbm" - fi - if ! use gdbm ; then - modules="${modules},gdbm" - fi - if ! use ssl ; then - modules="${modules},openssl" - fi - if ! use ncurses ; then - modules="${modules},curses" - fi - - INSTALL="${EPREFIX}/usr/bin/install -c" econf \ - --program-suffix=${MY_SUFFIX} \ - --with-soname=ruby${MY_SUFFIX} \ - --docdir=${EPREFIX}/usr/share/doc/${P} \ - --enable-shared \ - --enable-pthread \ - --disable-rpath \ - --with-out-ext="${modules}" \ - $(use_enable socks5 socks) \ - $(use_enable doc install-doc) \ - --enable-ipv6 \ - $(use_enable debug) \ - ${myconf} \ - --enable-option-checking=no \ - || die "econf failed" -} - -src_compile() { - emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed" -} - -src_test() { - emake -j1 V=1 test || die "make test failed" - - elog "Ruby's make test has been run. Ruby also ships with a make check" - elog "that cannot be run until after ruby has been installed." - elog - if use rubytests; then - elog "You have enabled rubytests, so they will be installed to" - elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other" - elog "than root, and you must place them into a writeable directory." - elog "Then call: " - elog - elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb" - else - elog "Enable the rubytests USE flag to install the make check tests" - fi -} - -src_install() { - # Remove the remaining bundled gems. We do this late in the process - # since they are used during the build to e.g. create the - # documentation. - rm -rf ext/json || die - - # Ruby is involved in the install process, we don't want interference here. - unset RUBYOPT - - local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby) - - LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" - RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}" - for d in $(find "${S}/ext" -type d) ; do - RUBYLIB="${RUBYLIB}:$d" - done - export LD_LIBRARY_PATH RUBYLIB - - emake V=1 DESTDIR="${D}" install || die "make install failed" - - # Remove installed rubygems copy - rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed" - rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed" - rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed" - - if use doc; then - make DESTDIR="${D}" install-doc || die "make install-doc failed" - fi - - if use examples; then - insinto /usr/share/doc/${PF} - doins -r sample - fi - - dodoc ChangeLog NEWS doc/NEWS* README* || die - - if use rubytests; then - pushd test - insinto /usr/share/${PN}-${SLOT}/test - doins -r . - popd - fi -} - -pkg_postinst() { - if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then - eselect ruby set ruby${MY_SUFFIX} - fi - - elog - elog "To switch between available Ruby profiles, execute as root:" - elog "\teselect ruby set ruby(19|20|...)" - elog -} - -pkg_postrm() { - eselect ruby cleanup -} diff --git a/dev-lang/ruby/ruby-2.2.0-r1.ebuild b/dev-lang/ruby/ruby-2.2.0-r1.ebuild deleted file mode 100644 index 27669bb5bd5e..000000000000 --- a/dev-lang/ruby/ruby-2.2.0-r1.ebuild +++ /dev/null @@ -1,238 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.2.0-r1.ebuild,v 1.2 2015/03/31 18:33:50 ulm Exp $ - -EAPI=5 - -#PATCHSET=1 - -inherit autotools eutils flag-o-matic multilib versionator - -MY_P="${PN}-$(get_version_component_range 1-3)" -S=${WORKDIR}/${MY_P} - -SLOT=$(get_version_component_range 1-2) -MY_SUFFIX=$(delete_version_separator 1 ${SLOT}) -RUBYVERSION=2.2.0 - -if [[ -n ${PATCHSET} ]]; then - if [[ ${PVR} == ${PV} ]]; then - PATCHSET="${PV}-r0.${PATCHSET}" - else - PATCHSET="${PVR}.${PATCHSET}" - fi -else - PATCHSET="${PVR}" -fi - -DESCRIPTION="An object-oriented scripting language" -HOMEPAGE="http://www.ruby-lang.org/" -SRC_URI="mirror://ruby/2.2/${MY_P}.tar.xz - http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2" - -LICENSE="|| ( Ruby-BSD BSD-2 )" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="berkdb debug doc examples gdbm ipv6 jemalloc +rdoc rubytests socks5 ssl xemacs ncurses +readline" - -RDEPEND=" - berkdb? ( sys-libs/db ) - gdbm? ( sys-libs/gdbm ) - jemalloc? ( dev-libs/jemalloc ) - ssl? ( dev-libs/openssl ) - socks5? ( >=net-proxy/dante-1.1.13 ) - ncurses? ( sys-libs/ncurses ) - readline? ( sys-libs/readline ) - dev-libs/libyaml - virtual/libffi - sys-libs/zlib - >=app-eselect/eselect-ruby-20141227 - !<dev-ruby/rdoc-3.9.4 - !<dev-ruby/rubygems-1.8.10-r1" - -DEPEND="${RDEPEND}" - -BUNDLED_GEMS=" - >=dev-ruby/minitest-5.4.3[ruby_targets_ruby22] - >=dev-ruby/power_assert-0.2.2[ruby_targets_ruby22] - >=dev-ruby/test-unit-3.0.8[ruby_targets_ruby22] -" - -PDEPEND=" - ${BUNDLED_GEMS} - virtual/rubygems[ruby_targets_ruby22] - >=dev-ruby/json-1.8.1[ruby_targets_ruby22] - >=dev-ruby/rake-0.9.6[ruby_targets_ruby22] - rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby22] ) - xemacs? ( app-xemacs/ruby-modes )" - -src_prepare() { - EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \ - epatch "${WORKDIR}/patches" - - # We can no longer unbundle all of rake because rubygems now depends - # on this. We leave the actual rake code around to bootstrap - # rubygems, but remove the bits that would cause a file collision. - einfo "Unbundling gems..." - cd "$S" - rm -r \ - {bin,lib}/rake lib/rake.rb man/rake.1 \ - bin/gem || die "removal failed" - # Remove bundled gems that we will install via PDEPEND, bug - # 539700. Use explicit version numbers to ensure rm fails when they - # change so we can update dependencies accordingly. - rm gems/{minitest-5.4.3,power_assert-0.2.2,test-unit-3.0.8}.gem || die - - # Fix a hardcoded lib path in configure script - sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \ - configure.in || die "sed failed" - - eautoreconf -} - -src_configure() { - local myconf= - - # The Tk module can no longer be built because the module code is no - # longer compatible with newer stable versions. - # https://bugs.gentoo.org/show_bug.cgi?id=500894 - local modules="tk" - - # -fomit-frame-pointer makes ruby segfault, see bug #150413. - filter-flags -fomit-frame-pointer - # In many places aliasing rules are broken; play it safe - # as it's risky with newer compilers to leave it as it is. - append-flags -fno-strict-aliasing - # SuperH needs this - use sh && append-flags -mieee - - # Socks support via dante - if use socks5 ; then - # Socks support can't be disabled as long as SOCKS_SERVER is - # set and socks library is present, so need to unset - # SOCKS_SERVER in that case. - unset SOCKS_SERVER - fi - - # Increase GC_MALLOC_LIMIT if set (default is 8000000) - if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then - append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}" - fi - - # ipv6 hack, bug 168939. Needs --enable-ipv6. - use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET" - - # Determine which modules *not* to build depending in the USE flags. - if ! use readline ; then - modules="${modules},readline" - fi - if ! use berkdb ; then - modules="${modules},dbm" - fi - if ! use gdbm ; then - modules="${modules},gdbm" - fi - if ! use ssl ; then - modules="${modules},openssl" - fi - if ! use ncurses ; then - modules="${modules},curses" - fi - - INSTALL="${EPREFIX}/usr/bin/install -c" econf \ - --program-suffix=${MY_SUFFIX} \ - --with-soname=ruby${MY_SUFFIX} \ - --docdir=${EPREFIX}/usr/share/doc/${P} \ - --enable-shared \ - --enable-pthread \ - --disable-rpath \ - --with-out-ext="${modules}" \ - $(use_enable jemalloc jemalloc) \ - $(use_enable socks5 socks) \ - $(use_enable doc install-doc) \ - --enable-ipv6 \ - $(use_enable debug) \ - ${myconf} \ - --enable-option-checking=no \ - || die "econf failed" -} - -src_compile() { - emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed" -} - -src_test() { - emake -j1 V=1 test || die "make test failed" - - elog "Ruby's make test has been run. Ruby also ships with a make check" - elog "that cannot be run until after ruby has been installed." - elog - if use rubytests; then - elog "You have enabled rubytests, so they will be installed to" - elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other" - elog "than root, and you must place them into a writeable directory." - elog "Then call: " - elog - elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb" - else - elog "Enable the rubytests USE flag to install the make check tests" - fi -} - -src_install() { - # Remove the remaining bundled gems. We do this late in the process - # since they are used during the build to e.g. create the - # documentation. - rm -rf ext/json || die - - # Ruby is involved in the install process, we don't want interference here. - unset RUBYOPT - - local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby) - - LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" - RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}" - for d in $(find "${S}/ext" -type d) ; do - RUBYLIB="${RUBYLIB}:$d" - done - export LD_LIBRARY_PATH RUBYLIB - - emake V=1 DESTDIR="${D}" install || die "make install failed" - - # Remove installed rubygems copy - rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed" - rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed" - rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed" - - if use doc; then - make DESTDIR="${D}" install-doc || die "make install-doc failed" - fi - - if use examples; then - insinto /usr/share/doc/${PF} - doins -r sample - fi - - dodoc ChangeLog NEWS doc/NEWS* README* || die - - if use rubytests; then - pushd test - insinto /usr/share/${PN}-${SLOT}/test - doins -r . - popd - fi -} - -pkg_postinst() { - if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then - eselect ruby set ruby${MY_SUFFIX} - fi - - elog - elog "To switch between available Ruby profiles, execute as root:" - elog "\teselect ruby set ruby(19|20|...)" - elog -} - -pkg_postrm() { - eselect ruby cleanup -} diff --git a/dev-lang/ruby/ruby-2.2.1.ebuild b/dev-lang/ruby/ruby-2.2.1.ebuild deleted file mode 100644 index 3f7066e1f859..000000000000 --- a/dev-lang/ruby/ruby-2.2.1.ebuild +++ /dev/null @@ -1,238 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.2.1.ebuild,v 1.2 2015/03/31 18:33:50 ulm Exp $ - -EAPI=5 - -#PATCHSET=1 - -inherit autotools eutils flag-o-matic multilib versionator - -MY_P="${PN}-$(get_version_component_range 1-3)" -S=${WORKDIR}/${MY_P} - -SLOT=$(get_version_component_range 1-2) -MY_SUFFIX=$(delete_version_separator 1 ${SLOT}) -RUBYVERSION=2.2.0 - -if [[ -n ${PATCHSET} ]]; then - if [[ ${PVR} == ${PV} ]]; then - PATCHSET="${PV}-r0.${PATCHSET}" - else - PATCHSET="${PVR}.${PATCHSET}" - fi -else - PATCHSET="${PVR}" -fi - -DESCRIPTION="An object-oriented scripting language" -HOMEPAGE="http://www.ruby-lang.org/" -SRC_URI="mirror://ruby/2.2/${MY_P}.tar.xz - http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2" - -LICENSE="|| ( Ruby-BSD BSD-2 )" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="berkdb debug doc examples gdbm ipv6 jemalloc +rdoc rubytests socks5 ssl xemacs ncurses +readline" - -RDEPEND=" - berkdb? ( sys-libs/db ) - gdbm? ( sys-libs/gdbm ) - jemalloc? ( dev-libs/jemalloc ) - ssl? ( dev-libs/openssl ) - socks5? ( >=net-proxy/dante-1.1.13 ) - ncurses? ( sys-libs/ncurses ) - readline? ( sys-libs/readline ) - dev-libs/libyaml - virtual/libffi - sys-libs/zlib - >=app-eselect/eselect-ruby-20141227 - !<dev-ruby/rdoc-3.9.4 - !<dev-ruby/rubygems-1.8.10-r1" - -DEPEND="${RDEPEND}" - -BUNDLED_GEMS=" - >=dev-ruby/minitest-5.4.3[ruby_targets_ruby22] - >=dev-ruby/power_assert-0.2.2[ruby_targets_ruby22] - >=dev-ruby/test-unit-3.0.8[ruby_targets_ruby22] -" - -PDEPEND=" - ${BUNDLED_GEMS} - virtual/rubygems[ruby_targets_ruby22] - >=dev-ruby/json-1.8.1[ruby_targets_ruby22] - >=dev-ruby/rake-0.9.6[ruby_targets_ruby22] - rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby22] ) - xemacs? ( app-xemacs/ruby-modes )" - -src_prepare() { - EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \ - epatch "${WORKDIR}/patches" - - # We can no longer unbundle all of rake because rubygems now depends - # on this. We leave the actual rake code around to bootstrap - # rubygems, but remove the bits that would cause a file collision. - einfo "Unbundling gems..." - cd "$S" - rm -r \ - {bin,lib}/rake lib/rake.rb man/rake.1 \ - bin/gem || die "removal failed" - # Remove bundled gems that we will install via PDEPEND, bug - # 539700. Use explicit version numbers to ensure rm fails when they - # change so we can update dependencies accordingly. - rm gems/{minitest-5.4.3,power_assert-0.2.2,test-unit-3.0.8}.gem || die - - # Fix a hardcoded lib path in configure script - sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \ - configure.in || die "sed failed" - - eautoreconf -} - -src_configure() { - local myconf= - - # The Tk module can no longer be built because the module code is no - # longer compatible with newer stable versions. - # https://bugs.gentoo.org/show_bug.cgi?id=500894 - local modules="tk" - - # -fomit-frame-pointer makes ruby segfault, see bug #150413. - filter-flags -fomit-frame-pointer - # In many places aliasing rules are broken; play it safe - # as it's risky with newer compilers to leave it as it is. - append-flags -fno-strict-aliasing - # SuperH needs this - use sh && append-flags -mieee - - # Socks support via dante - if use socks5 ; then - # Socks support can't be disabled as long as SOCKS_SERVER is - # set and socks library is present, so need to unset - # SOCKS_SERVER in that case. - unset SOCKS_SERVER - fi - - # Increase GC_MALLOC_LIMIT if set (default is 8000000) - if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then - append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}" - fi - - # ipv6 hack, bug 168939. Needs --enable-ipv6. - use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET" - - # Determine which modules *not* to build depending in the USE flags. - if ! use readline ; then - modules="${modules},readline" - fi - if ! use berkdb ; then - modules="${modules},dbm" - fi - if ! use gdbm ; then - modules="${modules},gdbm" - fi - if ! use ssl ; then - modules="${modules},openssl" - fi - if ! use ncurses ; then - modules="${modules},curses" - fi - - INSTALL="${EPREFIX}/usr/bin/install -c" econf \ - --program-suffix=${MY_SUFFIX} \ - --with-soname=ruby${MY_SUFFIX} \ - --docdir=${EPREFIX}/usr/share/doc/${P} \ - --enable-shared \ - --enable-pthread \ - --disable-rpath \ - --with-out-ext="${modules}" \ - $(use_enable jemalloc jemalloc) \ - $(use_enable socks5 socks) \ - $(use_enable doc install-doc) \ - --enable-ipv6 \ - $(use_enable debug) \ - ${myconf} \ - --enable-option-checking=no \ - || die "econf failed" -} - -src_compile() { - emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed" -} - -src_test() { - emake -j1 V=1 test || die "make test failed" - - elog "Ruby's make test has been run. Ruby also ships with a make check" - elog "that cannot be run until after ruby has been installed." - elog - if use rubytests; then - elog "You have enabled rubytests, so they will be installed to" - elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other" - elog "than root, and you must place them into a writeable directory." - elog "Then call: " - elog - elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb" - else - elog "Enable the rubytests USE flag to install the make check tests" - fi -} - -src_install() { - # Remove the remaining bundled gems. We do this late in the process - # since they are used during the build to e.g. create the - # documentation. - rm -rf ext/json || die - - # Ruby is involved in the install process, we don't want interference here. - unset RUBYOPT - - local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby) - - LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" - RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}" - for d in $(find "${S}/ext" -type d) ; do - RUBYLIB="${RUBYLIB}:$d" - done - export LD_LIBRARY_PATH RUBYLIB - - emake V=1 DESTDIR="${D}" install || die "make install failed" - - # Remove installed rubygems copy - rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed" - rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed" - rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed" - - if use doc; then - make DESTDIR="${D}" install-doc || die "make install-doc failed" - fi - - if use examples; then - insinto /usr/share/doc/${PF} - doins -r sample - fi - - dodoc ChangeLog NEWS doc/NEWS* README* || die - - if use rubytests; then - pushd test - insinto /usr/share/${PN}-${SLOT}/test - doins -r . - popd - fi -} - -pkg_postinst() { - if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then - eselect ruby set ruby${MY_SUFFIX} - fi - - elog - elog "To switch between available Ruby profiles, execute as root:" - elog "\teselect ruby set ruby(19|20|...)" - elog -} - -pkg_postrm() { - eselect ruby cleanup -} diff --git a/dev-lang/ruby/ruby-2.2.2.ebuild b/dev-lang/ruby/ruby-2.2.2.ebuild deleted file mode 100644 index 19c7ae276a42..000000000000 --- a/dev-lang/ruby/ruby-2.2.2.ebuild +++ /dev/null @@ -1,238 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.2.2.ebuild,v 1.1 2015/04/14 05:26:56 graaff Exp $ - -EAPI=5 - -#PATCHSET=1 - -inherit autotools eutils flag-o-matic multilib versionator - -MY_P="${PN}-$(get_version_component_range 1-3)" -S=${WORKDIR}/${MY_P} - -SLOT=$(get_version_component_range 1-2) -MY_SUFFIX=$(delete_version_separator 1 ${SLOT}) -RUBYVERSION=2.2.0 - -if [[ -n ${PATCHSET} ]]; then - if [[ ${PVR} == ${PV} ]]; then - PATCHSET="${PV}-r0.${PATCHSET}" - else - PATCHSET="${PVR}.${PATCHSET}" - fi -else - PATCHSET="${PVR}" -fi - -DESCRIPTION="An object-oriented scripting language" -HOMEPAGE="http://www.ruby-lang.org/" -SRC_URI="mirror://ruby/2.2/${MY_P}.tar.xz - http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2" - -LICENSE="|| ( Ruby-BSD BSD-2 )" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="berkdb debug doc examples gdbm ipv6 jemalloc +rdoc rubytests socks5 ssl xemacs ncurses +readline" - -RDEPEND=" - berkdb? ( sys-libs/db ) - gdbm? ( sys-libs/gdbm ) - jemalloc? ( dev-libs/jemalloc ) - ssl? ( dev-libs/openssl ) - socks5? ( >=net-proxy/dante-1.1.13 ) - ncurses? ( sys-libs/ncurses ) - readline? ( sys-libs/readline ) - dev-libs/libyaml - virtual/libffi - sys-libs/zlib - >=app-eselect/eselect-ruby-20141227 - !<dev-ruby/rdoc-3.9.4 - !<dev-ruby/rubygems-1.8.10-r1" - -DEPEND="${RDEPEND}" - -BUNDLED_GEMS=" - >=dev-ruby/minitest-5.4.3[ruby_targets_ruby22] - >=dev-ruby/power_assert-0.2.2[ruby_targets_ruby22] - >=dev-ruby/test-unit-3.0.8[ruby_targets_ruby22] -" - -PDEPEND=" - ${BUNDLED_GEMS} - virtual/rubygems[ruby_targets_ruby22] - >=dev-ruby/json-1.8.1[ruby_targets_ruby22] - >=dev-ruby/rake-0.9.6[ruby_targets_ruby22] - rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby22] ) - xemacs? ( app-xemacs/ruby-modes )" - -src_prepare() { - EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \ - epatch "${WORKDIR}/patches" - - # We can no longer unbundle all of rake because rubygems now depends - # on this. We leave the actual rake code around to bootstrap - # rubygems, but remove the bits that would cause a file collision. - einfo "Unbundling gems..." - cd "$S" - rm -r \ - {bin,lib}/rake lib/rake.rb man/rake.1 \ - bin/gem || die "removal failed" - # Remove bundled gems that we will install via PDEPEND, bug - # 539700. Use explicit version numbers to ensure rm fails when they - # change so we can update dependencies accordingly. - rm gems/{minitest-5.4.3,power_assert-0.2.2,test-unit-3.0.8}.gem || die - - # Fix a hardcoded lib path in configure script - sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \ - configure.in || die "sed failed" - - eautoreconf -} - -src_configure() { - local myconf= - - # The Tk module can no longer be built because the module code is no - # longer compatible with newer stable versions. - # https://bugs.gentoo.org/show_bug.cgi?id=500894 - local modules="tk" - - # -fomit-frame-pointer makes ruby segfault, see bug #150413. - filter-flags -fomit-frame-pointer - # In many places aliasing rules are broken; play it safe - # as it's risky with newer compilers to leave it as it is. - append-flags -fno-strict-aliasing - # SuperH needs this - use sh && append-flags -mieee - - # Socks support via dante - if use socks5 ; then - # Socks support can't be disabled as long as SOCKS_SERVER is - # set and socks library is present, so need to unset - # SOCKS_SERVER in that case. - unset SOCKS_SERVER - fi - - # Increase GC_MALLOC_LIMIT if set (default is 8000000) - if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then - append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}" - fi - - # ipv6 hack, bug 168939. Needs --enable-ipv6. - use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET" - - # Determine which modules *not* to build depending in the USE flags. - if ! use readline ; then - modules="${modules},readline" - fi - if ! use berkdb ; then - modules="${modules},dbm" - fi - if ! use gdbm ; then - modules="${modules},gdbm" - fi - if ! use ssl ; then - modules="${modules},openssl" - fi - if ! use ncurses ; then - modules="${modules},curses" - fi - - INSTALL="${EPREFIX}/usr/bin/install -c" econf \ - --program-suffix=${MY_SUFFIX} \ - --with-soname=ruby${MY_SUFFIX} \ - --docdir=${EPREFIX}/usr/share/doc/${P} \ - --enable-shared \ - --enable-pthread \ - --disable-rpath \ - --with-out-ext="${modules}" \ - $(use_enable jemalloc jemalloc) \ - $(use_enable socks5 socks) \ - $(use_enable doc install-doc) \ - --enable-ipv6 \ - $(use_enable debug) \ - ${myconf} \ - --enable-option-checking=no \ - || die "econf failed" -} - -src_compile() { - emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed" -} - -src_test() { - emake -j1 V=1 test || die "make test failed" - - elog "Ruby's make test has been run. Ruby also ships with a make check" - elog "that cannot be run until after ruby has been installed." - elog - if use rubytests; then - elog "You have enabled rubytests, so they will be installed to" - elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other" - elog "than root, and you must place them into a writeable directory." - elog "Then call: " - elog - elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb" - else - elog "Enable the rubytests USE flag to install the make check tests" - fi -} - -src_install() { - # Remove the remaining bundled gems. We do this late in the process - # since they are used during the build to e.g. create the - # documentation. - rm -rf ext/json || die - - # Ruby is involved in the install process, we don't want interference here. - unset RUBYOPT - - local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby) - - LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" - RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}" - for d in $(find "${S}/ext" -type d) ; do - RUBYLIB="${RUBYLIB}:$d" - done - export LD_LIBRARY_PATH RUBYLIB - - emake V=1 DESTDIR="${D}" install || die "make install failed" - - # Remove installed rubygems copy - rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed" - rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed" - rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed" - - if use doc; then - make DESTDIR="${D}" install-doc || die "make install-doc failed" - fi - - if use examples; then - insinto /usr/share/doc/${PF} - doins -r sample - fi - - dodoc ChangeLog NEWS doc/NEWS* README* || die - - if use rubytests; then - pushd test - insinto /usr/share/${PN}-${SLOT}/test - doins -r . - popd - fi -} - -pkg_postinst() { - if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then - eselect ruby set ruby${MY_SUFFIX} - fi - - elog - elog "To switch between available Ruby profiles, execute as root:" - elog "\teselect ruby set ruby(19|20|...)" - elog -} - -pkg_postrm() { - eselect ruby cleanup -} |