Changeset 82240
- Timestamp:
- 08/11/11 06:37:39 (4 years ago)
- Location:
- trunk/dports/python
- Files:
-
- 10 added
- 3 deleted
- 1 edited
-
py-pyflakes/Portfile (modified) (2 diffs)
-
py-pyflakes/files (added)
-
py-pyflakes/files/py24-pyflakes (added)
-
py-pyflakes/files/py25-pyflakes (added)
-
py-pyflakes/files/py26-pyflakes (added)
-
py-pyflakes/files/py27-pyflakes (added)
-
py25-pyflakes (deleted)
-
py26-pyflakes (deleted)
-
py27-pyflakes (deleted)
-
pyflakes_select (added)
-
pyflakes_select/Portfile (added)
-
pyflakes_select/files (added)
-
pyflakes_select/files/base (added)
-
pyflakes_select/files/none (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/python/py-pyflakes/Portfile
r77873 r82240 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 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 4 PortGroup python24 1.0 5 PortGroup python 1.0 6 PortGroup select 1.0 5 7 6 8 name py-pyflakes 7 9 version 0.4.0 8 categories python www 10 revision 1 11 categories-append devel 12 license MIT 9 13 platforms darwin 10 maintainers nomaintainer 11 homepage http://www.divmod.org/trac/wiki/DivmodPyflakes 12 description passive checker of Python programs 14 supported_archs noarch 15 16 maintainers stromnov openmaintainer 17 18 description Passive checker of Python programs. 13 19 long_description Pyflakes is program to analyze Python programs and \ 14 20 detect various errors. It works by parsing the source \ … … 16 22 with side effects. It's also much faster. 17 23 24 homepage http://www.divmod.org/trac/wiki/DivmodPyflakes 18 25 master_sites http://pypi.python.org/packages/source/p/pyflakes/ 19 distname pyflakes-${version} 26 20 27 checksums md5 630a72510aae8758f48cf60e4fa17176 \ 21 28 sha1 439b547be3be431de90ebea16b7fd2a3f620e3f9 \ 22 29 rmd160 b2962664414c41128b165d2db5977bfc8ecb7777 23 30 24 d epends_lib-append port:py-setuptools31 distname pyflakes-${version} 25 32 26 post-destroot { 27 move ${destroot}${prefix}/bin/pyflakes ${destroot}${prefix}/bin/pyflakes-2.4 33 python.versions 24 25 26 27 34 35 if {$subport != $name} { 36 post-destroot { 37 if {$subport == "py24-sympy" || $subport == "py25-sympy"} { 38 move ${destroot}${prefix}/bin/pyflakes \ 39 ${destroot}${prefix}/bin/isympy-${python.branch} 40 } 41 } 42 43 depends_run port:pyflakes_select 44 45 select.group pyflakes 46 select.file ${filespath}/py${python.version}-pyflakes 47 48 notes \ 49 "To make the Python ${python.branch} version of py-pyflakes the one that is run 50 when you execute the commands without a version suffix, e.g. 'pyflakes', 51 run: 52 port select --set ${select.group} [file tail ${select.file}]" 28 53 } 29 54 30 55 livecheck.type regex 31 56 livecheck.url http://pypi.python.org/pypi/pyflakes/ 32 livecheck.regex pyflakes (0\.\[0-9\]+\.\[0-9\]+) 33 57 livecheck.regex "pyflakes-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracChangeset
for help on using the changeset viewer.

