[csw-devel] SF.net SVN: gar:[4172] csw/mgar/pkg

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Fri Apr 3 08:32:57 CEST 2009


Revision: 4172
          http://gar.svn.sourceforge.net/gar/?rev=4172&view=rev
Author:   wahwah
Date:     2009-04-03 06:32:57 +0000 (Fri, 03 Apr 2009)

Log Message:
-----------
Adding PyYAML library

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

Added Paths:
-----------
    csw/mgar/pkg/pyyaml/

Property Changed:
----------------
    csw/mgar/pkg/pyyaml/trunk/
    csw/mgar/pkg/pyyaml/trunk/Makefile


Property changes on: csw/mgar/pkg/pyyaml/trunk
___________________________________________________________________
Modified: svn:ignore
   - cookies
download
work


   + cookies
download
work


Modified: csw/mgar/pkg/pyyaml/trunk/Makefile
===================================================================
--- csw/mgar/pkg/template/trunk/Makefile	2009-04-02 06:26:31 UTC (rev 4154)
+++ csw/mgar/pkg/pyyaml/trunk/Makefile	2009-04-03 06:32:57 UTC (rev 4172)
@@ -1,24 +1,51 @@
-GARNAME = mypkg
-GARVERSION = 1.0
+# Copyright 2009 OpenCSW
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+GARNAME = pyyaml
+GARVERSION = 3.08
 CATEGORIES = lib
 
-DESCRIPTION = This is a useful library
+PROJ_NAME = PyYAML
+
+DESCRIPTION = YAML parser and emitter for Python
 define BLURB
-  It does stuff with things
+  PyYAML is a YAML parser and emitter for the Python programming language.
+
+  PyYAML features:
+  
+  * a complete YAML 1.1 parser. In particular, PyYAML can parse all examples
+    from the specification. The parsing algorithm is simple enough to be a
+    reference for YAML parser implementors.
+  * Unicode support including UTF-8/UTF-16 input/output and \u escape
+    sequences.
+  * low-level event-based parser and emitter API (like SAX).
+  * high-level API for serializing and deserializing native Python
+    objects (like DOM or pickle).
+  * support for all types from the YAML types repository. A
+    simple extension API is provided.
+  * both pure-Python and fast LibYAML-based parsers and
+    emitters.
+  * relatively sensible error messages. 
 endef
 
-MASTER_SITES = 
-DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+MASTER_SITES = http://pyyaml.org/download/pyyaml/
+DISTFILES  = $(PROJ_NAME)-$(GARVERSION).tar.gz
+WORKSRC = $(WORKDIR)/$(PROJ_NAME)-$(GARVERSION)
 
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
-CONFIGURE_ARGS = $(DIRPATHS)
+ARCHALL = 1
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS = pyyaml
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = pyyaml
 
-# Remove the following rules and uncomment the
-# include before building.
-all: .DEFAULT
-.DEFAULT:
-	@true
+build-pyyaml:
+	(cd $(WORKSRC); python setup.py build)
 
-#include gar/category.mk
+install-pyyaml:
+	(cd $(WORKSRC); python setup.py install --root=$(DESTDIR))
+
+include gar/category.mk


Property changes on: csw/mgar/pkg/pyyaml/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id Header

Modified: csw/mgar/pkg/pyyaml/trunk/checksums
===================================================================
--- csw/mgar/pkg/template/trunk/checksums	2009-04-02 06:26:31 UTC (rev 4154)
+++ csw/mgar/pkg/pyyaml/trunk/checksums	2009-04-03 06:32:57 UTC (rev 4172)
@@ -0,0 +1 @@
+a4163a2017fa57f448c66815511fa555  download/PyYAML-3.08.tar.gz


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