[145791] trunk/dports/python
petr at macports.org
petr at macports.org
Wed Feb 17 06:34:20 PST 2016
Revision: 145791
https://trac.macports.org/changeset/145791
Author: petr at macports.org
Date: 2016-02-17 06:34:19 -0800 (Wed, 17 Feb 2016)
Log Message:
-----------
py-imgur: new port
Added Paths:
-----------
trunk/dports/python/py-imgur/
trunk/dports/python/py-imgur/Portfile
Added: trunk/dports/python/py-imgur/Portfile
===================================================================
--- trunk/dports/python/py-imgur/Portfile (rev 0)
+++ trunk/dports/python/py-imgur/Portfile 2016-02-17 14:34:19 UTC (rev 145791)
@@ -0,0 +1,44 @@
+# -*- 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 pyimgur
+set _n [string index ${_name} 0]
+
+name py-imgur
+version 0.5.3
+categories-append devel
+platforms darwin
+supported_archs noarch
+license GPL-3
+
+maintainers petr openmaintainer
+
+description The simple way of using Imgur
+
+long_description ${description}
+
+homepage https://pypi.python.org/pypi/${_name}/${version}
+
+distname ${_name}-${version}
+master_sites https://pypi.python.org/packages/source/${_n}/${_name}/
+
+checksums md5 6a5585a8729a77024dee196b5894e6dc \
+ rmd160 da8397a8c4b2fe41a49fcae7ac6d6ea24834f629 \
+ sha256 63da5e6793363ceab8a76328c11faab6fc5dd36b98a8eb16262653e445a9428a
+
+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-imgur/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/20160217/9917e60c/attachment.html>
More information about the macports-changes
mailing list