From 35333295c19c85bc8b6f8fef58d66dbbf4f3a02b Mon Sep 17 00:00:00 2001 From: "Fernando J. Pereda" Date: Sat, 6 Jan 2007 01:31:18 +0000 Subject: [PATCH] QA: Clean unused versions. Package-Manager: portage-2.1.1-r2 --- dev-util/git/Manifest | 34 ++---- dev-util/git/files/digest-git-1.4.3.5 | 9 -- dev-util/git/files/digest-git-1.4.4.2 | 9 -- dev-util/git/git-1.4.3.5.ebuild | 151 ------------------------- dev-util/git/git-1.4.4.2.ebuild | 155 -------------------------- 5 files changed, 7 insertions(+), 351 deletions(-) delete mode 100644 dev-util/git/files/digest-git-1.4.3.5 delete mode 100644 dev-util/git/files/digest-git-1.4.4.2 delete mode 100644 dev-util/git/git-1.4.3.5.ebuild delete mode 100644 dev-util/git/git-1.4.4.2.ebuild diff --git a/dev-util/git/Manifest b/dev-util/git/Manifest index f854cc765eed..f8c5ac99e056 100644 --- a/dev-util/git/Manifest +++ b/dev-util/git/Manifest @@ -19,18 +19,12 @@ 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.3.5.tar.bz2 859712 RMD160 076514f909a901f18f01151a1839b6cac03d1e1e SHA1 1cd03ee2744dfd7a2c31269f0002b72b75d08ad1 SHA256 8ab38be18a8221d2181a09b17dd98d4e29e33d897be7c6d9ee31495dc5756409 -DIST git-1.4.4.2.tar.bz2 887999 RMD160 8b1892f630eadbe88223b338b4cce7118afbedcf SHA1 3cfaacef9be08470619b83ce467d72fd6db5da53 SHA256 907138a7537ff8cef5a9bb258cbba3e32fa46b240f66cd16d5bf530e081ac6b9 DIST git-1.4.4.3.tar.bz2 888091 RMD160 06184ee7e16c12687b4a644c38d23ff7732e4c54 SHA1 d41b8e62b2c0b5f3ea994bed4618a44cbcfb319e SHA256 5485e66a811f8a047124f1358ded268916fcf07ecccb9345f429b4ea8b76603e 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.3.5.tar.bz2 306180 RMD160 8880c493ed1ff3ae361200dbfba0c7156542b908 SHA1 972a00c65e2778f9eb4f31b23c02347cbe71cde8 SHA256 b4674fe2013dc95b21b94f8b327d0c74017b5075fa991665c2e4cbb736b7fbc9 -DIST git-htmldocs-1.4.4.2.tar.bz2 325578 RMD160 0c9c1ffb89e25566002f0af5c6c5d829081a5dc0 SHA1 2e20d59a9e6e7d5050dd0aad5b75072552d76f77 SHA256 c1b2b32816122dfe47a588cba50aaa823f307e5d4935ed6c80261762bfa44b6a DIST git-htmldocs-1.4.4.3.tar.bz2 325744 RMD160 52c8f9088ca969255ff93f719563b65f43a59a9f SHA1 1ab02de5bae511f07b19c6048626160d99ff145c SHA256 cca1f7dec9dd063d78920e4d2f7a9a47fa57cfd883b872883b60795541c2c585 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.3.5.tar.bz2 98349 RMD160 14628c3cd19d717e6544eecefe84989aca6fdd2c SHA1 40945f3749a0c371c356bd4890bbafcfca4318c4 SHA256 43fa90b9bd11723a3750dab74c5960ffb102feb04ceac9c6e74239e7e678a0c9 -DIST git-manpages-1.4.4.2.tar.bz2 104745 RMD160 b55d9da2ecf3862495408e4b01a9d3f1f2d51c36 SHA1 c677a30c5d10d77455ec7fd95ff98e8c155be616 SHA256 e4685c50c8e79bb7166ae63578f70933b518dd5850d27cfa331fae3c0032aa16 DIST git-manpages-1.4.4.3.tar.bz2 104756 RMD160 b10969ec6702606ea348d9a6fe05831e28fbcc00 SHA1 decdee44cca3f89843a290402c30422dde9edfa1 SHA256 7f11c3f55a86fc7e445e6bf97d049564e586902bb53e48c6048b7ce0ad90675e EBUILD git-1.4.1.1.ebuild 4338 RMD160 c60faee4041943f56b2b64abde8b26bc7a9d1e17 SHA1 47c42f4ff8d3100a645226934fb9da442e07bae5 SHA256 d0435724636b6ff0749af989a7d493284df3eb38d2c0bcd1b0f29a33d726e606 MD5 62bdf011ee3296485f8c8fbc2f3ecd35 git-1.4.1.1.ebuild 4338 @@ -40,22 +34,14 @@ EBUILD git-1.4.2.4.ebuild 4372 RMD160 8e23acbcfc178c6fdb9e5ad3fd4145932f757019 S 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.3.5.ebuild 4059 RMD160 dddc86a42a9a34dfca014afab27f76cce02da280 SHA1 6f5ab4c6a9f02cba82cc9fc86a24f8404f385ef5 SHA256 84fe5145743c142b01e71a6727945dc72b440d9c49a1073b42afd06eb865022d -MD5 b1d6f8021e4488f7f3677ecb15b8bd64 git-1.4.3.5.ebuild 4059 -RMD160 dddc86a42a9a34dfca014afab27f76cce02da280 git-1.4.3.5.ebuild 4059 -SHA256 84fe5145743c142b01e71a6727945dc72b440d9c49a1073b42afd06eb865022d git-1.4.3.5.ebuild 4059 -EBUILD git-1.4.4.2.ebuild 4183 RMD160 2c600189fc8d519efa561a5a3dddd6996675dd2c SHA1 4b3d69d512dc4b6f0473b3b9a9fe398a2879054c SHA256 df9df9189992aaff2126695f80169949d9678c9153c8750a7b6196f0b78cdec5 -MD5 c546ebef3e067f5ea2a4efd7c31c940c git-1.4.4.2.ebuild 4183 -RMD160 2c600189fc8d519efa561a5a3dddd6996675dd2c git-1.4.4.2.ebuild 4183 -SHA256 df9df9189992aaff2126695f80169949d9678c9153c8750a7b6196f0b78cdec5 git-1.4.4.2.ebuild 4183 EBUILD git-1.4.4.3.ebuild 4258 RMD160 26dedc519a31f973b802f6626c0f22fcd5068be7 SHA1 c88eb43f7d4215bd3dcc51e448bfee826e89eb27 SHA256 c28980f7d43e336d14e4a124d3572fc7051aa21b30b944e771dea16567ea632d MD5 206f8da2d0c20aaf46d69d95d9b3b0e7 git-1.4.4.3.ebuild 4258 RMD160 26dedc519a31f973b802f6626c0f22fcd5068be7 git-1.4.4.3.ebuild 4258 SHA256 c28980f7d43e336d14e4a124d3572fc7051aa21b30b944e771dea16567ea632d git-1.4.4.3.ebuild 4258 -MISC ChangeLog 22581 RMD160 951540fb806be64a83e24ece26564335aed11638 SHA1 b412a581b11758080d705567eb4fb3407ab8f9d3 SHA256 084cf420a751c0e65cbeccbedc8a11dbe353c96ac89254bb70d6e42633fff114 -MD5 54a87a7a06ce79e55980c6b990119cd5 ChangeLog 22581 -RMD160 951540fb806be64a83e24ece26564335aed11638 ChangeLog 22581 -SHA256 084cf420a751c0e65cbeccbedc8a11dbe353c96ac89254bb70d6e42633fff114 ChangeLog 22581 +MISC ChangeLog 22708 RMD160 a39022080d9adb38f88b9987f2f0fa49730e9bbb SHA1 46b53b61d01e8237e9796ac9a3227d40c48d4c21 SHA256 37b776befb8ea66a92e506257b3d1c7d0aa1012acf3a2cc978e3d4080aa29640 +MD5 fde20bcf301ef5fa7f26523a2ad10eab ChangeLog 22708 +RMD160 a39022080d9adb38f88b9987f2f0fa49730e9bbb ChangeLog 22708 +SHA256 37b776befb8ea66a92e506257b3d1c7d0aa1012acf3a2cc978e3d4080aa29640 ChangeLog 22708 MISC metadata.xml 253 RMD160 e09bab6a5a422f501b8e07a3983c5790e00ac92a SHA1 7c2340e011ce57927ff31d7e3397ef4bb1c7ad27 SHA256 1f2e9f9f57e781c296ac5c39c54eabf82a47b7facd0698b296bc76f50799432c MD5 22c5a3ad567fa12332dab8687b9c2d1c metadata.xml 253 RMD160 e09bab6a5a422f501b8e07a3983c5790e00ac92a metadata.xml 253 @@ -66,19 +52,13 @@ SHA256 c4659a8be91474f1005a6c0fec5ea794c5f406dd9b74ffe047ceef76517891a4 files/di 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 75862c43f94bd15f94cd619d9e1f785b files/digest-git-1.4.3.5 765 -RMD160 b69d5311a039e90e9eb1617297f1b67630e4e1a0 files/digest-git-1.4.3.5 765 -SHA256 69b0b0cbe7604d63e6dc3f42e40a965c0cecb824c900b368427f6c2d0deb4550 files/digest-git-1.4.3.5 765 -MD5 5f5def2549715648cd6eaa40def50f27 files/digest-git-1.4.4.2 768 -RMD160 1bbaefc7c933c818cf750b6d0193ddfd4c3b3874 files/digest-git-1.4.4.2 768 -SHA256 3d3ed95e816af39d540012a87a6048a4786554ee4256852c51bbcd390eac3c17 files/digest-git-1.4.4.2 768 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) -iD8DBQFFnvtxViELBEf1JB0RAqIiAJ41FOy8/3JwvkSXUoZ1/vCbJEMTTwCdFMDm -2WR8Z6Wki+tDkfbeb4MFWw4= -=GSGW +iD8DBQFFnvviViELBEf1JB0RAkkuAJ9gJup6nF95yac3Z1iw4L/9WS/TewCeLn6/ +aBH4YUn5h+xC1X4f0ZkFJJU= +=Wum3 -----END PGP SIGNATURE----- diff --git a/dev-util/git/files/digest-git-1.4.3.5 b/dev-util/git/files/digest-git-1.4.3.5 deleted file mode 100644 index b27394ab5f69..000000000000 --- a/dev-util/git/files/digest-git-1.4.3.5 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 db7c8dad84643b9f6744a0eca22521c7 git-1.4.3.5.tar.bz2 859712 -RMD160 076514f909a901f18f01151a1839b6cac03d1e1e git-1.4.3.5.tar.bz2 859712 -SHA256 8ab38be18a8221d2181a09b17dd98d4e29e33d897be7c6d9ee31495dc5756409 git-1.4.3.5.tar.bz2 859712 -MD5 8e1491ccfd838d80510d7836a11a3bbc git-htmldocs-1.4.3.5.tar.bz2 306180 -RMD160 8880c493ed1ff3ae361200dbfba0c7156542b908 git-htmldocs-1.4.3.5.tar.bz2 306180 -SHA256 b4674fe2013dc95b21b94f8b327d0c74017b5075fa991665c2e4cbb736b7fbc9 git-htmldocs-1.4.3.5.tar.bz2 306180 -MD5 e16a53986fb231c6d361ae358c24686e git-manpages-1.4.3.5.tar.bz2 98349 -RMD160 14628c3cd19d717e6544eecefe84989aca6fdd2c git-manpages-1.4.3.5.tar.bz2 98349 -SHA256 43fa90b9bd11723a3750dab74c5960ffb102feb04ceac9c6e74239e7e678a0c9 git-manpages-1.4.3.5.tar.bz2 98349 diff --git a/dev-util/git/files/digest-git-1.4.4.2 b/dev-util/git/files/digest-git-1.4.4.2 deleted file mode 100644 index e071eddbfe13..000000000000 --- a/dev-util/git/files/digest-git-1.4.4.2 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 c4f72d96f62ae97c6e8d5cdb4afd55ca git-1.4.4.2.tar.bz2 887999 -RMD160 8b1892f630eadbe88223b338b4cce7118afbedcf git-1.4.4.2.tar.bz2 887999 -SHA256 907138a7537ff8cef5a9bb258cbba3e32fa46b240f66cd16d5bf530e081ac6b9 git-1.4.4.2.tar.bz2 887999 -MD5 ccf58cfe1608617e555c32d274a2c99c git-htmldocs-1.4.4.2.tar.bz2 325578 -RMD160 0c9c1ffb89e25566002f0af5c6c5d829081a5dc0 git-htmldocs-1.4.4.2.tar.bz2 325578 -SHA256 c1b2b32816122dfe47a588cba50aaa823f307e5d4935ed6c80261762bfa44b6a git-htmldocs-1.4.4.2.tar.bz2 325578 -MD5 27a9192d91af69ae27691e360649cd7d git-manpages-1.4.4.2.tar.bz2 104745 -RMD160 b55d9da2ecf3862495408e4b01a9d3f1f2d51c36 git-manpages-1.4.4.2.tar.bz2 104745 -SHA256 e4685c50c8e79bb7166ae63578f70933b518dd5850d27cfa331fae3c0032aa16 git-manpages-1.4.4.2.tar.bz2 104745 diff --git a/dev-util/git/git-1.4.3.5.ebuild b/dev-util/git/git-1.4.3.5.ebuild deleted file mode 100644 index 650daa7cdcf8..000000000000 --- a/dev-util/git/git-1.4.3.5.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.3.5.ebuild,v 1.3 2007/01/06 01:29:07 ferdy 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" - 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" - 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.2.ebuild b/dev-util/git/git-1.4.4.2.ebuild deleted file mode 100644 index 739540f8c1af..000000000000 --- a/dev-util/git/git-1.4.4.2.ebuild +++ /dev/null @@ -1,155 +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.2.ebuild,v 1.3 2007/01/06 01:29:07 ferdy 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" - echo -} - -pkg_postrm() { - # regenerate site-gentoo if we are merged USE=emacs and unmerged - # USE=-emacs - has_version virtual/emacs && elisp-site-regen -} -- 2.26.2