mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Update mercurial to 1.5.1
Changed the default commit editor to nano
This commit is contained in:
20
dev-util/mercurial/mercurial-1.5.1.bep
Normal file
20
dev-util/mercurial/mercurial-1.5.1.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.1.tar.gz"
|
||||
CHECKSUM_MD5="22eac5602d777f9601e23700e641503f"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd mercurial-1.5.1
|
||||
python setup.py build --force
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd mercurial-1.5.1
|
||||
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
|
||||
Version: 1.5.1
|
||||
Copyright: 2005-2010 Matt Mackall et al.
|
||||
License: GNU GPL v2
|
||||
URL: http://mercurial.selenic.com
|
||||
|
||||
12
dev-util/mercurial/patches/mercurial-1.5.1.patch
Normal file
12
dev-util/mercurial/patches/mercurial-1.5.1.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -up mercurial-1.5.1/mercurial/ui.py.orig mercurial-1.5.1/mercurial/ui.py
|
||||
--- mercurial-1.5.1/mercurial/ui.py.orig 2010-04-30 23:51:42.741605376 -0600
|
||||
+++ mercurial-1.5.1/mercurial/ui.py 2010-04-30 23:52:08.309854208 -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