[141569] trunk/dports/python

petr at macports.org petr at macports.org
Sat Dec 12 02:05:11 PST 2015


Revision: 141569
          https://trac.macports.org/changeset/141569
Author:   petr at macports.org
Date:     2015-10-21 05:43:11 -0700 (Wed, 21 Oct 2015)
Log Message:
-----------
py-bson: new port, py-pymongo: add conflicts with new port py-bson

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

Added Paths:
-----------
    trunk/dports/python/py-bson/
    trunk/dports/python/py-bson/Portfile

Added: trunk/dports/python/py-bson/Portfile
===================================================================
--- trunk/dports/python/py-bson/Portfile	                        (rev 0)
+++ trunk/dports/python/py-bson/Portfile	2015-10-21 12:43:11 UTC (rev 141569)
@@ -0,0 +1,48 @@
+# -*- 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
+
+set _name           bson
+set _n              [string index ${_name} 0]
+
+name                py-${_name}
+version             0.4.1
+categories-append   devel database
+platforms           darwin
+supported_archs     noarch
+license             BSD
+
+maintainers         petr openmaintainer
+
+description         BSON codec for Python that independent on MongoDB
+
+long_description    \
+    Independent BSON codec for Python that does not depend on MongoDB.
+
+homepage            https://pypi.python.org/pypi/${_name}
+
+distname            ${_name}-${version}
+master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
+
+checksums           md5     c1709368d6a8dd1f9594f16d10b9c09b \
+                    rmd160  5502661db6c81d4b7b782b353340269de66d0a68 \
+                    sha256  88a38190c6ecad96c4310e357937847c5068a6857f06143b9a5e36ea99ae882b
+
+python.versions     27 34 35
+
+if {${name} ne ${subport}} {
+    conflicts               py${python.version}-pymongo
+
+    depends_build-append    port:py${python.version}-setuptools
+
+    depends_lib-append      port:py${python.version}-six \
+                            port:py${python.version}-tz
+
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   https://pypi.python.org/pypi/${_name}/json
+    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
+}


Property changes on: trunk/dports/python/py-bson/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Modified: trunk/dports/python/py-pymongo/Portfile
===================================================================
--- trunk/dports/python/py-pymongo/Portfile	2015-10-21 10:39:44 UTC (rev 141568)
+++ trunk/dports/python/py-pymongo/Portfile	2015-10-21 12:43:11 UTC (rev 141569)
@@ -29,6 +29,8 @@
                     sha256  3c6b2317f8031bc1e200fd1ea35f00a96f4569e3f3f220a5e66ab6227d96ccaf
 
 if {${name} ne ${subport}} {
+    conflicts               py${python.version}-bson
+
     depends_build-append    port:py${python.version}-setuptools
     post-destroot {
         xinstall -m 755 -d ${destroot}${python.prefix}/share/doc/${subport}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/a5f3b1b3/attachment-0001.html>


More information about the macports-changes mailing list