From: Fernando J. Pereda Date: Wed, 4 Apr 2007 11:11:18 +0000 (+0000) Subject: Remove unused versions. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dc658e488d24da0e826b70d5125093307caf46c4;p=gentoo.git Remove unused versions. Package-Manager: portage-2.1.2.2 --- diff --git a/dev-util/git/ChangeLog b/dev-util/git/ChangeLog index b2062270e2e1..d44add7825c3 100644 --- a/dev-util/git/ChangeLog +++ b/dev-util/git/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/git # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.177 2007/04/04 10:43:02 ferdy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.178 2007/04/04 11:11:18 ferdy Exp $ + + 04 Apr 2007; Fernando J. Pereda -git-1.4.2.4.ebuild, + -git-1.4.4.3.ebuild: + Remove unused versions. *git-1.5.1 (04 Apr 2007) *git-1.5.0.7 (04 Apr 2007) diff --git a/dev-util/git/Manifest b/dev-util/git/Manifest index f99b996ad799..0a7dec000d33 100644 --- a/dev-util/git/Manifest +++ b/dev-util/git/Manifest @@ -22,20 +22,14 @@ MD5 ceec7fba7a2c00fd6d8d46dd39c9b721 files/git-daemon.xinetd 260 RMD160 9c1abde72ac5064e1fc86afd29c2a74079db91a4 files/git-daemon.xinetd 260 SHA256 6a3503904204163775722e8a455e4ebaa8648f6d288340979387ad4eb55f4c0a files/git-daemon.xinetd 260 DIST git-1.4.1.1.tar.bz2 752419 RMD160 1e8c8cc2ee0685fb0ece9e0ee0720cb608140c05 SHA1 376a96ecf68cf90fa0b29fde700e5e947967531a SHA256 e4a9ef8403c3716f7494d4865ee6c3e862b93012df41522237ace91f68a6d6ce -DIST git-1.4.2.4.tar.bz2 787793 RMD160 03664bb1c98c7d9dc8c6f1dfa56149d807fd5164 SHA1 ff80a407cbad5b759adaecf434b37b293a167096 SHA256 1efbbee0e3e8704b25ef6fbc9519ba6f94a21aee48a231b986408627a4017632 -DIST git-1.4.4.3.tar.bz2 888091 RMD160 06184ee7e16c12687b4a644c38d23ff7732e4c54 SHA1 d41b8e62b2c0b5f3ea994bed4618a44cbcfb319e SHA256 5485e66a811f8a047124f1358ded268916fcf07ecccb9345f429b4ea8b76603e DIST git-1.4.4.4.tar.bz2 888482 RMD160 a507e7d636e771fb3ed03054d3d70e6758385c28 SHA1 b9243da9071d28f616b530eff94a46fb223cc368 SHA256 b2117774fb96d53f4b07d89df389ee0097f29637c859ec8fecc020cf37622657 DIST git-1.5.0.7.tar.bz2 1053367 RMD160 c8ad03381005152d2513e0d12099d976ccad42a9 SHA1 1e0d09f27cd8eb3ac96590ed4c1baba459d5359e SHA256 6fae7d1de3f4ec2b04423d6af194bf75c9262785997c80fc4e1cd5e62b1b7ada DIST git-1.5.1.tar.bz2 1116847 RMD160 9acc58b4ae03e01b08bef014adc198168fc7eaa0 SHA1 cbfa03c55887bc561704089e6a522fb3827ad779 SHA256 e033d99b951f287548360799deb006d0f565193e3f24a60e63b3978164a6cb8b DIST git-htmldocs-1.4.1.1.tar.bz2 263120 RMD160 4a50c2cec7ecd612690ee5dd0f7fbe69f11fe1bf SHA1 6a22f41064f1db29e69a65ad2177e9f6e18aea77 SHA256 8e4ccf995645fe08f7644b62535c4054515355942b5f3551fcbebd3f5ec36d1d -DIST git-htmldocs-1.4.2.4.tar.bz2 283907 RMD160 6aaa9e601cc16d4e45176e58fbbc87a332afb243 SHA1 e05b2ef0a5354b8c6ff4d043d620e0b229cda7a9 SHA256 90f3ad4bced74bbadfc6f02a1c3d222a6bcf13d940b9aef368b7cbae083c1f86 -DIST git-htmldocs-1.4.4.3.tar.bz2 325744 RMD160 52c8f9088ca969255ff93f719563b65f43a59a9f SHA1 1ab02de5bae511f07b19c6048626160d99ff145c SHA256 cca1f7dec9dd063d78920e4d2f7a9a47fa57cfd883b872883b60795541c2c585 DIST git-htmldocs-1.4.4.4.tar.bz2 325718 RMD160 cf55f807769e8aa731d512b654e847089d25ea0e SHA1 66192a27b74aef8e673252174dda8c9be23dcd7a SHA256 196e901cd416f48b8068a10914455a27aa542bc821f677a705a69fb950145975 DIST git-htmldocs-1.5.0.7.tar.bz2 450009 RMD160 0292aa6e166b5ccc3dd89eaeb0b56ab9a98b25f8 SHA1 4767bc6c617d1b5906acc3cc869b870c9743d294 SHA256 9f9dd3beb5b267080a556239bb0a99b5d2ac396cdd15b38c932976a0ec24b823 DIST git-htmldocs-1.5.1.tar.bz2 465654 RMD160 e3aaf861db1534e89c594e94ae81e4731cb3b4e6 SHA1 9b1db614e5084697d79ea8eda1a7bb1c12ac4e84 SHA256 611643c1db52ce106dfc139465deae10dc2667d7c238365974bedb6e371a3cce DIST git-manpages-1.4.1.1.tar.bz2 83956 RMD160 894b8717e9e4099f7aacb97a3673e81c09e23daf SHA1 c899fbdef72bdfdb29c03e3372ee736781d58289 SHA256 2b2759a15eb9432e972743846c7299518e542e99a23a7318c540f0086e746ee4 -DIST git-manpages-1.4.2.4.tar.bz2 90375 RMD160 0b3d486d04a5a64aab273c75823c603f307fcd02 SHA1 961b3981f074663ec64bbbc5b82fdab0c45b7919 SHA256 6e0520fd779225e79957871d981ddfc9e93f157374de88f654d4f20958557518 -DIST git-manpages-1.4.4.3.tar.bz2 104756 RMD160 b10969ec6702606ea348d9a6fe05831e28fbcc00 SHA1 decdee44cca3f89843a290402c30422dde9edfa1 SHA256 7f11c3f55a86fc7e445e6bf97d049564e586902bb53e48c6048b7ce0ad90675e DIST git-manpages-1.4.4.4.tar.bz2 103840 RMD160 488e8ad8514180ed1d2d2d0d5e948351d4092f29 SHA1 17d7246560049ebcab7e7a67c2b82e8fb233e42e SHA256 73f136bd93683fa559b22c8770acaebce70699798f6797e840d23a2a5cffa3a4 DIST git-manpages-1.5.0.7.tar.bz2 126927 RMD160 37028035ea1aca310c79bd079ae1d1e65ca9fe32 SHA1 66de3c514b1942920b66f434350f55e2ff70f90e SHA256 df6879361c0e671e3a228e3bd9954d9f712a7c74e9e151e4ca89bb6037d4dbba DIST git-manpages-1.5.1.tar.bz2 131561 RMD160 47825ae5708b5e5fd81dc6c297d89e084230e96a SHA1 a0e314cafe5e7e7228e0a240442b45300e5ec658 SHA256 4b85b57e07828f0eac2c0fddb4ade4b8efcc0bfdaa7a090752a8d07f19c299ea @@ -43,14 +37,6 @@ EBUILD git-1.4.1.1.ebuild 4338 RMD160 c60faee4041943f56b2b64abde8b26bc7a9d1e17 S MD5 62bdf011ee3296485f8c8fbc2f3ecd35 git-1.4.1.1.ebuild 4338 RMD160 c60faee4041943f56b2b64abde8b26bc7a9d1e17 git-1.4.1.1.ebuild 4338 SHA256 d0435724636b6ff0749af989a7d493284df3eb38d2c0bcd1b0f29a33d726e606 git-1.4.1.1.ebuild 4338 -EBUILD git-1.4.2.4.ebuild 4372 RMD160 8e23acbcfc178c6fdb9e5ad3fd4145932f757019 SHA1 8f717a0618a39bb1a65786263c1bb957dda415d0 SHA256 1d9b614f93615fba4583c0117ba705abaef228639c7551bc0fd5d2028b64ad49 -MD5 97fd685c3ce83390898e006b3069094a git-1.4.2.4.ebuild 4372 -RMD160 8e23acbcfc178c6fdb9e5ad3fd4145932f757019 git-1.4.2.4.ebuild 4372 -SHA256 1d9b614f93615fba4583c0117ba705abaef228639c7551bc0fd5d2028b64ad49 git-1.4.2.4.ebuild 4372 -EBUILD git-1.4.4.3.ebuild 4259 RMD160 01a2400deefe0648274f841b5df002f90f6fe201 SHA1 44955b0f9234f03deda27c00e5aa064414f38183 SHA256 87f7f86a7344187b1a50f1e16cd678f86f557752791083cf3f4bcefd479980d1 -MD5 5f6b0b14241869a4b5e9452423f80742 git-1.4.4.3.ebuild 4259 -RMD160 01a2400deefe0648274f841b5df002f90f6fe201 git-1.4.4.3.ebuild 4259 -SHA256 87f7f86a7344187b1a50f1e16cd678f86f557752791083cf3f4bcefd479980d1 git-1.4.4.3.ebuild 4259 EBUILD git-1.4.4.4.ebuild 4257 RMD160 5da21ba7d97aa3d0c9238b633c70c916445d8bcd SHA1 7166c31e89e01ae7cf7c0b08c6af7acb22ac8a67 SHA256 963f02c4077e2ca70a12f7300caa552a0bfccf76d57dc8b02a1ed3099efe3493 MD5 844bef7b02245814e4362aa29566e57b git-1.4.4.4.ebuild 4257 RMD160 5da21ba7d97aa3d0c9238b633c70c916445d8bcd git-1.4.4.4.ebuild 4257 @@ -63,10 +49,10 @@ EBUILD git-1.5.1.ebuild 4374 RMD160 99b57a14ca6b555d5dbddfa64ff7999d06d94391 SHA MD5 7a88c0dfe1848ae94832cfdf12c0c44f git-1.5.1.ebuild 4374 RMD160 99b57a14ca6b555d5dbddfa64ff7999d06d94391 git-1.5.1.ebuild 4374 SHA256 c287d955c27d18d2a8ff97b8bebe85e3c2efb0ac6a980b85e0e98e5aac73167f git-1.5.1.ebuild 4374 -MISC ChangeLog 25519 RMD160 ebf1c0f71ae245ef0c737dc8055d173649fa95a8 SHA1 452c9f1d06aaa03504694462ddf7262ea89fcfb2 SHA256 76ebd39ac71db144c9713139d5b53ef49992c082ac02a91261d437bbd48cea50 -MD5 99c1e116c73cf3e877bcdbdb0644a58b ChangeLog 25519 -RMD160 ebf1c0f71ae245ef0c737dc8055d173649fa95a8 ChangeLog 25519 -SHA256 76ebd39ac71db144c9713139d5b53ef49992c082ac02a91261d437bbd48cea50 ChangeLog 25519 +MISC ChangeLog 25643 RMD160 88099da340f55fa76e9ff1a8ebb8372c5715424b SHA1 e2ba53b7cae363c60735e61ba4418c321a4b8bc3 SHA256 7c63ac99cdcd30e14ecb9b7afde082bd48ace73df79af124da746029ddcb30a3 +MD5 c4429088b1190cf5c7f48c44f748f539 ChangeLog 25643 +RMD160 88099da340f55fa76e9ff1a8ebb8372c5715424b ChangeLog 25643 +SHA256 7c63ac99cdcd30e14ecb9b7afde082bd48ace73df79af124da746029ddcb30a3 ChangeLog 25643 MISC metadata.xml 253 RMD160 e09bab6a5a422f501b8e07a3983c5790e00ac92a SHA1 7c2340e011ce57927ff31d7e3397ef4bb1c7ad27 SHA256 1f2e9f9f57e781c296ac5c39c54eabf82a47b7facd0698b296bc76f50799432c MD5 22c5a3ad567fa12332dab8687b9c2d1c metadata.xml 253 RMD160 e09bab6a5a422f501b8e07a3983c5790e00ac92a metadata.xml 253 @@ -74,12 +60,6 @@ SHA256 1f2e9f9f57e781c296ac5c39c54eabf82a47b7facd0698b296bc76f50799432c metadata MD5 43cefb6f4dfa6dc58ada3c40a898c127 files/digest-git-1.4.1.1 765 RMD160 b55a303812b93075ee95e067dc6047c542caf8d2 files/digest-git-1.4.1.1 765 SHA256 c4659a8be91474f1005a6c0fec5ea794c5f406dd9b74ffe047ceef76517891a4 files/digest-git-1.4.1.1 765 -MD5 9fb07bda15a4aab8cfe357e7c558d1aa files/digest-git-1.4.2.4 765 -RMD160 174be578a6d9b7fe8b580b1ab1e77d1842a9f151 files/digest-git-1.4.2.4 765 -SHA256 d48ebc25dd2dcb75d72f633f74f2754ddb2fd25894abe15cb0159e429dccb7a5 files/digest-git-1.4.2.4 765 -MD5 beefd1f4ff4f54bfe0888fbce5026ffa files/digest-git-1.4.4.3 768 -RMD160 c0337f2dc4c1f48d7438d007a73a7fcb0ef199f0 files/digest-git-1.4.4.3 768 -SHA256 666f5fe026723735f156653f2565168d6c3f902e176d9c009a4c75ae992e475b files/digest-git-1.4.4.3 768 MD5 0edc8e793ae211228a6b9b338d242566 files/digest-git-1.4.4.4 768 RMD160 ade2fb97dffc61de86d80cffc0b4292ba9027bda files/digest-git-1.4.4.4 768 SHA256 ace650aa865e2cbf70cf1e76a858085da178e9f98f58f28bbabbc972be98467e files/digest-git-1.4.4.4 768 @@ -92,7 +72,7 @@ SHA256 cc08e568a94b7c7a55ee7b93eb95421a4074299ed91952ada21b7acc13fd0227 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) -iD8DBQFGE4FGViELBEf1JB0RAhTdAJ9UxMdZWAGqtUpMv9S7cyc2AdveqgCcDao8 -dcGAwVt3vYxkBLsbqiNayIg= -=2DgX +iD8DBQFGE4fhViELBEf1JB0RAqsfAJ9vPLC5UevuARIvANvzJ/WR902I1QCdFfkm +vNSPBOzJiC+fpV052Z1v578= +=IRHP -----END PGP SIGNATURE----- diff --git a/dev-util/git/files/digest-git-1.4.2.4 b/dev-util/git/files/digest-git-1.4.2.4 deleted file mode 100644 index d2a4595d7c6d..000000000000 --- a/dev-util/git/files/digest-git-1.4.2.4 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 44ecfbf9817f36bd5fdba172b9b58d60 git-1.4.2.4.tar.bz2 787793 -RMD160 03664bb1c98c7d9dc8c6f1dfa56149d807fd5164 git-1.4.2.4.tar.bz2 787793 -SHA256 1efbbee0e3e8704b25ef6fbc9519ba6f94a21aee48a231b986408627a4017632 git-1.4.2.4.tar.bz2 787793 -MD5 c4820612a1643dad246a335847135be8 git-htmldocs-1.4.2.4.tar.bz2 283907 -RMD160 6aaa9e601cc16d4e45176e58fbbc87a332afb243 git-htmldocs-1.4.2.4.tar.bz2 283907 -SHA256 90f3ad4bced74bbadfc6f02a1c3d222a6bcf13d940b9aef368b7cbae083c1f86 git-htmldocs-1.4.2.4.tar.bz2 283907 -MD5 c22ea4eab09808a1783603b5a1d159a5 git-manpages-1.4.2.4.tar.bz2 90375 -RMD160 0b3d486d04a5a64aab273c75823c603f307fcd02 git-manpages-1.4.2.4.tar.bz2 90375 -SHA256 6e0520fd779225e79957871d981ddfc9e93f157374de88f654d4f20958557518 git-manpages-1.4.2.4.tar.bz2 90375 diff --git a/dev-util/git/files/digest-git-1.4.4.3 b/dev-util/git/files/digest-git-1.4.4.3 deleted file mode 100644 index 407c2b0b36ac..000000000000 --- a/dev-util/git/files/digest-git-1.4.4.3 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 a4c2c27f7ea3137a5be7edaecfb9db21 git-1.4.4.3.tar.bz2 888091 -RMD160 06184ee7e16c12687b4a644c38d23ff7732e4c54 git-1.4.4.3.tar.bz2 888091 -SHA256 5485e66a811f8a047124f1358ded268916fcf07ecccb9345f429b4ea8b76603e git-1.4.4.3.tar.bz2 888091 -MD5 e59ee4eb1c66857c480749e9aba4f8a5 git-htmldocs-1.4.4.3.tar.bz2 325744 -RMD160 52c8f9088ca969255ff93f719563b65f43a59a9f git-htmldocs-1.4.4.3.tar.bz2 325744 -SHA256 cca1f7dec9dd063d78920e4d2f7a9a47fa57cfd883b872883b60795541c2c585 git-htmldocs-1.4.4.3.tar.bz2 325744 -MD5 007a5d3a5d3787b2538c03b14b4466bb git-manpages-1.4.4.3.tar.bz2 104756 -RMD160 b10969ec6702606ea348d9a6fe05831e28fbcc00 git-manpages-1.4.4.3.tar.bz2 104756 -SHA256 7f11c3f55a86fc7e445e6bf97d049564e586902bb53e48c6048b7ce0ad90675e git-manpages-1.4.4.3.tar.bz2 104756 diff --git a/dev-util/git/git-1.4.2.4.ebuild b/dev-util/git/git-1.4.2.4.ebuild deleted file mode 100644 index db7f2dd1a44e..000000000000 --- a/dev-util/git/git-1.4.2.4.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/git/git-1.4.2.4.ebuild,v 1.9 2007/01/06 01:29:07 ferdy Exp $ - -inherit python toolchain-funcs eutils elisp-common - -DOC_VER=${PV} - -DESCRIPTION="GIT - the stupid content tracker" -HOMEPAGE="http://kernel.org/pub/software/scm/git/" -SRC_URI="mirror://kernel/software/scm/git/${P}.tar.bz2 - mirror://kernel/software/scm/git/${PN}-manpages-${DOC_VER}.tar.bz2 - doc? ( mirror://kernel/software/scm/git/${PN}-htmldocs-${DOC_VER}.tar.bz2 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="curl doc emacs gtk mozsha1 ppcsha1 tk webdav" - -DEPEND="dev-libs/openssl - sys-libs/zlib - !app-misc/git - curl? ( net-misc/curl ) - webdav? ( dev-libs/expat ) - emacs? ( virtual/emacs )" -RDEPEND="${DEPEND} - dev-lang/perl - >=dev-lang/python-2.3 - app-text/rcs - tk? ( dev-lang/tk ) - gtk? ( >=dev-python/pygtk-2.6 )" - -# This is needed because for some obscure reasons future calls to make don't -# pick up these exports if we export them in src_unpack() -exportmakeopts() { - local myopts - - if use mozsha1 ; then - myopts="${myopts} MOZILLA_SHA1=YesPlease" - elif use ppcsha1 ; then - myopts="${myopts} PPC_SHA1=YesPlease" - fi - - if use curl ; then - use webdav || myopts="${myopts} NO_EXPAT=YesPlease" - else - myopts="${myopts} NO_CURL=YesPlease" - use webdav && ewarn "USE=webdav only matters with USE=curl. Ignoring." - fi - - myopts="${myopts} WITH_SEND_EMAIL=YesPlease" - - # Older python versions need own subproccess.py - python_version - [[ ${PYVER} < 2.4 ]] && myopts="${myopts} WITH_OWN_SUBPROCESS_PY=YesPlease" - - use elibc_uclibc && myopts="${myopts} NO_ICONV=YesPlease" - - export MY_MAKEOPTS=${myopts} -} - -src_unpack() { - unpack ${A} - cd ${S} - - sed -i \ - -e "s:^\(CFLAGS = \).*$:\1${CFLAGS} -Wall:" \ - -e "s:^\(LDFLAGS = \).*$:\1${LDFLAGS}:" \ - -e "s:^\(CC = \).*$:\1$(tc-getCC):" \ - -e "s:^\(AR = \).*$:\1$(tc-getAR):" \ - Makefile || die "sed failed" - - exportmakeopts -} - -src_compile() { - emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr || die "make failed" - - if use emacs ; then - elisp-compile contrib/emacs/{,vc-}git.el || die "emacs modules failed" - fi -} - -src_install() { - emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr install || die "make install failed" - - use tk || rm "${D}"/usr/bin/gitk - - doman "${WORKDIR}"/man?/* - - dodoc README COPYING Documentation/SubmittingPatches - if use doc ; then - dodoc Documentation/technical/* - dodir /usr/share/doc/${PF}/html - cp -r "${WORKDIR}"/{*.html,howto} "${D}"/usr/share/doc/${PF}/html - fi - - if use emacs ; then - insinto "${SITELISP}" - doins contrib/emacs/{,vc-}git.el* - elisp-site-file-install "${FILESDIR}"/70git-gentoo.el - fi - - if use gtk ; then - dobin contrib/gitview/gitview - use doc && dodoc contrib/gitview/gitview.txt - fi - - insinto /etc/xinetd.d - newins "${FILESDIR}"/git-daemon.xinetd git-daemon - - newinitd "${FILESDIR}"/git-daemon.initd git-daemon - newconfd "${FILESDIR}"/git-daemon.confd git-daemon -} - -src_test() { - cd "${S}" - - has_version dev-util/subversion || \ - MY_MAKEOPTS="${MY_MAKEOPTS} NO_SVN_TESTS=YesPlease" - emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr test || die "tests failed" -} - -pkg_postinst() { - use emacs && elisp-site-regen - echo - elog "If you want to import arch repositories into git, consider using the" - elog "git-archimport command. You should install dev-util/tla before." - echo - elog "If you want to import cvs repositories into git, consider using the" - elog "git-cvsimport command. You should install >=dev-util/cvsps-2.1 before." - echo - elog "If you want to import svn repositories into git, consider using the" - elog "git-svnimport command. You should install dev-util/subversion before." - echo - elog "If you want to manage subversion repositories using git, consider" - elog "using git-svn. You should install dev-util/subversion and dev-perl/libwww-perl." - echo - elog "If you want to import a quilt series into git, consider using the" - elog "git-quiltimport command. You should install dev-util/quilt before." - echo - elog "If you want to use the included CVS server you will need to install" - elog "dev-perl/DBI and dev-perl/DBD-SQLite." - echo -} - -pkg_postrm() { - # regenerate site-gentoo if we are merged USE=emacs and unmerged - # USE=-emacs - has_version virtual/emacs && elisp-site-regen -} diff --git a/dev-util/git/git-1.4.4.3.ebuild b/dev-util/git/git-1.4.4.3.ebuild deleted file mode 100644 index 22c8d4a8bab4..000000000000 --- a/dev-util/git/git-1.4.4.3.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/git/git-1.4.4.3.ebuild,v 1.10 2007/01/09 07:59:28 corsair Exp $ - -inherit python toolchain-funcs eutils elisp-common perl-module bash-completion - -DOC_VER=${PV} - -DESCRIPTION="GIT - the stupid content tracker" -HOMEPAGE="http://kernel.org/pub/software/scm/git/" -SRC_URI="mirror://kernel/software/scm/git/${P}.tar.bz2 - mirror://kernel/software/scm/git/${PN}-manpages-${DOC_VER}.tar.bz2 - doc? ( mirror://kernel/software/scm/git/${PN}-htmldocs-${DOC_VER}.tar.bz2 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha ~amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="curl doc elibc_uclibc emacs gtk mozsha1 ppcsha1 tk webdav" - -DEPEND="dev-libs/openssl - sys-libs/zlib - !app-misc/git - curl? ( net-misc/curl ) - webdav? ( dev-libs/expat ) - emacs? ( virtual/emacs )" -RDEPEND="${DEPEND} - dev-lang/perl - >=dev-lang/python-2.3 - app-text/rcs - tk? ( dev-lang/tk ) - gtk? ( >=dev-python/pygtk-2.6 )" - -# This is needed because for some obscure reasons future calls to make don't -# pick up these exports if we export them in src_unpack() -exportmakeopts() { - local myopts - - if use mozsha1 ; then - myopts="${myopts} MOZILLA_SHA1=YesPlease" - elif use ppcsha1 ; then - myopts="${myopts} PPC_SHA1=YesPlease" - fi - - if use curl ; then - use webdav || myopts="${myopts} NO_EXPAT=YesPlease" - else - myopts="${myopts} NO_CURL=YesPlease" - use webdav && ewarn "USE=webdav only matters with USE=curl. Ignoring." - fi - - myopts="${myopts} WITH_SEND_EMAIL=YesPlease" - - # Older python versions need own subproccess.py - python_version - [[ ${PYVER} < 2.4 ]] && myopts="${myopts} WITH_OWN_SUBPROCESS_PY=YesPlease" - - use elibc_uclibc && myopts="${myopts} NO_ICONV=YesPlease" - - export MY_MAKEOPTS=${myopts} -} - -showpkgdeps() { - local pkg=$1 - shift - elog " $(printf "%-17s:" ${pkg}) ${@}" -} - -src_unpack() { - unpack ${A} - cd ${S} - - sed -i \ - -e "s:^\(CFLAGS = \).*$:\1${CFLAGS} -Wall:" \ - -e "s:^\(LDFLAGS = \).*$:\1${LDFLAGS}:" \ - -e "s:^\(CC = \).*$:\1$(tc-getCC):" \ - -e "s:^\(AR = \).*$:\1$(tc-getAR):" \ - Makefile || die "sed failed" - - exportmakeopts -} - -src_compile() { - emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr || die "make failed" - - if use emacs ; then - elisp-compile contrib/emacs/{,vc-}git.el || die "emacs modules failed" - fi -} - -src_install() { - emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr install || die "make install failed" - - use tk || rm "${D}"/usr/bin/gitk - - doman "${WORKDIR}"/man?/* - - dodoc README COPYING Documentation/SubmittingPatches - if use doc ; then - dodoc Documentation/technical/* - dodir /usr/share/doc/${PF}/html - cp -r "${WORKDIR}"/{*.html,howto} "${D}"/usr/share/doc/${PF}/html - fi - - dobashcompletion contrib/completion/git-completion.bash ${PN} - - if use emacs ; then - insinto "${SITELISP}" - doins contrib/emacs/{,vc-}git.el* - elisp-site-file-install "${FILESDIR}"/70git-gentoo.el - fi - - if use gtk ; then - dobin contrib/gitview/gitview - use doc && dodoc contrib/gitview/gitview.txt - fi - - insinto /etc/xinetd.d - newins "${FILESDIR}"/git-daemon.xinetd git-daemon - - newinitd "${FILESDIR}"/git-daemon.initd git-daemon - newconfd "${FILESDIR}"/git-daemon.confd git-daemon - - fixlocalpod -} - -src_test() { - cd "${S}" - - has_version dev-util/subversion || \ - MY_MAKEOPTS="${MY_MAKEOPTS} NO_SVN_TESTS=YesPlease" - has_version app-arch/unzip || \ - rm "${S}"/t/t5000-tar-tree.sh - use amd64 && \ - rm "${S}"/t/t9200-git-cvsexportcommit.sh - emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr test || die "tests failed" -} - -pkg_postinst() { - use emacs && elisp-site-regen - elog "These additional scripts need some dependencies:" - echo - showpkgdeps git-archimport "dev-util/tla" - showpkgdeps git-cvsimport ">=dev-util/cvsps-2.1" - showpkgdeps git-svnimport "dev-util/subversion(USE=perl)" - showpkgdeps git-svn "dev-util/subversion(USE=perl)" "dev-perl/libwww-perl" - showpkgdeps git-quiltimport "dev-util/quilt" - showpkgdeps git-cvsserver "dev-perl/DBI" "dev-perl/DBD-SQLite" - showpkgdeps git-instaweb "|| ( www-servers/lighttpd net-www/apache(SLOT=2) )" - echo -} - -pkg_postrm() { - # regenerate site-gentoo if we are merged USE=emacs and unmerged - # USE=-emacs - has_version virtual/emacs && elisp-site-regen -}