[106250] trunk/dports/python

cal at macports.org cal at macports.org
Mon May 20 08:16:05 PDT 2013


Revision: 106250
          https://trac.macports.org/changeset/106250
Author:   cal at macports.org
Date:     2013-05-20 08:16:05 -0700 (Mon, 20 May 2013)
Log Message:
-----------
new port: py-mongoengine

Modified Paths:
--------------
    trunk/dports/python/py-mongoengine/Portfile

Added Paths:
-----------
    trunk/dports/python/py-mongoengine/

Modified: trunk/dports/python/py-mongoengine/Portfile
===================================================================
--- trunk/dports/python/py-unit/Portfile	2013-05-19 18:09:26 UTC (rev 106223)
+++ trunk/dports/python/py-mongoengine/Portfile	2013-05-20 15:16:05 UTC (rev 106250)
@@ -1,33 +1,31 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
-PortGroup python 1.0
+PortSystem          1.0
+PortGroup           python 1.0
+PortGroup           github 1.0
 
-name			py-unit
-version			1.4.1
-revision		1
-categories-append	devel
-license			PSF
-maintainers		nomaintainer
-platforms		darwin freebsd
-supported_archs	noarch
-description		python testing framework
-long_description	python testing framework, py-unit is the python \
-				language version of JUnit
+github.setup        MongoEngine mongoengine 0.8.0 v
+name                py-mongoengine
+checksums           rmd160  5737405dd56fcdd5663cf26de6d56c1ca554b540 \
+                    sha256  0095932df86513b33bc3e00f02dea0ba4a46e6fbbe0732728863054b76cffc8c
 
-homepage		http://pyunit.sourceforge.net/
-master_sites	sourceforge:pyunit
-distname		pyunit-${version}
-checksums		md5 658ff16afc469a3898260cc72bbea993
+license             MIT
+maintainers         cal openmaintainer
+platforms           darwin
+supported_archs     noarch
+description         \
+    MongoEngine is a Document-Object Mapper (think ORM, but for document \
+    databases) for working with MongoDB from Python.
+long_description    \
+    ${description} It uses a simple declarative API, similar to the Django ORM.
 
-python.versions	24
+homepage        http://mongoengine.org/
 
+python.versions     25 26 27
+python.default_version 27
+
 if {$subport != $name} {
-    post-destroot	{
-        xinstall -m 644 -W ${worksrcpath} doc/PyUnit.html CHANGES \
-            ${destroot}${prefix}/share/doc/${subport}
-        xinstall -m 644 -W ${worksrcpath}/examples README alltests.py \
-            listtests.py manytests.py widget.py widgettests.py \
-            withjpython.py ${destroot}${prefix}/share/doc/${subport}/examples
-    }
+    depends_build-append    port:py${python.version}-distribute
+    depends_lib-append      port:py${python.version}-pymongo
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130520/5dc60d9d/attachment.html>


More information about the macports-changes mailing list