[101302] trunk/dports/devel/tortoisehg
ryandesign at macports.org
ryandesign at macports.org
Mon Jan 7 15:27:10 PST 2013
Revision: 101302
https://trac.macports.org/changeset/101302
Author: ryandesign at macports.org
Date: 2013-01-07 15:27:10 -0800 (Mon, 07 Jan 2013)
Log Message:
-----------
tortoisehg: update to 2.6.1 (#37557); license GPL-2+; fix livecheck
Modified Paths:
--------------
trunk/dports/devel/tortoisehg/Portfile
trunk/dports/devel/tortoisehg/files/patch-setup.py.diff
Modified: trunk/dports/devel/tortoisehg/Portfile
===================================================================
--- trunk/dports/devel/tortoisehg/Portfile 2013-01-07 23:25:50 UTC (rev 101301)
+++ trunk/dports/devel/tortoisehg/Portfile 2013-01-07 23:27:10 UTC (rev 101302)
@@ -6,11 +6,10 @@
PortGroup app 1.0
name tortoisehg
-version 2.1.2
-revision 1
+version 2.6.2
categories devel python
platforms darwin
-license GPL-2
+license GPL-2+
maintainers nomaintainer
supported_archs noarch
@@ -22,8 +21,8 @@
homepage http://tortoisehg.bitbucket.org/
master_sites http://bitbucket.org/tortoisehg/targz/downloads/
-checksums sha1 26d71af44a5cbd095e16d655d2874966e137e94e \
- rmd160 befd27d486e4f9a6840467befc65d9c52704c746
+checksums rmd160 be61874ca580507130c9c580ca3b182366da1148 \
+ sha256 f079488fea008bb4f73a5dbb9b80e523c87355d0b9ea34e38e78fbd5724dd609
python.default_version 27
@@ -35,7 +34,7 @@
depends_build port:py${python.version}-sphinx
post-extract {
- file copy ${filespath}/config.py ${worksrcpath}/tortoisehg/util/
+ copy ${filespath}/config.py ${worksrcpath}/tortoisehg/util/
}
patchfiles patch-setup.py.diff
@@ -48,8 +47,8 @@
python.link_binaries_suffix
post-destroot {
- system "cd ${worksrcpath}/doc && make SPHINXBUILD=sphinx-build-${python.branch} html"
- file copy ${worksrcpath}/doc/build/html ${destroot}${prefix}/share/doc/${name}/html
+ system -W ${worksrcpath}/doc "make SPHINXBUILD=sphinx-build-${python.branch} html"
+ copy ${worksrcpath}/doc/build/html ${destroot}${prefix}/share/doc/${name}/html
xinstall -m 644 -W ${worksrcpath} COPYING.txt ${destroot}${prefix}/share/doc/${name}
}
@@ -66,3 +65,7 @@
reinplace "s|@PREFIX@|${prefix}|g" ${workpath}/${app.name}
}
}
+
+livecheck.type regex
+livecheck.url ${homepage}download/source.html
+livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
Modified: trunk/dports/devel/tortoisehg/files/patch-setup.py.diff
===================================================================
--- trunk/dports/devel/tortoisehg/files/patch-setup.py.diff 2013-01-07 23:25:50 UTC (rev 101301)
+++ trunk/dports/devel/tortoisehg/files/patch-setup.py.diff 2013-01-07 23:27:10 UTC (rev 101302)
@@ -1,6 +1,8 @@
---- setup.py.orig 2011-07-03 15:54:51.000000000 -0500
-+++ setup.py 2011-08-15 14:33:16.000000000 -0500
-@@ -154,7 +154,7 @@
+"the nautilus script shouldn't be distributed at all these days, no-one is maintaining it"
+<https://bitbucket.org/tortoisehg/thg/issue/2178/setuppy-assumes-that-usr-is-writeable>
+--- setup.py.orig 2012-09-05 10:36:36.000000000 -0500
++++ setup.py 2013-01-07 17:00:28.000000000 -0600
+@@ -152,7 +152,7 @@
pyqtfolder = os.path.dirname(PyQt4.__file__)
path.append(os.path.join(pyqtfolder, 'bin'))
os.putenv('PATH', os.pathsep.join(path))
@@ -9,3 +11,12 @@
self.warn("Unable to generate python module %s for resource file %s"
% (py_file, qrc_file))
if not exists(py_file) or not file(py_file).read():
+@@ -421,8 +421,6 @@
+ _data_files += [(os.path.join('share', root),
+ [os.path.join(root, file_) for file_ in files])
+ for root, dirs, files in os.walk('locale')]
+- _data_files += [('/usr/share/nautilus-python/extensions/',
+- ['contrib/nautilus-thg.py'])]
+
+ # Create a config.py. Distributions will need to supply their own
+ cfgfile = os.path.join('tortoisehg', 'util', 'config.py')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130107/d96e9712/attachment-0001.html>
More information about the macports-changes
mailing list