[csw-devel] SF.net SVN: gar:[6120] csw/mgar/pkg/pyantlrrt/trunk/Makefile
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Thu Aug 27 17:21:03 CEST 2009
Revision: 6120
http://gar.svn.sourceforge.net/gar/?rev=6120&view=rev
Author: wahwah
Date: 2009-08-27 15:21:03 +0000 (Thu, 27 Aug 2009)
Log Message:
-----------
pyantlrrt: Added the use of cswpycompile
Modified Paths:
--------------
csw/mgar/pkg/pyantlrrt/trunk/Makefile
Property Changed:
----------------
csw/mgar/pkg/pyantlrrt/trunk/Makefile
Modified: csw/mgar/pkg/pyantlrrt/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pyantlrrt/trunk/Makefile 2009-08-27 14:27:34 UTC (rev 6119)
+++ csw/mgar/pkg/pyantlrrt/trunk/Makefile 2009-08-27 15:21:03 UTC (rev 6120)
@@ -1,3 +1,7 @@
+# Copyright 2009 OpenCSW
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
GARNAME = pyantlrrt
GARVERSION = 3.1.1
CATEGORIES = lib
@@ -12,11 +16,17 @@
WORKSRC = $(WORKDIR)/antlr_python_runtime-$(GARVERSION)
-# We define upstream file regex so we can be notifed of new upstream software release
+REQUIRED_PKGS = CSWcswclassutils CSWpython CSWpython-rt
+
UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+SPKG_CLASSES = none cswpycompile
ARCHALL = 1
+PROTOTYPE_FILTER = awk ' \
+ $$$$3 ~/.*\.py$$$$/ { $$$$2 = "pycompile" } \
+ { print }'
+
CONFIGURE_SCRIPTS =
BUILD_SCRIPTS = $(WORKSRC)/setup.py
@@ -25,4 +35,8 @@
TEST_SCRIPTS =
+post-install-modulated:
+ gfind $(DESTDIR) -type f -name '*.pyc' -exec rm {} \;
+ @$(MAKECOOKIE)
+
include gar/category.mk
Property changes on: csw/mgar/pkg/pyantlrrt/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
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