1 |
commit: 4bcb9babb4b499d77afb39f6ae120b534483bde8 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 31 07:23:04 2015 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 31 07:23:04 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bcb9bab |
7 |
|
8 |
dev-vcs/git: Removed old. |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
dev-vcs/git/Manifest | 3 - |
13 |
dev-vcs/git/git-2.4.7.ebuild | 636 ------------------------------------------- |
14 |
2 files changed, 639 deletions(-) |
15 |
|
16 |
diff --git a/dev-vcs/git/Manifest b/dev-vcs/git/Manifest |
17 |
index 5440af6..440a09a 100644 |
18 |
--- a/dev-vcs/git/Manifest |
19 |
+++ b/dev-vcs/git/Manifest |
20 |
@@ -6,7 +6,6 @@ DIST git-2.2.2.tar.xz 3592264 SHA256 aa6d2efcc0c7bb9b9edc6d56d90921706b833972f1d |
21 |
DIST git-2.3.6.tar.xz 3621716 SHA256 3ce01c54e92b47366756f57742280e052412efde65344e31f51ad8a48a7c60fc SHA512 53ad21db0fa6bb48ee24302c35ee929b1bd1fae3b646845523e7105b8539700cef23e2425170dec0311c7e746c41b743cfd78f192613b586291e44b49c3c284d WHIRLPOOL 12cf33fc19efea4f885a9b5c6d7099893b92742ffaad8e407016abfc5232ddd4763db95fc657a185830e2f904cdb2b04e8ad1c4305f09d77ff8f7db07c139799 |
22 |
DIST git-2.3.8.tar.xz 3622512 SHA256 cb4d9228f63b7a9500d55383878bb4bbb60b80deb7ae1a5858c7103ba14de5a6 SHA512 bf693fbe7fc16a240470501af2a7736ebfdbf027c0cc8adbd601d2b1c98ec7d968959e06dd8a3d0e206dc351e83a161475191d59d76f9e2da3e13b4de8716fb4 WHIRLPOOL 93aa2d832e57181de25035952a566c9d3330105e277930f088eb10e2073120c296b6dd87375437c9e9b7880c9b56e2c0de0fda5f77f0da9d2f96840c2fe8eda8 |
23 |
DIST git-2.4.6.tar.xz 3690432 SHA256 bdd944571c03474517b6c9941d6f1fd735eccbb164e59fd133d38644b69453b6 SHA512 2c95a00af81d6fbd8f4984e89d7cb23396caacadd684466aeb5a11f1b3acfbc625f832060cbef5aee0748e36c1fddcd88b3b9c26c4d7aec1d185e5f7311346ef WHIRLPOOL 1ae191666bf27a7e18686b910cbe610f85b5b7a43266232359615fa2a22b80bc659277b71b21394eab53df0c912d9ad911c7793c2a041cd6c7d768a5f0416f5b |
24 |
-DIST git-2.4.7.tar.xz 3691752 SHA256 6763f5ad1dfe29770aa0c523e08d53a0c7b9d32989bfbf2f39f368c7f61094de SHA512 7772d6e6466b6f835f506def455399fdfc81153975d9b259b1572cd332444187d61a19216f88476300c2030ff7a8baef794b6fe06203776e25f3f702bd31e5de WHIRLPOOL 75e630a448f6a94b179841e072900a68b57d6d9025535ff7a9e31db1591fd3290c4dda3a1a65a4ec91ad8f48fd9ad40b669a67d2d2ce0aff78831e6b41eda93d |
25 |
DIST git-2.4.8.tar.xz 3692460 SHA256 c7d2019d3c3b742862b252dcabb3d870b649e1af3fc8a132a0c0149f9e91dfcb SHA512 b1af6bf03dec006ed99601e66dda5b70e576c47d755d8fe5ca3cd974acc33cf2a6b76901549b56f6b4d3d3697f43c84dca35fc21c2cf5e8daad026f1bcc5b263 WHIRLPOOL e00d8e04c86ba611457547c71fb22ebef04b3a7e4316145b29cf073e4e58849bb62963b41660176f6d4e78b492c3b2ac513e80e8db42a91a4dcc31207718f012 |
26 |
DIST git-2.5.0.tar.xz 3740620 SHA256 cc59b1bac6c1c67a9159872863f6c5bbe0d9404cac2a85c3e9d9fa49923ce45c SHA512 ef7538c9f5ba5b2ac08962401c30e5fd51323b54b9fb5315d259adccec346e8fae9362815832dc2b5ce63a259b315c40e419bb2385dde04d84b992e62f6789b6 WHIRLPOOL 653e7aeb966dec44631bbd257a41935b2e957be9324311a4fd91f3a0ba6f1f674e2e59b4c564d70c4eeaea3788f0af9273a1d0a753b3bc820e687f0d63bddf5d |
27 |
DIST git-2.5.1.tar.xz 3741764 SHA256 b3ceb7b118221b8c74d0abdc62ab035a58360dbbd28ca17c53e301e517d4220f SHA512 95e12103fa1f3da06c7c8485417de7168a0aa7f3a60119808fbdb352f73b180368a9ee19ac455ece10ba29957d070c39c2313100562716ff7f9ea7e4f0de32f1 WHIRLPOOL 11cea9a28cbdb1eb707d73c6c07db0c7fb89754e5af3e91f713f9c31f7f515689070fe472a21bee4b7344bce7ae6790dc741e35cb20deac1ceb563a09b85ad39 |
28 |
@@ -18,7 +17,6 @@ DIST git-htmldocs-2.2.2.tar.xz 976312 SHA256 41179ff0816189d583f290a227a73788002 |
29 |
DIST git-htmldocs-2.3.6.tar.xz 987292 SHA256 b37439087ae465534588a65380e3acb66d3e6949904ede720febeed1dc5d8b49 SHA512 ccb836c3df4bfb96174500295c630aa1ac3bea475460434e4d097c3e178bec5a0b5037ff17281fe6a6bc7bb3ae6bcac03ee4009611bb222eccaebc3ae6aac81f WHIRLPOOL 8c58f108d1ea95bf552604b956e727dcf7a8f0eed8979239b0b6ab931aceffc76434137b5f76054563a09985bcaad0a03359da8791469adae71a3a8821084d58 |
30 |
DIST git-htmldocs-2.3.8.tar.xz 987840 SHA256 54b8d98e34bceeac906ffa8b7c93e8a2cd2cf3c7f4d0c0334e9d5e0c704ca23f SHA512 7aa72d55a6a2687a3ecb26f9db76f69e4003c87864b8239068b029a9d63f99a023bf76ec3ea60952ecf11608d2d684f4ad1b2ac76942cd44ec67bdf8f497330f WHIRLPOOL 60145b5a48a6780b0edb3a7ef50b3649193818e3aa8199de94dd9bf1cca110d7411902c8e7e3df881eec77aa59208780b60b946aeb5f13960de954af6fd88fbe |
31 |
DIST git-htmldocs-2.4.6.tar.xz 994712 SHA256 5213e8b882293ec3cda247dabbc75c6ee5243b9d330a8fafec004952fae91a88 SHA512 782fbc38a611380c0af2631bd6123d568b02159fb46159c763d97d75bd84debe43105d83ac3f321cd8383e1334806857bce1a48563fd0c19b43f527fe18615a8 WHIRLPOOL 170e4ecc8255e6d5d562274e6e3fb75c2fc62e415586d61498b680a076c74248664fca35bb7c532009f7f22be4ad14d1fe047e14791991fa32373bd7053e0396 |
32 |
-DIST git-htmldocs-2.4.7.tar.xz 995972 SHA256 ce0d1603f097b89c895613c864a7ac1ed8be36283b98298fff4fcafc2133dbc1 SHA512 1ea356f57299f41cfcb54baac17faf4f12ebb0b992769b0bf36dece800cb07d0b15b5b059d29a7e2469e885da1fa53f899e31e3c9cf58fd7fde4b2168ae19c41 WHIRLPOOL 3ffa7fc366e3a0855ecd6cc3af4577635072082236affc2079caaae2273d0965b0ea2e7fe2fb0d2bbc6b1c44b295325ca19065a4b9ba811bfc95bae94323245d |
33 |
DIST git-htmldocs-2.4.8.tar.xz 996004 SHA256 73c9ac3b42da1d3427bfa91c3266c6b7df332137d6ce92217c43db8f479a74ea SHA512 fcd93a76b19bd559ccb28829fa78ae0a2840a70e0c59a2709b2f089f1127b8452ee2f4e8e74128766f50eeeb560d924248d73336f2b5746305823834a9311db2 WHIRLPOOL 249390556106b13e4c02112085bd527720edcb67c85c61e429bea67bc252e7be3b6f4f641534bc342e534d154a9531379e3717d32e5109e48f886174022dce02 |
34 |
DIST git-htmldocs-2.5.0.tar.xz 1008428 SHA256 0924b290834e2a361a489cbc845a9bf04e56117597dc9c1a40e879cce655e4e2 SHA512 921ae8dd482719912f79f5affb6fa239290a954fb40625ac9fae2edf902989e5126ae7ca5c367b2b55c5387fb3cc3035ddf4e8b360743dbdee0f1b55ec33653c WHIRLPOOL e355781b06fba48d9ada859fe6fb515ddbfbac5a1d5c0918e8570e4566f68d644456606b5b0eb8e3e4cdc7c8b27a96b72cc1907008dff567cae71f0953968843 |
35 |
DIST git-htmldocs-2.5.1.tar.xz 1008284 SHA256 2ebf4761a793d4c8bdf49ff04937c08408c8903160d910eba5714786535d0c83 SHA512 2aeb811a3fe49d53c5c714a5c88e9ce562116b1cea52293e3908f440f56d3b78f9073ed22b163d2d385e76595b9e395f4e21af5a937c37fd5588db005dcc9309 WHIRLPOOL d2907376b9370d9c8c0c84fcb9234bab1c11ea73565be04736109c24bbad1776c8f26df4d8f52209f6b5b9e7b2e2aaa72eaddf846e5bf7ed758e6a31f3fef119 |
36 |
@@ -30,7 +28,6 @@ DIST git-manpages-2.2.2.tar.xz 369876 SHA256 d30688bb62763bf1b87f5eaf4c0a66c6899 |
37 |
DIST git-manpages-2.3.6.tar.xz 371620 SHA256 b1356f5cb3e7bf53445b08f24ea6950ef1f80031aedd6cd90e3ec60ff1f06b02 SHA512 c7ff2e6aea8c0c12009f29724c899e606b6620e7d408ee3c536fb5239ebcaa0b790a6ee1287dccd88df8776fbc2e72e799124426dbacd82e12f05e3f9f3c909a WHIRLPOOL 7117ba84d888ea448807f3bf51f958b86de011afed1bbad78abf4390c1a77f799f77781f4d9bf1e9287ab903b912b7ca270433c1f4a1f112a4cb4840dde3d400 |
38 |
DIST git-manpages-2.3.8.tar.xz 371528 SHA256 4d38de9decf80864480fcd5cc58783e3bff4e22383b281193acd82ffa3751fe2 SHA512 8c6aaf60e4b6505ae6789fa658ff15534cf5dfa51c03fdf47a624723b75a8448d71faa9f4ee61c5c243b775c4047dd2ffffc664b37e7f38b60c90fc56252ed93 WHIRLPOOL c6068de21f53e20ec17cd724059d91781e81abf617c2169c1099997afdeac371a59927d9db0b98c1f64c66b3de016b351b08a2f37a43038a924137f6f139a72e |
39 |
DIST git-manpages-2.4.6.tar.xz 373408 SHA256 f32d267bdaab75812dbd116d2b329d6dc7287a974e929e380e8cbf96e3822b8e SHA512 fa0562b8cc3e0421f7b45940f8cd4b58a5e58a1eb8571e2de85babf8ffd932fd210baa82aefe3c6090cb7dc51f64f299143be51beaacb37be97832b4a8e2a869 WHIRLPOOL 595beed93c621ffd9b7e0b507fc2941156975190eca8b638826ac32b6ea761bbb08f05e152dc88a7a3dbd168ab083a0128d61e72fae51cd0e94a8c91a1adb3ee |
40 |
-DIST git-manpages-2.4.7.tar.xz 373568 SHA256 cbf3171d93edea466325809c26c6946716402f7f9ae32e31e97384b2a96377f9 SHA512 e3c59ef02824d553257d5cc78e727ceca75cf1c6ba68375fe6482812ec5ff8684319ada2c38c00574509958bff0f3af732c509726f02e48517c6a8f84ea4f154 WHIRLPOOL 1be4ef465d3446ec8ae4c5ddb25f2fe66ec4b9d116a5789176e83513606cbcd70ecf07038d86903acc93a52a187d99a7c62d3593bc0d7b43a4a7af4ccac6c7ac |
41 |
DIST git-manpages-2.4.8.tar.xz 373596 SHA256 47558ec88776e66e6f3e3625b7efdaf2e8ad447cb7af199d60d0788d7f4438c4 SHA512 bb5dc6d7a9af05f2f5a3665f0bac29e5a08919412d69cc756981c88eaa6cf5b8cbe93e04e1aa10d2a48706178eb33a547f416ee191bdb8d25483212aa7e30e5e WHIRLPOOL 0b4ab3099b6604f17a6ff741a9d752c76772ca4f7a02e55db4cbff1e14878c3bdcb25d5e4a71dd2f7a81525475aea35d9ef09d203d949984d95ef02f9865f33c |
42 |
DIST git-manpages-2.5.0.tar.xz 377856 SHA256 1a6ea7220b1693eb384af0978a990ea8c0c634a7869d1ef63a2c8e427fc7f6ea SHA512 b3a5f2e8107c529ce81c1570a82472195e205ff1a8ddc75f4f0cbbf25f37a916700156df4418888c8a8a153ab58d5507a31027fb31faadeb5d4ba242847ab28d WHIRLPOOL 09f13622fff6a2b04a8ad584dab54c0b17cbfc6e803ca9e2deadab18071e50b50b37e395bb4746aff2e013f5b0025f8cdb1d439d8e6f3a659fad32646b30f4c7 |
43 |
DIST git-manpages-2.5.1.tar.xz 378028 SHA256 6e403070ee71678acad0b7f53bc5327e13b42cebccc6769177fe0b4a11f042e3 SHA512 bfb421a1a7e50483b3d9c0fe6d1ec9047c4aef48b0a59b854e8adfc8a19054d14ae524fcd0ced9edfb797ea3e01fcf3f6a02b8a2f1cc0e947efd444654063b7d WHIRLPOOL d2342a9945d31741397a0be7e1a89cf4b0ce3165555dfabca33cbadba9f1e33ba6f8004a8b539ccc1462aeb27d865bf9c194884741639615d24148966eb59d47 |
44 |
|
45 |
diff --git a/dev-vcs/git/git-2.4.7.ebuild b/dev-vcs/git/git-2.4.7.ebuild |
46 |
deleted file mode 100644 |
47 |
index 352b93a..0000000 |
48 |
--- a/dev-vcs/git/git-2.4.7.ebuild |
49 |
+++ /dev/null |
50 |
@@ -1,636 +0,0 @@ |
51 |
-# Copyright 1999-2015 Gentoo Foundation |
52 |
-# Distributed under the terms of the GNU General Public License v2 |
53 |
-# $Id$ |
54 |
- |
55 |
-EAPI=5 |
56 |
- |
57 |
-GENTOO_DEPEND_ON_PERL=no |
58 |
- |
59 |
-# bug #329479: git-remote-testgit is not multiple-version aware |
60 |
-PYTHON_COMPAT=( python2_7 ) |
61 |
-[[ ${PV} == *9999 ]] && SCM="git-2" |
62 |
-EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" |
63 |
-EGIT_MASTER=pu |
64 |
- |
65 |
-inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python-single-r1 systemd ${SCM} |
66 |
- |
67 |
-MY_PV="${PV/_rc/.rc}" |
68 |
-MY_P="${PN}-${MY_PV}" |
69 |
- |
70 |
-DOC_VER=${MY_PV} |
71 |
- |
72 |
-DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team" |
73 |
-HOMEPAGE="http://www.git-scm.com/" |
74 |
-if [[ ${PV} != *9999 ]]; then |
75 |
- SRC_URI_SUFFIX="xz" |
76 |
- SRC_URI_GOOG="https://git-core.googlecode.com/files" |
77 |
- SRC_URI_KORG="mirror://kernel/software/scm/git" |
78 |
- SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
79 |
- ${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX} |
80 |
- ${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
81 |
- ${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
82 |
- doc? ( |
83 |
- ${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
84 |
- ${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
85 |
- )" |
86 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
87 |
-fi |
88 |
- |
89 |
-LICENSE="GPL-2" |
90 |
-SLOT="0" |
91 |
-IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv mediawiki +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test" |
92 |
- |
93 |
-# Common to both DEPEND and RDEPEND |
94 |
-CDEPEND=" |
95 |
- dev-libs/openssl:0= |
96 |
- sys-libs/zlib |
97 |
- pcre? ( dev-libs/libpcre ) |
98 |
- perl? ( dev-lang/perl:=[-build(-)] ) |
99 |
- tk? ( dev-lang/tk:0= ) |
100 |
- curl? ( |
101 |
- net-misc/curl |
102 |
- webdav? ( dev-libs/expat ) |
103 |
- ) |
104 |
- emacs? ( virtual/emacs ) |
105 |
- gnome-keyring? ( gnome-base/libgnome-keyring )" |
106 |
- |
107 |
-RDEPEND="${CDEPEND} |
108 |
- gpg? ( app-crypt/gnupg ) |
109 |
- mediawiki? ( |
110 |
- dev-perl/HTML-Tree |
111 |
- dev-perl/MediaWiki-API |
112 |
- ) |
113 |
- perl? ( dev-perl/Error |
114 |
- dev-perl/Net-SMTP-SSL |
115 |
- dev-perl/Authen-SASL |
116 |
- cgi? ( dev-perl/CGI highlight? ( app-text/highlight ) ) |
117 |
- cvs? ( >=dev-vcs/cvsps-2.1:0 dev-perl/DBI dev-perl/DBD-SQLite ) |
118 |
- subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey ) |
119 |
- ) |
120 |
- python? ( gtk? |
121 |
- ( |
122 |
- >=dev-python/pygtk-2.8[${PYTHON_USEDEP}] |
123 |
- >=dev-python/pygtksourceview-2.10.1-r1:2[${PYTHON_USEDEP}] |
124 |
- ) |
125 |
- ${PYTHON_DEPS} )" |
126 |
- |
127 |
-# This is how info docs are created with Git: |
128 |
-# .txt/asciidoc --(asciidoc)---------> .xml/docbook |
129 |
-# .xml/docbook --(docbook2texi.pl)--> .texi |
130 |
-# .texi --(makeinfo)---------> .info |
131 |
-DEPEND="${CDEPEND} |
132 |
- doc? ( |
133 |
- app-text/asciidoc |
134 |
- app-text/docbook2X |
135 |
- sys-apps/texinfo |
136 |
- app-text/xmlto |
137 |
- ) |
138 |
- nls? ( sys-devel/gettext ) |
139 |
- test? ( app-crypt/gnupg )" |
140 |
- |
141 |
-# Live ebuild builds man pages and HTML docs, additionally |
142 |
-if [[ ${PV} == *9999 ]]; then |
143 |
- DEPEND="${DEPEND} |
144 |
- app-text/asciidoc" |
145 |
-fi |
146 |
- |
147 |
-SITEFILE=50${PN}-gentoo.el |
148 |
-S="${WORKDIR}/${MY_P}" |
149 |
- |
150 |
-REQUIRED_USE=" |
151 |
- cgi? ( perl ) |
152 |
- cvs? ( perl ) |
153 |
- mediawiki? ( perl ) |
154 |
- subversion? ( perl ) |
155 |
- webdav? ( curl ) |
156 |
- gtk? ( python ) |
157 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
158 |
-" |
159 |
- |
160 |
-pkg_setup() { |
161 |
- if use subversion && has_version "dev-vcs/subversion[dso]"; then |
162 |
- ewarn "Per Gentoo bugs #223747, #238586, when subversion is built" |
163 |
- ewarn "with USE=dso, there may be weird crashes in git-svn. You" |
164 |
- ewarn "have been warned." |
165 |
- fi |
166 |
- if use python ; then |
167 |
- python-single-r1_pkg_setup |
168 |
- fi |
169 |
-} |
170 |
- |
171 |
-# This is needed because for some obscure reasons future calls to make don't |
172 |
-# pick up these exports if we export them in src_unpack() |
173 |
-exportmakeopts() { |
174 |
- local myopts |
175 |
- |
176 |
- if use blksha1 ; then |
177 |
- myopts+=" BLK_SHA1=YesPlease" |
178 |
- elif use ppcsha1 ; then |
179 |
- myopts+=" PPC_SHA1=YesPlease" |
180 |
- fi |
181 |
- |
182 |
- if use curl ; then |
183 |
- use webdav || myopts+=" NO_EXPAT=YesPlease" |
184 |
- else |
185 |
- myopts+=" NO_CURL=YesPlease" |
186 |
- fi |
187 |
- |
188 |
- # broken assumptions, because of broken build system ... |
189 |
- myopts+=" NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease" |
190 |
- myopts+=" INSTALL=install TAR=tar" |
191 |
- myopts+=" SHELL_PATH=${EPREFIX}/bin/sh" |
192 |
- myopts+=" SANE_TOOL_PATH=" |
193 |
- myopts+=" OLD_ICONV=" |
194 |
- myopts+=" NO_EXTERNAL_GREP=" |
195 |
- |
196 |
- # For svn-fe |
197 |
- extlibs="-lz -lssl ${S}/xdiff/lib.a $(usex threads -lpthread '')" |
198 |
- |
199 |
- # can't define this to null, since the entire makefile depends on it |
200 |
- sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile |
201 |
- |
202 |
- use iconv \ |
203 |
- || myopts+=" NO_ICONV=YesPlease" |
204 |
- use nls \ |
205 |
- || myopts+=" NO_GETTEXT=YesPlease" |
206 |
- use tk \ |
207 |
- || myopts+=" NO_TCLTK=YesPlease" |
208 |
- use pcre \ |
209 |
- && myopts+=" USE_LIBPCRE=yes" \ |
210 |
- && extlibs+=" -lpcre" |
211 |
- use perl \ |
212 |
- && myopts+=" INSTALLDIRS=vendor" \ |
213 |
- || myopts+=" NO_PERL=YesPlease" |
214 |
- use python \ |
215 |
- || myopts+=" NO_PYTHON=YesPlease" |
216 |
- use subversion \ |
217 |
- || myopts+=" NO_SVN_TESTS=YesPlease" |
218 |
- use threads \ |
219 |
- && myopts+=" THREADED_DELTA_SEARCH=YesPlease" \ |
220 |
- || myopts+=" NO_PTHREADS=YesPlease" |
221 |
- use cvs \ |
222 |
- || myopts+=" NO_CVS=YesPlease" |
223 |
-# Disabled until ~m68k-mint can be keyworded again |
224 |
-# if [[ ${CHOST} == *-mint* ]] ; then |
225 |
-# myopts+=" NO_MMAP=YesPlease" |
226 |
-# myopts+=" NO_IPV6=YesPlease" |
227 |
-# myopts+=" NO_STRLCPY=YesPlease" |
228 |
-# myopts+=" NO_MEMMEM=YesPlease" |
229 |
-# myopts+=" NO_MKDTEMP=YesPlease" |
230 |
-# myopts+=" NO_MKSTEMPS=YesPlease" |
231 |
-# fi |
232 |
- if [[ ${CHOST} == ia64-*-hpux* ]]; then |
233 |
- myopts+=" NO_NSEC=YesPlease" |
234 |
- fi |
235 |
- if [[ ${CHOST} == *-*-aix* ]]; then |
236 |
- myopts+=" NO_FNMATCH_CASEFOLD=YesPlease" |
237 |
- fi |
238 |
- if [[ ${CHOST} == *-solaris* ]]; then |
239 |
- myopts+=" NEEDS_LIBICONV=YesPlease" |
240 |
- fi |
241 |
- |
242 |
- has_version '>=app-text/asciidoc-8.0' \ |
243 |
- && myopts+=" ASCIIDOC8=YesPlease" |
244 |
- myopts+=" ASCIIDOC_NO_ROFF=YesPlease" |
245 |
- |
246 |
- # Bug 290465: |
247 |
- # builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim' |
248 |
- [[ "${CHOST}" == *-uclibc* ]] && \ |
249 |
- myopts+=" NO_NSEC=YesPlease" |
250 |
- |
251 |
- export MY_MAKEOPTS="${myopts}" |
252 |
- export EXTLIBS="${extlibs}" |
253 |
-} |
254 |
- |
255 |
-src_unpack() { |
256 |
- if [[ ${PV} != *9999 ]]; then |
257 |
- unpack ${MY_P}.tar.${SRC_URI_SUFFIX} |
258 |
- cd "${S}" |
259 |
- unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
260 |
- use doc && \ |
261 |
- cd "${S}"/Documentation && \ |
262 |
- unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} |
263 |
- cd "${S}" |
264 |
- else |
265 |
- git-2_src_unpack |
266 |
- cd "${S}" |
267 |
- #cp "${FILESDIR}"/GIT-VERSION-GEN . |
268 |
- fi |
269 |
- |
270 |
-} |
271 |
- |
272 |
-src_prepare() { |
273 |
- # bug #350330 - automagic CVS when we don't want it is bad. |
274 |
- epatch "${FILESDIR}"/git-2.2.2-optional-cvs.patch |
275 |
- |
276 |
- # install mediawiki perl modules also in vendor_dir |
277 |
- # hack, needs better upstream solution |
278 |
- epatch "${FILESDIR}"/git-1.8.5-mw-vendor.patch |
279 |
- |
280 |
- epatch "${FILESDIR}"/git-2.2.0-svn-fe-linking.patch |
281 |
- |
282 |
- epatch_user |
283 |
- |
284 |
- sed -i \ |
285 |
- -e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \ |
286 |
- -e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \ |
287 |
- -e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \ |
288 |
- -e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \ |
289 |
- -e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ |
290 |
- -e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \ |
291 |
- Makefile contrib/svn-fe/Makefile || die "sed failed" |
292 |
- |
293 |
- # Never install the private copy of Error.pm (bug #296310) |
294 |
- sed -i \ |
295 |
- -e '/private-Error.pm/s,^,#,' \ |
296 |
- perl/Makefile.PL |
297 |
- |
298 |
- # Fix docbook2texi command |
299 |
- sed -r -i 's/DOCBOOK2X_TEXI[[:space:]]*=[[:space:]]*docbook2x-texi/DOCBOOK2X_TEXI = docbook2texi.pl/' \ |
300 |
- Documentation/Makefile || die "sed failed" |
301 |
- |
302 |
- # Fix git-subtree missing DESTDIR |
303 |
- sed -i \ |
304 |
- -e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \ |
305 |
- -e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \ |
306 |
- contrib/subtree/Makefile |
307 |
-} |
308 |
- |
309 |
-git_emake() { |
310 |
- # bug #326625: PERL_PATH, PERL_MM_OPT |
311 |
- # bug #320647: PYTHON_PATH |
312 |
- PYTHON_PATH="" |
313 |
- use python && PYTHON_PATH="${PYTHON}" |
314 |
- emake ${MY_MAKEOPTS} \ |
315 |
- DESTDIR="${D}" \ |
316 |
- OPTCFLAGS="${CFLAGS}" \ |
317 |
- OPTLDFLAGS="${LDFLAGS}" \ |
318 |
- OPTCC="$(tc-getCC)" \ |
319 |
- OPTAR="$(tc-getAR)" \ |
320 |
- prefix="${EPREFIX}"/usr \ |
321 |
- htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
322 |
- sysconfdir="${EPREFIX}"/etc \ |
323 |
- PYTHON_PATH="${PYTHON_PATH}" \ |
324 |
- PERL_MM_OPT="" \ |
325 |
- GIT_TEST_OPTS="--no-color" \ |
326 |
- V=1 \ |
327 |
- "$@" |
328 |
- # This is the fix for bug #326625, but it also causes breakage, see bug |
329 |
- # #352693. |
330 |
- # PERL_PATH="${EPREFIX}/usr/bin/env perl" \ |
331 |
-} |
332 |
- |
333 |
-src_configure() { |
334 |
- exportmakeopts |
335 |
-} |
336 |
- |
337 |
-src_compile() { |
338 |
- if use perl ; then |
339 |
- git_emake perl/PM.stamp || die "emake perl/PM.stamp failed" |
340 |
- git_emake perl/perl.mak || die "emake perl/perl.mak failed" |
341 |
- fi |
342 |
- git_emake || die "emake failed" |
343 |
- |
344 |
- if use emacs ; then |
345 |
- elisp-compile contrib/emacs/git{,-blame}.el |
346 |
- fi |
347 |
- |
348 |
- if use perl && use cgi ; then |
349 |
- git_emake \ |
350 |
- gitweb \ |
351 |
- || die "emake gitweb (cgi) failed" |
352 |
- fi |
353 |
- |
354 |
- if [[ ${CHOST} == *-darwin* ]]; then |
355 |
- cd "${S}"/contrib/credential/osxkeychain || die "cd credential/osxkeychain" |
356 |
- git_emake || die "emake credential-osxkeychain" |
357 |
- fi |
358 |
- |
359 |
- cd "${S}"/Documentation |
360 |
- if [[ ${PV} == *9999 ]] ; then |
361 |
- git_emake man \ |
362 |
- || die "emake man failed" |
363 |
- if use doc ; then |
364 |
- git_emake info html \ |
365 |
- || die "emake info html failed" |
366 |
- fi |
367 |
- else |
368 |
- if use doc ; then |
369 |
- git_emake info \ |
370 |
- || die "emake info html failed" |
371 |
- fi |
372 |
- fi |
373 |
- |
374 |
- if use subversion ; then |
375 |
- cd "${S}"/contrib/svn-fe |
376 |
- # by defining EXTLIBS we override the detection for libintl and |
377 |
- # libiconv, bug #516168 |
378 |
- local nlsiconv= |
379 |
- use nls && use !elibc_glibc && nlsiconv+=" -lintl" |
380 |
- use iconv && use !elibc_glibc && nlsiconv+=" -liconv" |
381 |
- git_emake EXTLIBS="${EXTLIBS} ${nlsiconv}" || die "emake svn-fe failed" |
382 |
- if use doc ; then |
383 |
- git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed" |
384 |
- fi |
385 |
- cd "${S}" |
386 |
- fi |
387 |
- |
388 |
- if use gnome-keyring ; then |
389 |
- cd "${S}"/contrib/credential/gnome-keyring |
390 |
- git_emake || die "emake git-credential-gnome-keyring failed" |
391 |
- fi |
392 |
- |
393 |
- cd "${S}"/contrib/subtree |
394 |
- git_emake |
395 |
- use doc && git_emake doc |
396 |
- |
397 |
- if use mediawiki ; then |
398 |
- cd "${S}"/contrib/mw-to-git |
399 |
- git_emake |
400 |
- fi |
401 |
-} |
402 |
- |
403 |
-src_install() { |
404 |
- git_emake \ |
405 |
- install || \ |
406 |
- die "make install failed" |
407 |
- |
408 |
- if [[ ${CHOST} == *-darwin* ]]; then |
409 |
- dobin contrib/credential/osxkeychain/git-credential-osxkeychain |
410 |
- fi |
411 |
- |
412 |
- # Depending on the tarball and manual rebuild of the documentation, the |
413 |
- # manpages may exist in either OR both of these directories. |
414 |
- find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157] |
415 |
- find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157] |
416 |
- |
417 |
- dodoc README Documentation/{SubmittingPatches,CodingGuidelines} |
418 |
- use doc && dodir /usr/share/doc/${PF}/html |
419 |
- for d in / /howto/ /technical/ ; do |
420 |
- docinto ${d} |
421 |
- dodoc Documentation${d}*.txt |
422 |
- use doc && dohtml -p ${d} Documentation${d}*.html |
423 |
- done |
424 |
- docinto / |
425 |
- # Upstream does not ship this pre-built :-( |
426 |
- use doc && doinfo Documentation/{git,gitman}.info |
427 |
- |
428 |
- newbashcomp contrib/completion/git-completion.bash ${PN} |
429 |
- bashcomp_alias git gitk |
430 |
- # Not really a bash-completion file (bug #477920) |
431 |
- # but still needed uncompressed (bug #507480) |
432 |
- insinto /usr/share/${PN} |
433 |
- doins contrib/completion/git-prompt.sh |
434 |
- |
435 |
- if use emacs ; then |
436 |
- elisp-install ${PN} contrib/emacs/git.{el,elc} |
437 |
- elisp-install ${PN} contrib/emacs/git-blame.{el,elc} |
438 |
- #elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc} |
439 |
- # don't add automatically to the load-path, so the sitefile |
440 |
- # can do a conditional loading |
441 |
- touch "${ED}${SITELISP}/${PN}/compat/.nosearch" |
442 |
- elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
443 |
- fi |
444 |
- |
445 |
- if use python && use gtk ; then |
446 |
- python_doscript "${S}"/contrib/gitview/gitview |
447 |
- dodoc "${S}"/contrib/gitview/gitview.txt |
448 |
- fi |
449 |
- |
450 |
- #dobin contrib/fast-import/git-p4 # Moved upstream |
451 |
- #dodoc contrib/fast-import/git-p4.txt # Moved upstream |
452 |
- newbin contrib/fast-import/import-tars.perl import-tars |
453 |
- exeinto /usr/libexec/git-core/ |
454 |
- newexe contrib/git-resurrect.sh git-resurrect |
455 |
- |
456 |
- # git-subtree |
457 |
- cd "${S}"/contrib/subtree |
458 |
- git_emake install || die "Failed to emake install git-subtree" |
459 |
- if use doc ; then |
460 |
- git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree" |
461 |
- fi |
462 |
- newdoc README README.git-subtree |
463 |
- dodoc git-subtree.txt |
464 |
- cd "${S}" |
465 |
- |
466 |
- if use mediawiki ; then |
467 |
- cd "${S}"/contrib/mw-to-git |
468 |
- git_emake install |
469 |
- cd "${S}" |
470 |
- fi |
471 |
- |
472 |
- # diff-highlight |
473 |
- dobin contrib/diff-highlight/diff-highlight |
474 |
- newdoc contrib/diff-highlight/README README.diff-highlight |
475 |
- |
476 |
- # git-jump |
477 |
- exeinto /usr/libexec/git-core/ |
478 |
- doexe contrib/git-jump/git-jump |
479 |
- newdoc contrib/git-jump/README git-jump.txt |
480 |
- |
481 |
- # git-contacts |
482 |
- exeinto /usr/libexec/git-core/ |
483 |
- doexe contrib/contacts/git-contacts |
484 |
- dodoc contrib/contacts/git-contacts.txt |
485 |
- |
486 |
- if use gnome-keyring ; then |
487 |
- cd "${S}"/contrib/credential/gnome-keyring |
488 |
- dobin git-credential-gnome-keyring |
489 |
- fi |
490 |
- |
491 |
- if use subversion ; then |
492 |
- cd "${S}"/contrib/svn-fe |
493 |
- dobin svn-fe |
494 |
- dodoc svn-fe.txt |
495 |
- use doc && doman svn-fe.1 && dohtml svn-fe.html |
496 |
- cd "${S}" |
497 |
- fi |
498 |
- |
499 |
- dodir /usr/share/${PN}/contrib |
500 |
- # The following are excluded: |
501 |
- # completion - installed above |
502 |
- # credential/gnome-keyring TODO |
503 |
- # diff-highlight - done above |
504 |
- # emacs - installed above |
505 |
- # examples - these are stuff that is not used in Git anymore actually |
506 |
- # git-jump - done above |
507 |
- # gitview - installed above |
508 |
- # p4import - excluded because fast-import has a better one |
509 |
- # patches - stuff the Git guys made to go upstream to other places |
510 |
- # persistent-https - TODO |
511 |
- # mw-to-git - TODO |
512 |
- # subtree - build seperately |
513 |
- # svnimport - use git-svn |
514 |
- # thunderbird-patch-inline - fixes thunderbird |
515 |
- for i in \ |
516 |
- buildsystems convert-objects fast-import \ |
517 |
- hg-to-git hooks remotes2config.sh rerere-train.sh \ |
518 |
- stats workdir \ |
519 |
- ; do |
520 |
- cp -rf \ |
521 |
- "${S}"/contrib/${i} \ |
522 |
- "${ED}"/usr/share/${PN}/contrib \ |
523 |
- || die "Failed contrib ${i}" |
524 |
- done |
525 |
- |
526 |
- if use perl && use cgi ; then |
527 |
- # We used to install in /usr/share/${PN}/gitweb |
528 |
- # but upstream installs in /usr/share/gitweb |
529 |
- # so we will install a symlink and use their location for compat with other |
530 |
- # distros |
531 |
- dosym /usr/share/gitweb /usr/share/${PN}/gitweb |
532 |
- |
533 |
- # INSTALL discusses configuration issues, not just installation |
534 |
- docinto / |
535 |
- newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb |
536 |
- newdoc "${S}"/gitweb/README README.gitweb |
537 |
- |
538 |
- find "${ED}"/usr/lib64/perl5/ \ |
539 |
- -name .packlist \ |
540 |
- -exec rm \{\} \; |
541 |
- else |
542 |
- rm -rf "${ED}"/usr/share/gitweb |
543 |
- fi |
544 |
- |
545 |
- if ! use subversion ; then |
546 |
- rm -f "${ED}"/usr/libexec/git-core/git-svn \ |
547 |
- "${ED}"/usr/share/man/man1/git-svn.1* |
548 |
- fi |
549 |
- |
550 |
- if use xinetd ; then |
551 |
- insinto /etc/xinetd.d |
552 |
- newins "${FILESDIR}"/git-daemon.xinetd git-daemon |
553 |
- fi |
554 |
- |
555 |
- if use !prefix ; then |
556 |
- newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon |
557 |
- newconfd "${FILESDIR}"/git-daemon.confd git-daemon |
558 |
- systemd_newunit "${FILESDIR}/git-daemon_at.service" "git-daemon@.service" |
559 |
- systemd_dounit "${FILESDIR}/git-daemon.socket" |
560 |
- fi |
561 |
- |
562 |
- perl_delete_localpod |
563 |
-} |
564 |
- |
565 |
-src_test() { |
566 |
- local disabled="" #t7004-tag.sh" #520270 |
567 |
- local tests_cvs="t9200-git-cvsexportcommit.sh \ |
568 |
- t9400-git-cvsserver-server.sh \ |
569 |
- t9401-git-cvsserver-crlf.sh \ |
570 |
- t9402-git-cvsserver-refs.sh \ |
571 |
- t9600-cvsimport.sh \ |
572 |
- t9601-cvsimport-vendor-branch.sh \ |
573 |
- t9602-cvsimport-branches-tags.sh \ |
574 |
- t9603-cvsimport-patchsets.sh \ |
575 |
- t9604-cvsimport-timestamps.sh" |
576 |
- local tests_perl="t3701-add-interactive.sh \ |
577 |
- t5502-quickfetch.sh \ |
578 |
- t5512-ls-remote.sh \ |
579 |
- t5520-pull.sh \ |
580 |
- t7106-reset-unborn-branch.sh \ |
581 |
- t7501-commit.sh" |
582 |
- # Bug #225601 - t0004 is not suitable for root perm |
583 |
- # Bug #219839 - t1004 is not suitable for root perm |
584 |
- # t0001-init.sh - check for init notices EPERM* fails |
585 |
- local tests_nonroot="t0001-init.sh \ |
586 |
- t0004-unwritable.sh \ |
587 |
- t0070-fundamental.sh \ |
588 |
- t1004-read-tree-m-u-wf.sh \ |
589 |
- t3700-add.sh \ |
590 |
- t7300-clean.sh" |
591 |
- # t9100 still fails with symlinks in SVN 1.7 |
592 |
- local test_svn="t9100-git-svn-basic.sh" |
593 |
- |
594 |
- # Unzip is used only for the testcase code, not by any normal parts of Git. |
595 |
- if ! has_version app-arch/unzip ; then |
596 |
- einfo "Disabling tar-tree tests" |
597 |
- disabled="${disabled} t5000-tar-tree.sh" |
598 |
- fi |
599 |
- |
600 |
- cvs=0 |
601 |
- use cvs && let cvs=$cvs+1 |
602 |
- if [[ ${EUID} -eq 0 ]]; then |
603 |
- if [[ $cvs -eq 1 ]]; then |
604 |
- ewarn "Skipping CVS tests because CVS does not work as root!" |
605 |
- ewarn "You should retest with FEATURES=userpriv!" |
606 |
- disabled="${disabled} ${tests_cvs}" |
607 |
- fi |
608 |
- einfo "Skipping other tests that require being non-root" |
609 |
- disabled="${disabled} ${tests_nonroot}" |
610 |
- else |
611 |
- [[ $cvs -gt 0 ]] && \ |
612 |
- has_version dev-vcs/cvs && \ |
613 |
- let cvs=$cvs+1 |
614 |
- [[ $cvs -gt 1 ]] && \ |
615 |
- has_version "dev-vcs/cvs[server]" && \ |
616 |
- let cvs=$cvs+1 |
617 |
- if [[ $cvs -lt 3 ]]; then |
618 |
- einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])" |
619 |
- disabled="${disabled} ${tests_cvs}" |
620 |
- fi |
621 |
- fi |
622 |
- |
623 |
- if ! use perl ; then |
624 |
- einfo "Disabling tests that need Perl" |
625 |
- disabled="${disabled} ${tests_perl}" |
626 |
- fi |
627 |
- |
628 |
- einfo "Disabling tests that fail with SVN 1.7" |
629 |
- disabled="${disabled} ${test_svn}" |
630 |
- |
631 |
- # Reset all previously disabled tests |
632 |
- cd "${S}/t" |
633 |
- for i in *.sh.DISABLED ; do |
634 |
- [[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}" |
635 |
- done |
636 |
- einfo "Disabled tests:" |
637 |
- for i in ${disabled} ; do |
638 |
- [[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i" |
639 |
- done |
640 |
- |
641 |
- # Avoid the test system removing the results because we want them ourselves |
642 |
- sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \ |
643 |
- -i "${S}"/t/Makefile |
644 |
- |
645 |
- # Clean old results first, must always run |
646 |
- cd "${S}/t" |
647 |
- nonfatal git_emake clean |
648 |
- |
649 |
- # Now run the tests, keep going if we hit an error, and don't terminate on |
650 |
- # failure |
651 |
- cd "${S}" |
652 |
- einfo "Start test run" |
653 |
- #MAKEOPTS=-j1 |
654 |
- nonfatal git_emake --keep-going test |
655 |
- rc=$? |
656 |
- |
657 |
- # Display nice results, now print the results |
658 |
- cd "${S}/t" |
659 |
- nonfatal git_emake aggregate-results |
660 |
- |
661 |
- # And bail if there was a problem |
662 |
- [ $rc -eq 0 ] || die "tests failed. Please file a bug." |
663 |
-} |
664 |
- |
665 |
-showpkgdeps() { |
666 |
- local pkg=$1 |
667 |
- shift |
668 |
- elog " $(printf "%-17s:" ${pkg}) ${@}" |
669 |
-} |
670 |
- |
671 |
-pkg_postinst() { |
672 |
- use emacs && elisp-site-regen |
673 |
- einfo "Please read /usr/share/bash-completion/git for Git bash command completion" |
674 |
- einfo "Please read /usr/share/git/git-prompt.sh for Git bash prompt" |
675 |
- einfo "Note that the prompt bash code is now in that separate script" |
676 |
- elog "These additional scripts need some dependencies:" |
677 |
- echo |
678 |
- showpkgdeps git-quiltimport "dev-util/quilt" |
679 |
- showpkgdeps git-instaweb \ |
680 |
- "|| ( www-servers/lighttpd www-servers/apache www-servers/nginx )" |
681 |
- echo |
682 |
-} |
683 |
- |
684 |
-pkg_postrm() { |
685 |
- use emacs && elisp-site-regen |
686 |
-} |