[140205] trunk/dports/python
petr at macports.org
petr at macports.org
Fri Sep 11 13:54:40 PDT 2015
Revision: 140205
https://trac.macports.org/changeset/140205
Author: petr at macports.org
Date: 2015-09-11 13:54:40 -0700 (Fri, 11 Sep 2015)
Log Message:
-----------
py-responses: new port
Added Paths:
-----------
trunk/dports/python/py-responses/
trunk/dports/python/py-responses/Portfile
Added: trunk/dports/python/py-responses/Portfile
===================================================================
--- trunk/dports/python/py-responses/Portfile (rev 0)
+++ trunk/dports/python/py-responses/Portfile 2015-09-11 20:54:40 UTC (rev 140205)
@@ -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 responses
+set _n [string index ${_name} 0]
+
+name py-${_name}
+version 0.4.0
+categories-append devel
+platforms darwin
+supported_archs noarch
+license Apache-2
+
+maintainers petr openmaintainer
+
+description A utility library for mocking out the requests library
+
+long_description ${description}.
+
+homepage https://pypi.python.org/pypi/responses
+
+distname ${_name}-${version}
+master_sites https://pypi.python.org/packages/source/${_n}/${_name}/
+
+checksums md5 e3e8171997e22f46387908df30c621c0 \
+ rmd160 1edd8bd39223b9c3eb30b0b24bcb5b068707ab07 \
+ sha256 a5df7b5e060eaa919d7eb77faeacf0acc7e10074bb34c9a0ac2238e21851473b
+
+python.versions 27 34
+
+if {${name} ne ${subport}} {
+ depends_build-append port:py${python.version}-setuptools
+
+ depends_lib-append port:py${python.version}-cookies \
+ port:py${python.version}-mock \
+ port:py${python.version}-requests \
+ port:py${python.version}-six \
+
+ 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-responses/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/20150911/e5eff245/attachment.html>
More information about the macports-changes
mailing list