[csw-devel] SF.net SVN: gar:[6135] csw/mgar/pkg/pyyaml/trunk/Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat Aug 29 10:55:59 CEST 2009


Revision: 6135
          http://gar.svn.sourceforge.net/gar/?rev=6135&view=rev
Author:   wahwah
Date:     2009-08-29 08:55:59 +0000 (Sat, 29 Aug 2009)

Log Message:
-----------
pyyaml: Simplified the build file by using the python category. Enabled the test phase.

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

Modified: csw/mgar/pkg/pyyaml/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pyyaml/trunk/Makefile	2009-08-28 22:40:45 UTC (rev 6134)
+++ csw/mgar/pkg/pyyaml/trunk/Makefile	2009-08-29 08:55:59 UTC (rev 6135)
@@ -1,14 +1,13 @@
 # Copyright 2009 OpenCSW
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Header$
 
 GARNAME = pyyaml
 GARVERSION = 3.08
-CATEGORIES = lib
+CATEGORIES = python
 
 PROJ_NAME = PyYAML
 
-DESCRIPTION = YAML parser and emitter for Python
 define BLURB
   PyYAML is a YAML parser and emitter for the Python programming language.
 
@@ -39,34 +38,21 @@
 CATALOGNAME_CSWpyyaml = py_pyyaml
 CATALOGNAME_CSWpyyamlrt = py_pyyaml_rt
 
-REQUIRED_PKGS_CSWpyyaml = CSWpython
 REQUIRED_PKGS_CSWpyyamlrt = CSWpython-rt CSWlibyaml
-PREREQUISITE_PKGS = $(REQUIRED_PKGS)
+PREREQUISITE_PKGS = CSWpython CSWlibyaml
 
+SPKG_DESC_CSWpyyaml = YAML parser and emitter for Python
+SPKG_DESC_CSWpyyamlrt = Runtime libraries for YAML parser and emitter
+
 ARCHALL_CSWpyyaml = 1
 PKGFILES_CSWpyyamlrt = /opt/csw/lib/python/site-packages/.*\.so
 
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
-CONFIGURE_SCRIPTS =
 BUILD_SCRIPTS = pyyaml
-TEST_SCRIPTS =
-INSTALL_SCRIPTS = pyyaml
 
-PROTOTYPE_FILTER = awk ' \
-  $$$$3 ~/.*\.py$$$$/ { $$$$2 = "cswpycompile" } \
-  { print }'
-
 build-pyyaml:
 	(cd $(WORKSRC); $(BUILD_ENV) python setup.py --with-libyaml build)
 	@$(MAKECOOKIE)
 
-install-pyyaml:
-	(cd $(WORKSRC); $(INSTALL_ENV) python setup.py install --root=$(DESTDIR))
-	@$(MAKECOOKIE)
-
-post-install-modulated:
-	gfind $(DESTDIR) -type f -name '*.pyc' -exec rm {} \;
-	@$(MAKECOOKIE)
-
 include gar/category.mk


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