|
Revision 17949, 1.0 KB
(checked in by rthurner, 3 weeks ago)
|
|
mercurial, upgrade to hg-2.2.1, fix hgweb memory leak
|
| Line | |
|---|
| 1 | NAME = mercurial |
|---|
| 2 | VERSION = 2.2.1 |
|---|
| 3 | CATEGORIES = python |
|---|
| 4 | GARTYPE = v2 |
|---|
| 5 | |
|---|
| 6 | DESCRIPTION = Fast, lightweight Source Control Management system |
|---|
| 7 | |
|---|
| 8 | MASTER_SITES = http://selenic.com/mercurial/release/ |
|---|
| 9 | DISTFILES = $(NAME)-$(VERSION).tar.gz |
|---|
| 10 | # We define upstream file regex so we can be notifed of new upstream software release |
|---|
| 11 | UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz |
|---|
| 12 | |
|---|
| 13 | PACKAGES = CSWmercurial |
|---|
| 14 | |
|---|
| 15 | SPKG_DESC_CSWmercurial = Mercurial |
|---|
| 16 | RUNTIME_DEP_PKGS_CSWmercurial += CSWlibpython2-6-1-0 |
|---|
| 17 | |
|---|
| 18 | CONFIGURE_SCRIPTS = |
|---|
| 19 | BUILD_SCRIPTS = $(WORKSRC)/setup.py |
|---|
| 20 | # Some tests fail, but manual inspection of the failures show no significant failures. |
|---|
| 21 | TEST_SCRIPTS = |
|---|
| 22 | #TEST_TARGET = #tests |
|---|
| 23 | |
|---|
| 24 | CHECKPKG_OVERRIDES_CSWmercurial += pkgname-does-not-start-with-CSWpy- |
|---|
| 25 | CHECKPKG_OVERRIDES_CSWmercurial += catalogname-does-not-start-with-py_ |
|---|
| 26 | |
|---|
| 27 | include gar/category.mk |
|---|
| 28 | |
|---|
| 29 | pre-build-modulated: |
|---|
| 30 | @echo "Changing /bin/sh to /opt/csw/bin/bash in test scripts..." |
|---|
| 31 | @(cd $(WORKSRC)/tests; \ |
|---|
| 32 | ggrep -rl '#!/bin/sh' * | \ |
|---|
| 33 | xargs perl -pi -e 's|#!/bin/sh|#!/opt/csw/bin/bash|' ) |
|---|
| 34 | @$(MAKECOOKIE) |
|---|