[135879] trunk/dports/python
petr at macports.org
petr at macports.org
Wed May 6 04:10:26 PDT 2015
Revision: 135879
https://trac.macports.org/changeset/135879
Author: petr at macports.org
Date: 2015-05-06 04:10:25 -0700 (Wed, 06 May 2015)
Log Message:
-----------
py-pyperclip: new port
Added Paths:
-----------
trunk/dports/python/py-pyperclip/
trunk/dports/python/py-pyperclip/Portfile
Added: trunk/dports/python/py-pyperclip/Portfile
===================================================================
--- trunk/dports/python/py-pyperclip/Portfile (rev 0)
+++ trunk/dports/python/py-pyperclip/Portfile 2015-05-06 11:10:25 UTC (rev 135879)
@@ -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 pyperclip
+set _n [string index ${_name} 0]
+
+name py-${_name}
+version 1.5.9
+platforms darwin
+supported_archs noarch
+license BSD
+
+maintainers petr openmaintainer
+
+description A cross-platform clipboard module for Python
+long_description ${description}. It currently handles only plain text.
+
+homepage https://github.com/asweigart/pyperclip
+
+master_sites https://pypi.python.org/packages/source/${_n}/${_name}/
+distname ${_name}-${version}
+use_zip yes
+
+checksums md5 aae99dd8d46e45197ac013350f691591 \
+ rmd160 f0cf3e0137f71636e1be8b474e2f78e52303c8af \
+ sha256 cd0a9a8299811298adfdaab9919c06075d70f72e03a53f95bcdc2f522dc1fabf
+
+python.versions 27 34
+
+if {${name} ne ${subport}} {
+ depends_build-append port:py${python.version}-setuptools
+
+ # Adding documentation
+ # DISABLED: currently not provided with the distfile
+# post-destroot {
+# set dest_doc ${destroot}${prefix}/share/doc/${subport}
+# xinstall -d ${dest_doc}
+
+# xinstall -m 755 -W ${worksrcpath} \
+# AUTHORS.txt\
+# CHANGES.txt \
+# LICENSE.txt \
+# README.md \
+# ${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-pyperclip/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/20150506/94b2c02b/attachment.html>
More information about the macports-changes
mailing list