source: trunk/dports/python/py-country/Portfile @ 106911

Last change on this file since 106911 was 106911, checked in by jmr@…, 6 years ago

Change distribute dependencies back to setuptools and mark py*-distribute replaced_by py*-setuptools (#39237).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-shellscript
File size: 1.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2# $Id: Portfile 106911 2013-06-11 14:40:14Z jmr@macports.org $
3# vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :
4
5PortSystem          1.0
6PortGroup python  1.0
7
8name                py-country
9version             0.10
10license             LGPL-2.1
11platforms           darwin
12supported_archs     noarch
13maintainers         openmaintainer krischik
14description         ISO country, subdivision, language, currency and script definitions and their translations
15long_description    ISO country, subdivision, language, currency and script definitions and their translations
16
17homepage            http://pypi.python.org/pypi/pycountry
18master_sites        http://pypi.python.org/packages/source/p/pycountry
19distname            pycountry-${version}
20checksums           md5 9329f25a88573174130159b96ba8730a
21
22python.versions     26
23
24if {$subport != $name} {
25        depends_build       port:py${python.version}-setuptools
26
27        test.run            yes
28        test.cmd            ${python.bin}
29        test.target         test.py
30
31        post-destroot {
32            foreach f [glob -directory ${worksrcpath}/ *.txt] {
33                copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
34            }
35        }
36}
Note: See TracBrowser for help on using the repository browser.