[csw-devel] SF.net SVN: gar:[5708] csw/mgar/pkg/twisted/trunk

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Jul 29 14:59:13 CEST 2009


Revision: 5708
          http://gar.svn.sourceforge.net/gar/?rev=5708&view=rev
Author:   wahwah
Date:     2009-07-29 12:59:13 +0000 (Wed, 29 Jul 2009)

Log Message:
-----------
twisted: Initial build

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

Modified: csw/mgar/pkg/twisted/trunk/Makefile
===================================================================
--- csw/mgar/pkg/twisted/trunk/Makefile	2009-07-29 12:57:12 UTC (rev 5707)
+++ csw/mgar/pkg/twisted/trunk/Makefile	2009-07-29 12:59:13 UTC (rev 5708)
@@ -2,27 +2,47 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-GARNAME = mypkg
-GARVERSION = 1.0
+GARNAME = twisted
+MAJ_VERSION = 8.2
+PATCHLEVEL = 0
+GARVERSION = $(MAJ_VERSION).$(PATCHLEVEL)
 CATEGORIES = lib
 
-DESCRIPTION = This is a useful library
+DESCRIPTION = An event-driven networking engine
 define BLURB
-  It does stuff with things
+  Twisted is a networking engine written in Python, supporting numerous
+  protocols. It contains a web server, numerous chat clients, chat servers,
+  mail servers, and more.
 endef
 
-MASTER_SITES = 
-DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DLOAD_NAME = Twisted
 
+MASTER_SITES = http://tmrc.mit.edu/mirror/$(GARNAME)/$(DLOAD_NAME)/$(MAJ_VERSION)/
+DISTFILES  = $(DLOAD_NAME)-$(GARVERSION).tar.bz2
+
+WORKSRC = $(WORKDIR)/$(DLOAD_NAME)-$(GARVERSION)
+SPKG_CLASSES = none cswpycompile
+REQUIRED_PKGS = CSWcswclassutils CSWpython
+
 # We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
 
-CONFIGURE_ARGS = $(DIRPATHS)
+ARCHALL = 1
+CONFIGURE_SCRIPTS = 
+BUILD_SCRIPTS = twisted
+TEST_SCRIPTS = 
+INSTALL_SCRIPTS = twisted
 
-# Remove the following rules and uncomment the
-# include before building.
-all: .DEFAULT
-.DEFAULT:
-	@true
+PROTOTYPE_FILTER = awk ' \
+  $$$$3 ~/.*\.py$$$$/ { $$$$2 = "pycompile" } \
+  { print }'
 
-#include gar/category.mk
+build-twisted:
+	(cd $(WORKSRC); python setup.py build)
+	@$(MAKECOOKIE)
+
+install-twisted:
+	(cd $(WORKSRC); python setup.py install --root=$(DESTDIR))
+	@$(MAKECOOKIE)
+
+include gar/category.mk

Modified: csw/mgar/pkg/twisted/trunk/checksums
===================================================================
--- csw/mgar/pkg/twisted/trunk/checksums	2009-07-29 12:57:12 UTC (rev 5707)
+++ csw/mgar/pkg/twisted/trunk/checksums	2009-07-29 12:59:13 UTC (rev 5708)
@@ -0,0 +1,2 @@
+c85f151999df3ecf04c49a781b4438d2  download/Twisted-8.2.0.tar.bz2
+


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