[130960] trunk/dports/python
larryv at macports.org
larryv at macports.org
Sat Jan 3 22:59:34 PST 2015
Revision: 130960
https://trac.macports.org/changeset/130960
Author: larryv at macports.org
Date: 2015-01-03 22:59:34 -0800 (Sat, 03 Jan 2015)
Log Message:
-----------
py-import_relative: Create new port
Added Paths:
-----------
trunk/dports/python/py-import_relative/
trunk/dports/python/py-import_relative/Portfile
Added: trunk/dports/python/py-import_relative/Portfile
===================================================================
--- trunk/dports/python/py-import_relative/Portfile (rev 0)
+++ trunk/dports/python/py-import_relative/Portfile 2015-01-04 06:59:34 UTC (rev 130960)
@@ -0,0 +1,39 @@
+# -*- 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
+
+name py-import_relative
+version 0.2.3
+platforms darwin
+supported_archs noarch
+license GPL-3+
+maintainers nomaintainer
+
+description A different kind of relative import
+long_description When you have a large package that contains nested \
+ submodules this allows the nested submodules to \
+ refer to one another without having to pull in or \
+ know much about or explicitly import entire \
+ top-level tree. In contrast to Python's relative \
+ imports, we don't care if a file is invoked as \
+ a main program or as part of a module in the \
+ collection.
+homepage https://code.google.com/p/pyimport-relative
+
+master_sites https://pypi.python.org/packages/source/i/import_relative
+distname import_relative-${version}
+checksums rmd160 ab53ebfdbbdf7f5c6f06849f0f7913a1e169a5cd \
+ sha256 3ed62f11ec8fc525686135d55a117e317b62ee8a612b4415436b6fb03d9724ea
+
+python.versions 27 34
+
+if {${subport} ne ${name}} {
+ depends_build-append port:py${python.version}-setuptools
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url [lindex ${master_sites} 0]
+ livecheck.regex {import_relative-(\d(?:\.\d+)+)}
+}
Property changes on: trunk/dports/python/py-import_relative/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/20150103/86e874f3/attachment-0001.html>
More information about the macports-changes
mailing list