source: trunk/dports/python/py-entrypoints/Portfile @ 147970

Last change on this file since 147970 was 147970, checked in by stromnov@…, 4 years ago

py-entrypoints: add configparser dependency (#51167)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# -*- 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
2# $Id: Portfile 147970 2016-04-21 20:35:03Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-entrypoints
8version             0.2
9revision            1
10categories-append   devel
11platforms           darwin
12license             BSD
13supported_archs     noarch
14
15python.versions     27 34 35
16
17maintainers         stromnov openmaintainer
18
19description         Discover and load entry points from installed packages.
20long_description    ${description}
21
22homepage            https://github.com/takluyver/entrypoints
23master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
24
25distfiles
26
27if {${name} ne ${subport}} {
28
29    if {${python.version} == 27} {
30        depends_lib-append  port:py${python.version}-configparser
31    }
32
33    post-extract {
34        file mkdir ${worksrcpath}
35        file copy ${filespath}/setup.py ${filespath}/entrypoints.py ${worksrcpath}
36    }
37
38    livecheck.type      none
39} else {
40    livecheck.type      pypi
41}
Note: See TracBrowser for help on using the repository browser.