diff --git a/dports/python/pep8_select/Portfile b/dports/python/pep8_select/Portfile
new file mode 100644
index 0000000..63f38bb
-
|
+
|
|
| 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$ |
| 3 | |
| 4 | PortSystem 1.0 |
| 5 | PortGroup select 1.0 |
| 6 | |
| 7 | name pep8_select |
| 8 | version 0.1 |
| 9 | revision 0 |
| 10 | categories python |
| 11 | license BSD |
| 12 | maintainers nomaintainer |
| 13 | description common files for selecting default pep8 version |
| 14 | long_description \ |
| 15 | This port installs files that allow 'port select' to be used to \ |
| 16 | create links to the preferred default version of pep8. |
| 17 | |
| 18 | platforms darwin |
| 19 | supported_archs noarch |
| 20 | |
| 21 | homepage http://www.macports.org/ |
| 22 | |
| 23 | distfiles |
| 24 | |
| 25 | use_configure no |
| 26 | build {} |
| 27 | destroot { |
| 28 | select::install pep8 ${filespath}/base |
| 29 | select::install pep8 ${filespath}/none |
| 30 | } |
| 31 | |
| 32 | livecheck.type none |
diff --git a/dports/python/pep8_select/files/base b/dports/python/pep8_select/files/base
new file mode 100644
index 0000000..bd669cf
diff --git a/dports/python/pep8_select/files/none b/dports/python/pep8_select/files/none
new file mode 100644
index 0000000..39cdd0d
diff --git a/dports/python/py-pep8/Portfile b/dports/python/py-pep8/Portfile
index 410d58d..1e010dc 100644
a
|
b
|
|
| 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 | 5 | PortGroup python 1.0 |
| 6 | PortGroup select 1.0 |
5 | 7 | |
6 | 8 | name py-pep8 |
7 | | set real_name pep8 |
8 | | version 0.6.1 |
| 9 | set realname pep8 |
| 10 | version 1.0.1 |
9 | 11 | python.versions 24 25 26 27 31 32 |
10 | 12 | categories-append devel |
11 | 13 | platforms darwin |
… |
… |
long_description \ |
16 | 18 | pep8 is a tool to check your Python code against some of the style conventions \ |
17 | 19 | in PEP 8 (http://www.python.org/dev/peps/pep-0008/) |
18 | 20 | |
19 | | homepage http://pypi.python.org/pypi/${real_name} |
20 | | master_sites http://pypi.python.org/packages/source/p/${real_name} |
21 | | distname ${real_name}-${version} |
| 21 | homepage http://pypi.python.org/pypi/${realname} |
| 22 | master_sites http://pypi.python.org/packages/source/p/${realname} |
| 23 | distname ${realname}-${version} |
22 | 24 | |
23 | | checksums rmd160 9234bd7776ef09cc06c6f33350f1752d49ec2135 \ |
24 | | sha256 c0654b683bd0c20987e3e767bb0241daf014d854cb89ec84fbed623e349faeec |
| 25 | |
| 26 | checksums rmd160 789ceed5cd0241dc5661a6e7b3b0f2a656183547 \ |
| 27 | sha256 67ce5e323d3366cd76b41e794ccc5fa580ed83267332f8c06c36ffe6ad20185d |
25 | 28 | |
26 | 29 | if {${subport} != ${name}} { |
27 | | depends_build-append port:py${python.version}-distribute |
| 30 | depends_build-append port:py${python.version}-distribute |
| 31 | depends_run port:pep8_select |
| 32 | select.group ${realname} |
| 33 | select.file ${filespath}/${realname}${python.version} |
| 34 | notes " |
| 35 | To make the Python ${python.branch} version of pep8 the one that is run\ |
| 36 | when you execute the commands without a version suffix, e.g. 'pep8', run: |
| 37 | |
| 38 | port select --set ${select.group} [file tail ${select.file}] |
| 39 | " |
| 40 | |
28 | 41 | } |
diff --git a/dports/python/py-pep8/files/pep824 b/dports/python/py-pep8/files/pep824
new file mode 100644
index 0000000..4d12464
diff --git a/dports/python/py-pep8/files/pep825 b/dports/python/py-pep8/files/pep825
new file mode 100644
index 0000000..b994a10
diff --git a/dports/python/py-pep8/files/pep826 b/dports/python/py-pep8/files/pep826
new file mode 100644
index 0000000..4a7ecf0
diff --git a/dports/python/py-pep8/files/pep827 b/dports/python/py-pep8/files/pep827
new file mode 100644
index 0000000..8c815ea
diff --git a/dports/python/py-pep8/files/pep831 b/dports/python/py-pep8/files/pep831
new file mode 100644
index 0000000..c949703
diff --git a/dports/python/py-pep8/files/pep832 b/dports/python/py-pep8/files/pep832
new file mode 100644
index 0000000..e52b560