Version bump. Also did some cleanup on the DEPEND/RDEPEND var's and added the gitsend...
authorCarlos Silva <r3pek@gentoo.org>
Wed, 21 Sep 2005 23:41:49 +0000 (23:41 +0000)
committerCarlos Silva <r3pek@gentoo.org>
Wed, 21 Sep 2005 23:41:49 +0000 (23:41 +0000)
Package-Manager: portage-2.0.51.22-r2

dev-util/git/ChangeLog
dev-util/git/Manifest
dev-util/git/files/digest-git-0.99.7 [deleted file]
dev-util/git/files/digest-git-0.99.7a [new file with mode: 0644]
dev-util/git/git-0.99.7a.ebuild [moved from dev-util/git/git-0.99.7.ebuild with 64% similarity]

index 9b8f8888aecf1c29ee815bd977495baa587ca090..de0988e99304fec9dba9b96afe39ada1a622a48d 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for dev-util/git
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.22 2005/09/19 14:45:46 r3pek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.23 2005/09/21 23:41:49 r3pek Exp $
+
+*git-0.99.7a (21 Sep 2005)
+
+  21 Sep 2005; Carlos Silva <r3pek@gentoo.org> -git-0.99.7.ebuild,
+  +git-0.99.7a.ebuild:
+  Version bump. Also did some cleanup on the DEPEND/RDEPEND var's and added
+  the gitsendemail use flag
 
 *git-0.99.7 (19 Sep 2005)
 
index 8cb38083f6d32d5a46e6070b15b750070ccc43be..810f4435a9059fcb9f43e37713c91ac1427f72f2 100644 (file)
@@ -1,8 +1,8 @@
-MD5 4928be0d0eba18b62aa9321f89f363b1 git-0.99.7.ebuild 1742
+MD5 09c904b51ae5e9742b1b3b56a3388e10 git-0.99.7a.ebuild 2300
 MD5 edebd592261315b29a6b903b414573d2 git-0.7.ebuild 1312
 MD5 9bbe3abc3061ff033cb32ccef8a86446 git-0.99.6.ebuild 1175
-MD5 acb3dfd62f58653db2e03300e114501b ChangeLog 2915
+MD5 6ae1df332266051d0233744a44323e80 ChangeLog 3138
 MD5 78c1b34edd1399c24d7d9e59212bc17a metadata.xml 221
 MD5 c55b80b4ca5f800615642ce40266738f files/digest-git-0.99.6 68
-MD5 260308808ddefb27c238ed5a05ad8eee files/digest-git-0.99.7 68
+MD5 3da76472c3f2012be938c7c386896045 files/digest-git-0.99.7a 69
 MD5 8ebc37d29c321b95a3c0ae51ebee4d4d files/digest-git-0.7 59
diff --git a/dev-util/git/files/digest-git-0.99.7 b/dev-util/git/files/digest-git-0.99.7
deleted file mode 100644 (file)
index 71cfaf6..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e5ce2803fc05897a173d9d15f7fb5df7 git-core-0.99.7.tar.bz2 347551
diff --git a/dev-util/git/files/digest-git-0.99.7a b/dev-util/git/files/digest-git-0.99.7a
new file mode 100644 (file)
index 0000000..e75787b
--- /dev/null
@@ -0,0 +1 @@
+MD5 ba2531e31bc47c12a065180a90645b98 git-core-0.99.7a.tar.bz2 356597
similarity index 64%
rename from dev-util/git/git-0.99.7.ebuild
rename to dev-util/git/git-0.99.7a.ebuild
index 413ee786e5be896da392cbaa0bf47271f022cd60..169dd0c7425565769343c10fc5a085618bbf1bc4 100644 (file)
@@ -1,6 +1,8 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/git/git-0.99.7.ebuild,v 1.1 2005/09/19 14:45:46 r3pek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/git/git-0.99.7a.ebuild,v 1.1 2005/09/21 23:41:49 r3pek Exp $
+
+inherit python
 
 DESCRIPTION="GIT - the stupid content tracker"
 HOMEPAGE="http://kernel.org/pub/software/scm/git/"
@@ -8,17 +10,23 @@ SRC_URI="http://kernel.org/pub/software/scm/git/${PN}-core-${PV}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="mozsha1 ppcsha1 doc nocurl"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="mozsha1 ppcsha1 doc nocurl gitsendemail"
 S="${WORKDIR}/${PN}-core-${PV}"
 
 DEPEND="dev-libs/openssl
                sys-libs/zlib
-               !nocurl? ( net-misc/curl )
                app-text/rcs
-               >=dev-util/cvsps-2.1
                !app-misc/git
                doc? ( >=app-text/asciidoc-7.0.1 app-text/xmlto )"
+RDEPEND="${DEPEND}
+               dev-lang/perl
+               >=dev-lang/python-2.3
+               dev-lang/tk
+               !nocurl? ( net-misc/curl )
+               >=dev-util/cvsps-2.1
+               dev-perl/String-ShellQuote
+               gitsendemail? ( mail-mta/sendmail )"
 
 src_unpack() {
        unpack ${A}
@@ -29,6 +37,12 @@ src_unpack() {
 }
 
 src_compile() {
+       # Use python_version to check for python 2.4.
+       # If the user don't have version 2.4 have then we set WITH_OWN_SUBPROCESS_PY
+       # that makes use of a suplied version of subprocess.py
+       python_version()
+       [[ $PYVER < 2.4 ]] && export WITH_OWN_SUBPROCESS_PY=yes
+
        if use mozsha1; then
                export MOZILLA_SHA1=yes
        elif use ppcsha1; then
@@ -37,6 +51,8 @@ src_compile() {
                export NO_CURL=yes
                ewarn "git-http-pull will not be built because you are using the nocurl
                        use flag"
+       elif use gitsendemail; then
+               export WITH_SEND_EMAIL=yes
        fi
 
        make prefix=/usr || die "make failed"
@@ -49,8 +65,13 @@ src_compile() {
 
 src_install() {
        make DESTDIR=${D} prefix=/usr install || die "make install failed"
-       dodoc README COPYING
 
+       if use gitsendemail; then
+               exeinto /usr/bin
+               doexe git-send-email.perl
+       fi
+
+       dodoc README COPYING
        if use doc; then
                doman Documentation/*.1 Documentation/*.7
        fi
@@ -63,6 +84,6 @@ pkg_postinst() {
        einfo "The future 0.99.8 version of GIT will NOT have this feature."
        einfo
        einfo "For the complete list of commands that got changed, visist:"
-       einfo "http://dev.gentoo.org/~r3pek/git-new-command-list.txt"
+       einfo "http://dev.gentoo.org/~r3pek/git-new-command-list.htm"
        einfo
 }