[146443] trunk/dports/python

petr at macports.org petr at macports.org
Mon Mar 7 10:18:17 PST 2016


Revision: 146443
          https://trac.macports.org/changeset/146443
Author:   petr at macports.org
Date:     2016-03-07 10:18:17 -0800 (Mon, 07 Mar 2016)
Log Message:
-----------
py-datacite: new port

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

Added: trunk/dports/python/py-datacite/Portfile
===================================================================
--- trunk/dports/python/py-datacite/Portfile	                        (rev 0)
+++ trunk/dports/python/py-datacite/Portfile	2016-03-07 18:18:17 UTC (rev 146443)
@@ -0,0 +1,42 @@
+# -*- 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           datacite
+set _n              [string index ${_name} 0]
+
+name                py-${_name}
+version             0.1.0
+categories-append   net
+platforms           darwin
+supported_archs     noarch
+license             BSD
+maintainers         petr openmaintainer
+
+description         Python wrapper for the DataCite Metadata Store API
+long_description    ${description}
+
+homepage            http://datacite.readthedocs.org/en/stable/
+
+distname            ${_name}-${version}
+master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
+
+checksums           md5     b575cb6a7ddd27b6b1de007d1d803b26 \
+                    rmd160  94fa4b46d906a7eaad4ef7390a12bfe5dca7e36a \
+                    sha256  bd4ef5d7d5fcf9e3ac9a8315e0a30d56405ea5cce6cbd11d0950f90cbc84a65e
+
+python.versions     27 34 35
+
+if {${name} ne ${subport}} {
+    depends_build-append    port:py${python.version}-setuptools
+
+    depends_lib-append      port:py${python.version}-requests
+
+    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-datacite/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160307/fb49262b/attachment-0001.html>


More information about the macports-changes mailing list