diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2007-05-01 03:17:06 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2007-05-01 03:17:06 +0000 |
commit | 762d3886d11d85df162b87d87400302d9de7ebe9 (patch) | |
tree | b28f1c7d2e474b77b0e6d95ceb5b41cd4b72620b /dev-util/git | |
parent | Add x11-plugins/pidgin-rhythmbox (diff) | |
download | gentoo-2-762d3886d11d85df162b87d87400302d9de7ebe9.tar.gz gentoo-2-762d3886d11d85df162b87d87400302d9de7ebe9.tar.bz2 gentoo-2-762d3886d11d85df162b87d87400302d9de7ebe9.zip |
Version bump.
(Portage version: 2.1.2.5)
Diffstat (limited to 'dev-util/git')
-rw-r--r-- | dev-util/git/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/git/files/digest-git-1.5.1.3 | 9 | ||||
-rw-r--r-- | dev-util/git/git-1.5.1.3.ebuild | 160 |
3 files changed, 175 insertions, 1 deletions
diff --git a/dev-util/git/ChangeLog b/dev-util/git/ChangeLog index f0de9bd3f16a..5aa4417c5ce6 100644 --- a/dev-util/git/ChangeLog +++ b/dev-util/git/ChangeLog @@ -1,6 +1,11 @@ # 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.189 2007/04/24 16:23:52 ferdy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.190 2007/05/01 03:17:06 robbat2 Exp $ + +*git-1.5.1.3 (01 May 2007) + + 01 May 2007; Robin H. Johnson <robbat2@gentoo.org> +git-1.5.1.3.ebuild: + Version bump. 24 Apr 2007; Fernando J. Pereda <ferdy@gentoo.org> -git-1.4.1.1.ebuild, -git-1.4.4.4.ebuild, -git-1.5.1.1.ebuild: diff --git a/dev-util/git/files/digest-git-1.5.1.3 b/dev-util/git/files/digest-git-1.5.1.3 new file mode 100644 index 000000000000..7d2619620dd6 --- /dev/null +++ b/dev-util/git/files/digest-git-1.5.1.3 @@ -0,0 +1,9 @@ +MD5 38eb5e41f0b20e601ea4a10b70553147 git-1.5.1.3.tar.bz2 1122617 +RMD160 2f1e7e9c0a9dd7745086d9da1478a8fd0be65de0 git-1.5.1.3.tar.bz2 1122617 +SHA256 876c0902e71a87bb59dae5224f094e484269f0f140dab62c2670878625da65d7 git-1.5.1.3.tar.bz2 1122617 +MD5 b49f3f3a77c15ab67d2189d6772cdb5a git-htmldocs-1.5.1.3.tar.bz2 474857 +RMD160 892f5e1f03bc23c617bfd00c88734f3b221f3f35 git-htmldocs-1.5.1.3.tar.bz2 474857 +SHA256 14156a2245c36bf6b68f98c715bcf4577a3b45daa2b10eae88d5a017e4baf5f2 git-htmldocs-1.5.1.3.tar.bz2 474857 +MD5 da2cd75092a454205cafdeddc3b1c319 git-manpages-1.5.1.3.tar.bz2 133667 +RMD160 ac64a5c16c35cf6feb86fa68361124e25f0186a5 git-manpages-1.5.1.3.tar.bz2 133667 +SHA256 7b21d618b3b14120cf0c3c3385fa572c4dc95d780b92166ccdc5503d2eef5879 git-manpages-1.5.1.3.tar.bz2 133667 diff --git a/dev-util/git/git-1.5.1.3.ebuild b/dev-util/git/git-1.5.1.3.ebuild new file mode 100644 index 000000000000..05b2813289dc --- /dev/null +++ b/dev-util/git/git-1.5.1.3.ebuild @@ -0,0 +1,160 @@ +# 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.5.1.3.ebuild,v 1.1 2007/05/01 03:17:06 robbat2 Exp $ + +inherit toolchain-funcs eutils elisp-common perl-module bash-completion + +MY_PV="${PV/_rc/.rc}" +MY_P="${PN}-${MY_PV}" + +DOC_VER=${MY_PV} + +DESCRIPTION="GIT - the stupid content tracker" +HOMEPAGE="http://git.or.cz/" +SRC_URI="mirror://kernel/software/scm/git/${MY_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 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="curl doc elibc_uclibc emacs gtk mozsha1 perl 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 + perl? ( dev-perl/Error ) + tk? ( dev-lang/tk ) + gtk? ( >=dev-python/pygtk-2.6 )" + +S="${WORKDIR}/${MY_P}" + +# 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" + + 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} + + epatch "${FILESDIR}"/${PN}-1.5.0-symlinks.patch + + 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):" \ + -e 's:ln :ln -s :g' \ + 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 + # Stupid CVS won't let some people commit as root + 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) )" + showpkgdeps git-send-email "USE=perl" + showpkgdeps git-remote "USE=perl" + echo +} + +pkg_postrm() { + # regenerate site-gentoo if we are merged USE=emacs and unmerged + # USE=-emacs + has_version virtual/emacs && elisp-site-regen +} |