diff options
author | Tim Harder <radhermit@gentoo.org> | 2013-11-24 23:06:31 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2013-11-24 23:06:31 +0000 |
commit | bec006845773cce714c9eee46dd9eef11851cacc (patch) | |
tree | 64841a1eae1827358c29d687d85139e3c2edef20 /dev-libs | |
parent | mask games-action/brutal-legend for hardened no-multilib (diff) | |
download | historical-bec006845773cce714c9eee46dd9eef11851cacc.tar.gz historical-bec006845773cce714c9eee46dd9eef11851cacc.tar.bz2 historical-bec006845773cce714c9eee46dd9eef11851cacc.zip |
Version bump, add trace use flag.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libgit2/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libgit2/Manifest | 17 | ||||
-rw-r--r-- | dev-libs/libgit2/files/libgit2-0.20.0-skip-blame-test.patch | 147 | ||||
-rw-r--r-- | dev-libs/libgit2/libgit2-0.20.0.ebuild | 63 | ||||
-rw-r--r-- | dev-libs/libgit2/metadata.xml | 1 |
5 files changed, 230 insertions, 6 deletions
diff --git a/dev-libs/libgit2/ChangeLog b/dev-libs/libgit2/ChangeLog index 6e50664ff978..5df696fcf15d 100644 --- a/dev-libs/libgit2/ChangeLog +++ b/dev-libs/libgit2/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libgit2 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgit2/ChangeLog,v 1.16 2013/11/16 12:24:07 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgit2/ChangeLog,v 1.17 2013/11/24 23:06:29 radhermit Exp $ + +*libgit2-0.20.0 (24 Nov 2013) + + 24 Nov 2013; Tim Harder <radhermit@gentoo.org> +libgit2-0.20.0.ebuild, + +files/libgit2-0.20.0-skip-blame-test.patch, metadata.xml: + Version bump, add trace use flag. 16 Nov 2013; Pacho Ramos <pacho@gentoo.org> libgit2-0.19.0-r1.ebuild: amd64 stable, bug #488774 diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest index 30c8ea57ca05..1d9e400d182b 100644 --- a/dev-libs/libgit2/Manifest +++ b/dev-libs/libgit2/Manifest @@ -3,21 +3,28 @@ Hash: SHA256 AUX libgit2-0.17.0-cflags.patch 658 SHA256 90d0ef9f55bf7652bdb6c1c0268781b24f0c87bdcbe8a984896e51c6f8ba4a15 SHA512 3d71b765a6bf4cf745002264769fb942f0680be31ab75f78c0a16c2c75b72ff61412d088926280aba212c6cffd80e74bef79c4f9816e0cb16db6eaf4a444b708 WHIRLPOOL 8601ae12b753d30ee7358d9abcac8d7e1bd64450f3fbcc00b034de8e3afd213f3e598f03eb044593218b776f8905fef353319d3d9d57cfd39cf02485193029ab AUX libgit2-0.19.0-automagic-libssh2.patch 744 SHA256 b4203fdc304faaa5a8351b3fcc6b1d7f922d85c59ae3bc7ef8d10176e894e827 SHA512 e8a23db4a2416f93bcb823e630726fade3e532648743b95a7deffce9ec0a75e612b33a83bfac1dc08e82c4b8b343339a0b12112c1c2aa7bb115e84dafdde9f50 WHIRLPOOL 471f21a37e83728f19d529ae8aab011a8b831efd745b5faf5edae7bc01fd3215ff1e70004018b6585dc7e2af1c0b2555a4c634bafdf2184dd74d68940b0a7a8e +AUX libgit2-0.20.0-skip-blame-test.patch 10001 SHA256 633f9ceba09338955f58179575549ead456d88761463c00cbbe8d7f87fbb8e57 SHA512 c34556fa02d5591318d304ef32e772314b22e4fdee72bce0dd6a37a8e742c518503e8ff9f305148c3d40e2821b258af8820c8a4869bc30245a832b1695ac3c70 WHIRLPOOL ed7f338ab5726d4d7e4394df45cafb4a444896d3ba880d3577231667aace880ed8c0958898bcd341a1c7a905a35d30917c02fb6184bb11f33639e5a5069bf5a9 DIST libgit2-0.16.0.tar.gz 1042613 SHA256 b84e5353ebc41e785f777a4977da9fa3eaf19f71c07eb2a2c23c2ceafb811597 SHA512 cc12ce986ee9d179a7e5b01607d69ee212a4885b0487a06d5cfaba3ecb538932fc9baec86dcb44936e47ab8eb43838b9b4108541c07833d9d688e36cd03ab8c6 WHIRLPOOL 5f557998f3be9e984c78c89fd5a6036f1b44100bcf1c6c12c9dd8a59193dea827498a3ba5e1fc822eb537880607f152ddc9daa1693c972a62098947196d78dd1 DIST libgit2-0.17.0.tar.gz 2096159 SHA256 068eed0b8fe852a7cc55aae46d2299e9c9e3e00badc1c293d72a9dd122226018 SHA512 a51420ae78be1f81104afdb58fdb9d7681a1a3ec3ee907b04bc2f2c5a8629a331b34d0fc67fa8e98d809a4352971149307553bbfec6799d919e84d292456a764 WHIRLPOOL c37f0301487375b47b77f4f7869830e2dc9d0c4227c36e3a7e8e72b7f27794be321dd047f13394f2828016bcbeb1375784ad873743b2c0e45bfb85b2c8a463cb DIST libgit2-0.18.0.tar.gz 2958095 SHA256 88a6ef6f87905e0b574123b85c5746025a408c6169e754906e939acbca75ac5f SHA512 3fc1610667a4a0bb9d7ace11e65d590178bcd8687a2866fa7687123468bad7dcaf6365b3e593b686e727bc62746e655eb4a08d5ddb7d69e65c5bad1b1e6fc2be WHIRLPOOL 9ffa51954b893bb0ef5ac6a1866282e11ffbd6e9277e20222ddb34e45af16df8a0ab1014425ae956baf0ab905cc0875a67ad9c7c86e02ac700b43940a1be301a DIST libgit2-0.19.0.tar.gz 3122978 SHA256 f526f8cf5547c70fe00169d587ca18367541a95fad5849352c3e2ffc94d583bf SHA512 e14b71e5e9b0c97255b47d35dd216ad24aeba04050a3407a90ac422b27df87cc0ad97b538230d07b7299863c7d1c3919dc2912713add31b7c585949cd4b436be WHIRLPOOL 0e551738f1dedf13a103a71f8e4149620e341a36da2f737c5fb10cd461ba77e1367f8bdff9304142b72919c6940db9d7afc40cfd5ab7e661fe6c4b60b36d54a2 +DIST libgit2-0.20.0.tar.gz 3255478 SHA256 509ab8091623df5b745cd13682539ca2dc2372051d3418355a7acc5b4a20c2f1 SHA512 0512a2d6daa149f6c6bada3b9ea8b228d6ba9180d7030cf41f3e9888fb15f068ef7c7722f636f8750c4643b58453299179d73e0b71e08ae79439060a27efe9d6 WHIRLPOOL 996a3639bd8f598b07f12115a2af0b5d28de51163338c34b39872046776a0144e57a0598ab493dcf717fa16ed093d9b00546009d2a4426a27a0451e97759783b EBUILD libgit2-0.16.0.ebuild 895 SHA256 ecdf998b2a5c407e1053258338e21c8b1fd25445032436ef6dfb5820f955cc22 SHA512 3b750d44c423fbdc31a938078b20fc60e1b48ad8975c791bb69dabf6bf0d3b3c8bc55478149dc6ed36310ccb26737aaae646d1fae52295c5784f0fd2d89f85f0 WHIRLPOOL 12d3ae7c3d7d8f2ede7fdd65969d4b7046d0fe72690c55923c7ffb779d0d7d2f9368ff2243f25cd9039b90e30e232708a9f069a9021ef52aa0f209341d11cb54 EBUILD libgit2-0.17.0.ebuild 941 SHA256 78e5e0d9e9bb0de5c0e8fc1eb93b69d678e902afe320d79118c465173357ad08 SHA512 9469ae73ce1d964add6aef484951dbbde26dbb92ec43ac380c45fb54f8be80407465db63ae1e556b739207e0fd5e9d5b3bb3a3a403c30e3f20aceea8612e4324 WHIRLPOOL 170c21d8ae79ea9db5e7b8e90f3c2efbc0f0706034b7a2de6d2a081464da42951efd7f5162d86b86311b4189e08a4e317cd6efa319a55c8f65e6dd202e584662 EBUILD libgit2-0.18.0.ebuild 928 SHA256 d7bd50ed0aa5e0aa59b4020d5dfbf3d65c9ce85cb0a75aaff5a838b5e6987ed9 SHA512 83db45d633001e5c5c8d673967cffdb367e2c789fd31a148e981cf64e9cbed3f0c2de86b50d222c92682f799790401997d59d0b2850e12e92a16afd5a9fbeaab WHIRLPOOL 3aa48db23013c4c5259e3a7f5bd68de1ca9844a9e3067d7841c92b50ef35936a5ee3561cd2104db468372cbe7ee78cf20f64843452dfb87541b65a67fae924f6 EBUILD libgit2-0.19.0-r1.ebuild 1071 SHA256 e1bc4a9b55dcff8234021d0329ef1486013feeb4ff5840e714e012cd18474a02 SHA512 b43f4ae1a051f6f71a63ebe5b036d0158c21d518310895486f7efcf44478aa2c06a9da1f818e91eb48a22394d3330b2d10f0c62bf4b0fe3b1d1049af5191ff52 WHIRLPOOL 34ecf9b945e2c5ee6d535efdd9e9091efb5ae31ae842e44d2dadb780cf23a58f09aa6ec083406c9a12bff5ad92fffdab66b4c4baca02290b92d2d14d1251d70d EBUILD libgit2-0.19.0.ebuild 928 SHA256 9ca56d1c87e5f1b1060067c6dd023212dfd258167bf7825c8578a9c206956486 SHA512 67c2ff1a485eae5332da8a779f91750b8b4a425645603c67b410e4ebdb3983e5019229e990de035123b0f79189cb91b91c41635e6928b6969ffd0de5ea8b051f WHIRLPOOL 06fe0a9e695e53af6ba5e53513510f48145291ce2f03d33fbb9834c9c905218e501394f1756575b5408abf2d3be7360c1676450493a94760d33073cbab4e9807 -MISC ChangeLog 2278 SHA256 c24abe4942b974386f7cc0166c7a84257fe3a3b7a193a160d686eb770f1b7502 SHA512 1162935350d174588f73199bf942569223d8f10cbce92ff983883dae4e9b04758477d3eb60ceb1244265380b96101c89b8c5203fd0132b8cc01b63ef311da39a WHIRLPOOL 44f0b858328f2de9e6118e13969ad29fe4d7700f345d6883c1e89ac2eaef19175307a3fb1308d2b1dc164024fc514fe6be9ff6e62e80b014cde0e61dacadc673 -MISC metadata.xml 588 SHA256 5eb64eee22a2fea75bafe03b3eca0492cc4eebdd9f1556f9ad5609f85716073f SHA512 d8f607477dd40b0de376a4f6dfc174a5f7672cf9296068e407e2a4d75d6029b36c84c20b79909493f31bc731354324d6d431d3f5784db18299e64cea8fc44f49 WHIRLPOOL 7f14d3b0ade29a9f77ce145b6404e5f1bbc2d94ed6066ee19afa3424b5d36fb19a775f3799a3fea1c46ecf20d527a8ab1b5e4393543ab5cfbec4ae1268fec994 +EBUILD libgit2-0.20.0.ebuild 1583 SHA256 f3133ebea691afe03296ca4e038b63c2ecfbcd3e967d289ab261f2fe5732c2a3 SHA512 b0600d25de19c4ba63bc3780c74efa966b7d43cdeff53768b90b5a0b2eeb8d78dd9680ba5eee95e3e96e2be38630c7cf5a35783b7269e2acca0b26cadf8e243f WHIRLPOOL be3d209da7932664caa7630c70599b7bdd5069bc901ff485cbbc4524967a8b9e770de382282a3d2b2c8d8d1dc37368392dae20f2daf1121fee625e0184f90327 +MISC ChangeLog 2484 SHA256 a28f35dcdfdab0346cae24eda036c97585364b3283d51d9fa684139c207e0c9e SHA512 7b95b5c3d96c109f716dea4227970ef28664ed845202ba2c20b7ea064fcb46f5e2acecfc2135650e7c3d7b41ad3da0d182746547c8c98bc1c58d43f12fb9d77b WHIRLPOOL 55abe8332431058791db1f1d2981310277eb1a3b167a953b815b233a60612df6f469b2763cf727bc15b5ec1a9434b2444c60eeb833d2eba5c09655c26e96768f +MISC metadata.xml 639 SHA256 2ee02d474ff56e9f217bd3a95b1a95188913b99e8943409efd12302906464172 SHA512 1584d8a07810c3e23fe45e1cf8bc6e6fee02c5b8d8f2cf238fc6121f826d32998579d7ccbce1b8637e7d88f5bb7e032de53e9d9f477c05d56fc6887c26b3a52c WHIRLPOOL 4982315c01d7a1c0bca5805045b82a3f5edefd5aabbb190ea315dee030c2fbd134709f26c414adf86f9ee494284e281450c759f087c1fc580a6e329c6fa06a72 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlKHY+gACgkQCaWpQKGI+9S5tQCfaBaPhyUzIjyFp3vnVOb0z0QK -GF4An2X/7R3RtRc+aqBX00dks8Qi89Gy -=TLr3 +iQEcBAEBCAAGBQJSkoZ2AAoJEEqz6FtPBkyjNWkH/3PGznCnOJjYYoxbd1AysMRs +O9PEksOu9SLYja2nR4Bgqf1ZWIdDhZ7oQRFJOFRFTxXFHX7T04BHl6JTgzqc6CBj +ZAsNn54Nb4WEV9BXlkGIbvg9JzHdmzVPuT1OgFIbJxkBWVoSoVW9AKekUqXKB9oN +/kXXSkmRSHlzcIvNhT//SjdqPBFIbgR5jRs2+EmsuFhiLecP5HmKd8npQVFwyEK+ +KjAEnZFWadi1vhgKxfOMZQ4dnIg4AY+wBEqo5aRp7eo8VdzUxCULqO7odZz3ZHr+ +UtrQl0Y4KdhTPfhxavtzW368bi5XsVpJKVSj8EtuNLhsmMGyuxkWhXS58fCotKw= +=468d -----END PGP SIGNATURE----- diff --git a/dev-libs/libgit2/files/libgit2-0.20.0-skip-blame-test.patch b/dev-libs/libgit2/files/libgit2-0.20.0-skip-blame-test.patch new file mode 100644 index 000000000000..de70672cd169 --- /dev/null +++ b/dev-libs/libgit2/files/libgit2-0.20.0-skip-blame-test.patch @@ -0,0 +1,147 @@ +Skip test that requires the libgit2 git repo. + +--- libgit2-0.20.0/tests/blame/simple.c ++++ libgit2-0.20.0/tests/blame/simple.c +@@ -130,74 +130,74 @@ + * bf477ed4 include/git2.h 45 (Michael Schubert 2012-02-15 00:33:38 +0100 59 + * d12299fe src/git.h 49 (Vicent MartĂ 2010-12-03 22:22:10 +0200 60 + */ +-void test_blame_simple__trivial_libgit2(void) +-{ +- git_blame_options opts = GIT_BLAME_OPTIONS_INIT; +- git_object *obj; +- +- cl_git_pass(git_repository_open(&g_repo, cl_fixture("../.."))); +- +- /* This test can't work on a shallow clone */ +- if (git_repository_is_shallow(g_repo)) +- return; +- +- cl_git_pass(git_revparse_single(&obj, g_repo, "359fc2d")); +- git_oid_cpy(&opts.newest_commit, git_object_id(obj)); +- git_object_free(obj); +- +- cl_git_pass(git_blame_file(&g_blame, g_repo, "include/git2.h", &opts)); +- +- check_blame_hunk_index(g_repo, g_blame, 0, 1, 1, 0, "d12299fe", "src/git.h"); +- check_blame_hunk_index(g_repo, g_blame, 1, 2, 1, 0, "359fc2d2", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 2, 3, 1, 0, "d12299fe", "src/git.h"); +- check_blame_hunk_index(g_repo, g_blame, 3, 4, 2, 0, "bb742ede", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 4, 6, 5, 0, "d12299fe", "src/git.h"); +- check_blame_hunk_index(g_repo, g_blame, 5, 11, 1, 0, "96fab093", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 6, 12, 1, 0, "9d1dcca2", "src/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 7, 13, 1, 0, "44908fe7", "src/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 8, 14, 1, 0, "a15c550d", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 9, 15, 1, 0, "44908fe7", "src/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 10, 16, 1, 0, "d12299fe", "src/git.h"); +- check_blame_hunk_index(g_repo, g_blame, 11, 17, 1, 0, "44908fe7", "src/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 12, 18, 1, 0, "d12299fe", "src/git.h"); +- check_blame_hunk_index(g_repo, g_blame, 13, 19, 1, 0, "44908fe7", "src/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 14, 20, 1, 0, "638c2ca4", "src/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 15, 21, 1, 0, "44908fe7", "src/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 16, 22, 1, 0, "d12299fe", "src/git.h"); +- check_blame_hunk_index(g_repo, g_blame, 17, 23, 2, 0, "44908fe7", "src/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 18, 25, 1, 0, "bf787bd8", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 19, 26, 1, 0, "0984c876", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 20, 27, 1, 0, "2f8a8ab2", "src/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 21, 28, 1, 0, "27df4275", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 22, 29, 1, 0, "a346992f", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 23, 30, 1, 0, "d12299fe", "src/git.h"); +- check_blame_hunk_index(g_repo, g_blame, 24, 31, 5, 0, "44908fe7", "src/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 25, 36, 1, 0, "65b09b1d", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 26, 37, 1, 0, "d12299fe", "src/git.h"); +- check_blame_hunk_index(g_repo, g_blame, 27, 38, 1, 0, "44908fe7", "src/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 28, 39, 1, 0, "5d4cd003", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 29, 40, 1, 0, "41fb1ca0", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 30, 41, 1, 0, "2dc31040", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 31, 42, 1, 0, "764df57e", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 32, 43, 1, 0, "5280f4e6", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 33, 44, 1, 0, "613d5eb9", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 34, 45, 1, 0, "d12299fe", "src/git.h"); +- check_blame_hunk_index(g_repo, g_blame, 35, 46, 1, 0, "111ee3fe", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 36, 47, 1, 0, "f004c4a8", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 37, 48, 1, 0, "111ee3fe", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 38, 49, 1, 0, "9c82357b", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 39, 50, 1, 0, "d6258deb", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 40, 51, 1, 0, "b311e313", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 41, 52, 1, 0, "3412391d", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 42, 53, 1, 0, "bfc9ca59", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 43, 54, 1, 0, "bf477ed4", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 44, 55, 1, 0, "edebceff", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 45, 56, 1, 0, "743a4b3b", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 46, 57, 1, 0, "0a32dca5", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 47, 58, 1, 0, "590fb68b", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 48, 59, 1, 0, "bf477ed4", "include/git2.h"); +- check_blame_hunk_index(g_repo, g_blame, 49, 60, 1, 0, "d12299fe", "src/git.h"); +-} ++//void test_blame_simple__trivial_libgit2(void) ++//{ ++// git_blame_options opts = GIT_BLAME_OPTIONS_INIT; ++// git_object *obj; ++// ++// cl_git_pass(git_repository_open(&g_repo, cl_fixture("../.."))); ++// ++// /* This test can't work on a shallow clone */ ++// if (git_repository_is_shallow(g_repo)) ++// return; ++// ++// cl_git_pass(git_revparse_single(&obj, g_repo, "359fc2d")); ++// git_oid_cpy(&opts.newest_commit, git_object_id(obj)); ++// git_object_free(obj); ++// ++// cl_git_pass(git_blame_file(&g_blame, g_repo, "include/git2.h", &opts)); ++// ++// check_blame_hunk_index(g_repo, g_blame, 0, 1, 1, 0, "d12299fe", "src/git.h"); ++// check_blame_hunk_index(g_repo, g_blame, 1, 2, 1, 0, "359fc2d2", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 2, 3, 1, 0, "d12299fe", "src/git.h"); ++// check_blame_hunk_index(g_repo, g_blame, 3, 4, 2, 0, "bb742ede", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 4, 6, 5, 0, "d12299fe", "src/git.h"); ++// check_blame_hunk_index(g_repo, g_blame, 5, 11, 1, 0, "96fab093", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 6, 12, 1, 0, "9d1dcca2", "src/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 7, 13, 1, 0, "44908fe7", "src/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 8, 14, 1, 0, "a15c550d", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 9, 15, 1, 0, "44908fe7", "src/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 10, 16, 1, 0, "d12299fe", "src/git.h"); ++// check_blame_hunk_index(g_repo, g_blame, 11, 17, 1, 0, "44908fe7", "src/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 12, 18, 1, 0, "d12299fe", "src/git.h"); ++// check_blame_hunk_index(g_repo, g_blame, 13, 19, 1, 0, "44908fe7", "src/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 14, 20, 1, 0, "638c2ca4", "src/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 15, 21, 1, 0, "44908fe7", "src/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 16, 22, 1, 0, "d12299fe", "src/git.h"); ++// check_blame_hunk_index(g_repo, g_blame, 17, 23, 2, 0, "44908fe7", "src/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 18, 25, 1, 0, "bf787bd8", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 19, 26, 1, 0, "0984c876", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 20, 27, 1, 0, "2f8a8ab2", "src/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 21, 28, 1, 0, "27df4275", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 22, 29, 1, 0, "a346992f", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 23, 30, 1, 0, "d12299fe", "src/git.h"); ++// check_blame_hunk_index(g_repo, g_blame, 24, 31, 5, 0, "44908fe7", "src/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 25, 36, 1, 0, "65b09b1d", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 26, 37, 1, 0, "d12299fe", "src/git.h"); ++// check_blame_hunk_index(g_repo, g_blame, 27, 38, 1, 0, "44908fe7", "src/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 28, 39, 1, 0, "5d4cd003", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 29, 40, 1, 0, "41fb1ca0", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 30, 41, 1, 0, "2dc31040", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 31, 42, 1, 0, "764df57e", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 32, 43, 1, 0, "5280f4e6", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 33, 44, 1, 0, "613d5eb9", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 34, 45, 1, 0, "d12299fe", "src/git.h"); ++// check_blame_hunk_index(g_repo, g_blame, 35, 46, 1, 0, "111ee3fe", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 36, 47, 1, 0, "f004c4a8", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 37, 48, 1, 0, "111ee3fe", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 38, 49, 1, 0, "9c82357b", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 39, 50, 1, 0, "d6258deb", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 40, 51, 1, 0, "b311e313", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 41, 52, 1, 0, "3412391d", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 42, 53, 1, 0, "bfc9ca59", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 43, 54, 1, 0, "bf477ed4", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 44, 55, 1, 0, "edebceff", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 45, 56, 1, 0, "743a4b3b", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 46, 57, 1, 0, "0a32dca5", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 47, 58, 1, 0, "590fb68b", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 48, 59, 1, 0, "bf477ed4", "include/git2.h"); ++// check_blame_hunk_index(g_repo, g_blame, 49, 60, 1, 0, "d12299fe", "src/git.h"); ++//} + + + /* diff --git a/dev-libs/libgit2/libgit2-0.20.0.ebuild b/dev-libs/libgit2/libgit2-0.20.0.ebuild new file mode 100644 index 000000000000..3c9f2fe84fe8 --- /dev/null +++ b/dev-libs/libgit2/libgit2-0.20.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgit2/libgit2-0.20.0.ebuild,v 1.1 2013/11/24 23:06:29 radhermit Exp $ + +EAPI=5 + +inherit cmake-utils multilib + +DESCRIPTION="A linkable library for Git" +HOMEPAGE="http://libgit2.github.com/" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc-macos" +IUSE="examples ssh test trace" + +RDEPEND="sys-libs/zlib + net-libs/http-parser + ssh? ( net-libs/libssh2 )" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md ) + +PATCHES=( "${FILESDIR}"/${P}-skip-blame-test.patch ) + +src_prepare() { + # skip online tests + sed -i '/libgit2_clar/s/-ionline/-xonline/' CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" + $(cmake-utils_use_build test CLAR) + $(cmake-utils_use_enable trace TRACE) + $(cmake-utils_use_use ssh SSH) + ) + cmake-utils_src_configure +} + +src_test() { + if [[ ${EUID} -eq 0 ]] ; then + # repo::iterator::fs_preserves_error fails if run as root + # since root can still access dirs with 0000 perms + ewarn "Skipping tests: non-root privileges are required for all tests to pass" + else + local TEST_VERBOSE=1 + cmake-utils_src_test + fi +} + +src_install() { + cmake-utils_src_install + + if use examples ; then + find examples -name .gitignore -delete + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-libs/libgit2/metadata.xml b/dev-libs/libgit2/metadata.xml index 2a4a9abf7a50..1239596b7eaa 100644 --- a/dev-libs/libgit2/metadata.xml +++ b/dev-libs/libgit2/metadata.xml @@ -12,5 +12,6 @@ </longdescription> <use> <flag name="ssh">Enable SSH transport support</flag> + <flag name="trace">Enable tracing support</flag> </use> </pkgmetadata> |