Changeset 82490
- Timestamp:
- 08/14/11 09:31:44 (4 years ago)
- Location:
- trunk/dports/python
- Files:
-
- 2 edited
- 2 copied
-
py31-dateutil (copied) (copied from trunk/dports/python/py-dateutil)
-
py31-dateutil/Portfile (modified) (3 diffs)
-
py32-dateutil (copied) (copied from trunk/dports/python/py-dateutil)
-
py32-dateutil/Portfile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/python/py31-dateutil/Portfile
r82458 r82490 3 3 4 4 PortSystem 1.0 5 PortGroup python 1.05 PortGroup python31 1.0 6 6 7 name py -dateutil7 name py31-dateutil 8 8 set my_name python-dateutil 9 version 1.5 10 revision 1 9 version 2.0 11 10 categories python 12 11 platforms darwin 13 12 supported_archs noarch 14 maintainers dhram openmaintainer13 maintainers ram openmaintainer 15 14 16 15 description powerful extensions to the standard python datetime module … … 25 24 rmd160 5f7c80ec9bf68f1708213596a994130964e91e52 26 25 27 python.versions 24 25 26 27 28 29 if {${subport} == "py24-dateutil"} { 30 depends_run port:py-tz \ 31 port:py-setuptools 32 } elseif {${subport} != ${name}} { 33 depends_run port:py${python.version}-tz \ 34 port:py${python.version}-distribute 35 } 26 depends_run port:py31-tz \ 27 port:py31-distribute 36 28 37 29 test.run yes … … 41 33 42 34 post-destroot { 43 if {${name} != ${subport}} { 44 set docdir ${prefix}/share/doc/${subport} 35 set docdir ${prefix}/share/doc/${name} 45 36 xinstall -d ${destroot}${docdir} 46 37 xinstall -m 0644 -W ${worksrcpath} LICENSE README NEWS ${destroot}${docdir} 47 }48 38 } 49 39 50 40 livecheck.type regex 51 livecheck.regex /${my_name}-( 1.(\\d+)*)41 livecheck.regex /${my_name}-(\\d+(?:\\.\\d+)*) -
trunk/dports/python/py32-dateutil/Portfile
r82458 r82490 3 3 4 4 PortSystem 1.0 5 PortGroup python 1.05 PortGroup python32 1.0 6 6 7 name py -dateutil7 name py32-dateutil 8 8 set my_name python-dateutil 9 version 1.5 10 revision 1 9 version 2.0 11 10 categories python 12 11 platforms darwin 13 12 supported_archs noarch 14 maintainers dhram openmaintainer13 maintainers ram openmaintainer 15 14 16 15 description powerful extensions to the standard python datetime module … … 25 24 rmd160 5f7c80ec9bf68f1708213596a994130964e91e52 26 25 27 python.versions 24 25 26 27 28 29 if {${subport} == "py24-dateutil"} { 30 depends_run port:py-tz \ 31 port:py-setuptools 32 } elseif {${subport} != ${name}} { 33 depends_run port:py${python.version}-tz \ 34 port:py${python.version}-distribute 35 } 26 depends_run port:py32-tz \ 27 port:py32-distribute 36 28 37 29 test.run yes … … 41 33 42 34 post-destroot { 43 if {${name} != ${subport}} { 44 set docdir ${prefix}/share/doc/${subport} 35 set docdir ${prefix}/share/doc/${name} 45 36 xinstall -d ${destroot}${docdir} 46 37 xinstall -m 0644 -W ${worksrcpath} LICENSE README NEWS ${destroot}${docdir} 47 }48 38 } 49 39 50 40 livecheck.type regex 51 livecheck.regex /${my_name}-( 1.(\\d+)*)41 livecheck.regex /${my_name}-(\\d+(?:\\.\\d+)*)
Note: See TracChangeset
for help on using the changeset viewer.

