[23117] trunk/dports/python

source_changes at macosforge.org source_changes at macosforge.org
Sun Mar 25 11:07:46 PDT 2007


Revision: 23117
          http://trac.macosforge.org/projects/macports/changeset/23117
Author:   mww at macports.org
Date:     2007-03-25 11:07:46 -0700 (Sun, 25 Mar 2007)

Log Message:
-----------
new port py25-aspects, lightweight AoP for Python

Added Paths:
-----------
    trunk/dports/python/py25-aspects/
    trunk/dports/python/py25-aspects/Portfile
    trunk/dports/python/py25-aspects/files/
    trunk/dports/python/py25-aspects/files/setup.py

Added: trunk/dports/python/py25-aspects/Portfile
===================================================================
--- trunk/dports/python/py25-aspects/Portfile	                        (rev 0)
+++ trunk/dports/python/py25-aspects/Portfile	2007-03-25 18:07:46 UTC (rev 23117)
@@ -0,0 +1,31 @@
+# $Id: $
+
+PortSystem 1.0
+PortGroup python25 1.0
+
+name			py25-aspects
+version			0.4
+categories		python
+platforms		darwin
+maintainers		mww at macports.org
+description		Light-weight Approach to Aspect Oriented Programming in Python
+long_description	${description}
+
+homepage		http://www.cs.tut.fi/~ask/aspects/
+master_sites	http://www.cs.tut.fi/~ask/aspects/
+distname		aspects-${version}
+checksums		sha1 ad8cd324d980ec2752d3d372a8d40ee25016a4ee
+
+post-extract {
+	file copy ${filespath}/setup.py ${worksrcpath}
+}
+
+post-destroot	{
+	xinstall -m 644 ${worksrcpath}/LICENSE.txt \
+		${destroot}${prefix}/share/doc/${name}
+	xinstall -m 644 -W ${worksrcpath} aspects_test.py httpget.py setup.py \
+		timeout_advice.py timeout_example.py tracer_advice.py \
+		tracer_example.py typecheck.py typecheck_example.py \
+		${destroot}${prefix}/share/doc/${name}/examples
+}
+

Added: trunk/dports/python/py25-aspects/files/setup.py
===================================================================
--- trunk/dports/python/py25-aspects/files/setup.py	                        (rev 0)
+++ trunk/dports/python/py25-aspects/files/setup.py	2007-03-25 18:07:46 UTC (rev 23117)
@@ -0,0 +1,13 @@
+try:
+    import distutils
+    from distutils import sysconfig
+    from distutils.command.install import install
+    from distutils.core import setup, Extension
+except:
+    raise SystemExit, "Distutils problem"
+
+setup(name = "aspects",
+      version = "0.4",
+      description = "aspect oriented programming for python",
+      py_modules=['aspects']
+      )

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070325/33e3c398/attachment.html


More information about the macports-changes mailing list