[135964] trunk/dports/python
petr at macports.org
petr at macports.org
Fri May 8 03:06:17 PDT 2015
Revision: 135964
https://trac.macports.org/changeset/135964
Author: petr at macports.org
Date: 2015-05-08 03:06:17 -0700 (Fri, 08 May 2015)
Log Message:
-----------
py-ckanapi: new port
Added Paths:
-----------
trunk/dports/python/py-ckanapi/
trunk/dports/python/py-ckanapi/Portfile
Added: trunk/dports/python/py-ckanapi/Portfile
===================================================================
--- trunk/dports/python/py-ckanapi/Portfile (rev 0)
+++ trunk/dports/python/py-ckanapi/Portfile 2015-05-08 10:06:17 UTC (rev 135964)
@@ -0,0 +1,47 @@
+# -*- 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 ckanapi
+set _n [string index ${_name} 0]
+
+name py-${_name}
+version 3.4
+categories-append net
+platforms darwin
+supported_archs noarch
+license MIT
+
+maintainers petr openmaintainer
+
+description Python packages for accessing the CKAN Action API
+
+long_description A command line interface and Python module for accessing \
+ the CKAN Action API
+
+homepage https://github.com/ckan/ckanapi
+
+distname ${_name}-${version}
+master_sites https://pypi.python.org/packages/source/${_n}/${_name}/
+
+checksums md5 6d1544cf7a0fc7e93a76355c9c46f361 \
+ rmd160 c90c8131f4f984d535195ca41fba27fe42b7dea6 \
+ sha256 d3ca3fbaab8c211cd2ec00f4f21c39a68f2fe8d33e8fcc8515fbfd6a41ba0174
+
+python.versions 27 34
+
+if {${name} ne ${subport}} {
+ depends_build-append port:py${python.version}-setuptools
+
+ depends_lib-append port:py${python.version}-docopt \
+ port:py${python.version}-requests
+ #simplejson
+
+ 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-ckanapi/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/20150508/a5445baf/attachment.html>
More information about the macports-changes
mailing list