[140196] trunk/dports/python
petr at macports.org
petr at macports.org
Fri Sep 11 10:40:16 PDT 2015
Revision: 140196
https://trac.macports.org/changeset/140196
Author: petr at macports.org
Date: 2015-09-11 10:40:16 -0700 (Fri, 11 Sep 2015)
Log Message:
-----------
py-cookies: new port
Added Paths:
-----------
trunk/dports/python/py-cookies/
trunk/dports/python/py-cookies/Portfile
trunk/dports/python/py-cookies/files/
trunk/dports/python/py-cookies/files/LICENSE
Added: trunk/dports/python/py-cookies/Portfile
===================================================================
--- trunk/dports/python/py-cookies/Portfile (rev 0)
+++ trunk/dports/python/py-cookies/Portfile 2015-09-11 17:40:16 UTC (rev 140196)
@@ -0,0 +1,55 @@
+# -*- 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 cookies
+set _n [string index ${_name} 0]
+
+name py-${_name}
+version 2.2.1
+categories-append devel
+platforms darwin
+#supported_archs noarch
+license MIT
+
+maintainers petr openmaintainer
+
+description Friendly, RFC 6265-compliant cookie parser/renderer module
+
+long_description \
+ Python module for working with HTTP cookies: parsing and rendering \
+ 'Cookie:' request headers and 'Set-Cookie:' response headers, and \
+ exposing a convenient API for creating and modifying cookies. \
+ It can be used as a replacement of Python's `Cookie` or `http.cookies`.
+
+homepage https://github.com/sashahart/cookies
+
+distname ${_name}-${version}
+master_sites https://pypi.python.org/packages/source/${_n}/${_name}/
+
+checksums md5 6f4c53aba3ed03e4e7b50812c2c2579a \
+ rmd160 a942793a1d643cb30ddf5d161e4c4b1e5c8dcf31 \
+ sha256 d6b698788cae4cfa4e62ef8643a9ca332b79bd96cb314294b864ae8d7eb3ee8e
+
+python.versions 27 34
+
+if {${name} ne ${subport}} {
+ depends_build-append port:py${python.version}-setuptools
+
+ # add documents
+ post-destroot {
+ set dest_doc ${destroot}${prefix}/share/doc/${subport}
+ xinstall -d ${dest_doc}
+ xinstall -m 644 -W ${worksrcpath} README ${dest_doc}
+ # temporary: from GitHub, no LICENSE file in the tarball
+ xinstall -m 644 -W ${filespath} LICENSE ${dest_doc}
+ }
+
+ 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-cookies/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/python/py-cookies/files/LICENSE
===================================================================
--- trunk/dports/python/py-cookies/files/LICENSE (rev 0)
+++ trunk/dports/python/py-cookies/files/LICENSE 2015-09-11 17:40:16 UTC (rev 140196)
@@ -0,0 +1,19 @@
+Copyright (c) 2011 Sasha Hart.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150911/1aec34fa/attachment.html>
More information about the macports-changes
mailing list