mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Update mercurial to 1.5.2
This commit is contained in:
20
dev-util/mercurial/mercurial-1.5.2.bep
Normal file
20
dev-util/mercurial/mercurial-1.5.2.bep
Normal file
@@ -0,0 +1,20 @@
|
||||
DESCRIPTION="Mercurial is a free, distributed source control management tool"
|
||||
HOMEPAGE="http://mercurial.selenic.com/"
|
||||
SRC_URI="http://mercurial.selenic.com/release/mercurial-1.5.2.tar.gz"
|
||||
CHECKSUM_MD5="deafaaf017fc3c8a9deef39e566aec80"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd mercurial-1.5.2
|
||||
python setup.py build --force
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd mercurial-1.5.2
|
||||
if [ -n ${DESTDIR} ];then
|
||||
python setup.py install --root="${DESTDIR}" --prefix="/boot/common" --force
|
||||
else
|
||||
python setup.py install --prefix="/boot/common" --force
|
||||
fi
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
Package: Mercurial
|
||||
Version: 1.5.1
|
||||
Version: 1.5.2
|
||||
Copyright: 2005-2010 Matt Mackall et al.
|
||||
License: GNU GPL v2
|
||||
URL: http://mercurial.selenic.com
|
||||
|
||||
12
dev-util/mercurial/patches/mercurial-1.5.2.patch
Normal file
12
dev-util/mercurial/patches/mercurial-1.5.2.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -up mercurial-1.5.2/mercurial/ui.py.orig mercurial-1.5.2/mercurial/ui.py
|
||||
--- mercurial-1.5.2/mercurial/ui.py.orig 2010-05-01 15:02:48.041156608 -0600
|
||||
+++ mercurial-1.5.2/mercurial/ui.py 2010-05-01 17:04:56.068943872 -0600
|
||||
@@ -384,7 +384,7 @@ class ui(object):
|
||||
return (os.environ.get("HGEDITOR") or
|
||||
self.config("ui", "editor") or
|
||||
os.environ.get("VISUAL") or
|
||||
- os.environ.get("EDITOR", "vi"))
|
||||
+ os.environ.get("EDITOR", "nano"))
|
||||
|
||||
def progress(self, topic, pos, item="", unit="", total=None):
|
||||
'''show a progress message
|
||||
Reference in New Issue
Block a user