[106451] trunk/dports/python
jmr at macports.org
jmr at macports.org
Sun May 26 19:20:34 PDT 2013
Revision: 106451
https://trac.macports.org/changeset/106451
Author: jmr at macports.org
Date: 2013-05-26 19:20:34 -0700 (Sun, 26 May 2013)
Log Message:
-----------
py26-country: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-country/Portfile
Added Paths:
-----------
trunk/dports/python/py-country/
Removed Paths:
-------------
trunk/dports/python/py26-country/
Modified: trunk/dports/python/py-country/Portfile
===================================================================
--- trunk/dports/python/py26-country/Portfile 2013-05-26 22:24:45 UTC (rev 106446)
+++ trunk/dports/python/py-country/Portfile 2013-05-27 02:20:34 UTC (rev 106451)
@@ -1,13 +1,15 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 84; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+# -*- coding: utf-8; mode: tcl; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# $Id$
# vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-country
+name py-country
version 0.10
+license LGPL-2.1
platforms darwin
+supported_archs noarch
maintainers openmaintainer krischik
description ISO country, subdivision, language, currency and script definitions and their translations
long_description ISO country, subdivision, language, currency and script definitions and their translations
@@ -17,14 +19,18 @@
distname pycountry-${version}
checksums md5 9329f25a88573174130159b96ba8730a
-depends_build port:py26-distribute
+python.versions 26
-test.run yes
-test.cmd ${python.bin}
-test.target test.py
+if {$subport != $name} {
+ depends_build port:py${python.version}-distribute
-post-destroot {
- foreach f [glob -directory ${worksrcpath}/ *.txt] {
- copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
- }
+ test.run yes
+ test.cmd ${python.bin}
+ test.target test.py
+
+ post-destroot {
+ foreach f [glob -directory ${worksrcpath}/ *.txt] {
+ copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
+ }
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130526/64f5ff37/attachment.html>
More information about the macports-changes
mailing list