SF.net SVN: gar:[25624] csw/mgar/pkg/mercurial/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Mar 21 11:01:58 CET 2016


Revision: 25624
          http://sourceforge.net/p/gar/code/25624
Author:   dmichelsen
Date:     2016-03-21 10:01:58 +0000 (Mon, 21 Mar 2016)
Log Message:
-----------
mercurial/trunk: Simplify recipe

Modified Paths:
--------------
    csw/mgar/pkg/mercurial/trunk/Makefile

Modified: csw/mgar/pkg/mercurial/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mercurial/trunk/Makefile	2016-03-21 09:59:01 UTC (rev 25623)
+++ csw/mgar/pkg/mercurial/trunk/Makefile	2016-03-21 10:01:58 UTC (rev 25624)
@@ -1,39 +1,22 @@
 NAME = mercurial
 VERSION = 3.7.2
 CATEGORIES = python
-GARTYPE = v2
 
 DESCRIPTION = Fast, lightweight Source Control Management system
 
-MASTER_SITES = http://selenic.com/mercurial/release/
-DISTFILES  = $(NAME)-$(VERSION).tar.gz
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+MASTER_SITES += http://selenic.com/mercurial/release/
+DISTFILES += $(DISTNAME).tar.gz
 
-PACKAGES = CSWmercurial
+# We can just build for Python 2.7 as this is an application
+MODULATIONS_PYTHON_VERSION = 2_7
+PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
 
-SPKG_DESC_CSWmercurial = Mercurial
+PACKAGES += CSWmercurial
+SPKG_DESC_CSWmercurial = Mercurial SCM
+RUNTIME_DEP_PKGS_CSWmercurial += CSWlibpython2-7-1-0
+RUNTIME_DEP_PKGS_CSWmercurial += CSWlibgcc-s1
 
-CONFIGURE_SCRIPTS =
-BUILD_SCRIPTS = $(WORKSRC)/setup.py
-# Some tests fail, but manual inspection of the failures show no significant failures.
-# how to include the test scripts correctly with mgar? a test target does not exist
-TEST_SCRIPTS      = 
-#TEST_SCRIPTS      = $(WORKSRC)/tests/run_tests.py
-#TEST_TARGET       = 
-
-#RUNTIME_DEP_PKGS_CSWmercurial += CSWlibgcc-s1
-#RUNTIME_DEP_PKGS_CSWmercurial += CSWlibpython2-6-1-0
-#RUNTIME_DEP_PKGS_CSWmercurial += CSWlibpython2-7-1-0
-
 CHECKPKG_OVERRIDES_CSWmercurial += pkgname-does-not-start-with-CSWpy-
 CHECKPKG_OVERRIDES_CSWmercurial += catalogname-does-not-start-with-py_
 
 include gar/category.mk
-
-pre-build-modulated:
-	@echo "Changing /bin/sh to /opt/csw/bin/bash in test scripts..."
-	@(cd $(WORKSRC)/tests; \
-		ggrep -rl '#!/bin/sh' * | \
-			xargs perl -pi -e 's|#!/bin/sh|#!/opt/csw/bin/bash|' )
-	@$(MAKECOOKIE)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list