[30120] trunk/dports/python/py25-dateutil/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Oct 20 06:54:57 PDT 2007
Revision: 30120
http://trac.macosforge.org/projects/macports/changeset/30120
Author: nox at macports.org
Date: 2007-10-20 06:54:57 -0700 (Sat, 20 Oct 2007)
Log Message:
-----------
py25-dateutil:
* Added py25-tz runtime dependency.
* Added livecheck.
* docdir now includes the port version.
* Disabled universal support (arch-agnostic port).
Modified Paths:
--------------
trunk/dports/python/py25-dateutil/Portfile
Modified: trunk/dports/python/py25-dateutil/Portfile
===================================================================
--- trunk/dports/python/py25-dateutil/Portfile 2007-10-20 13:52:56 UTC (rev 30119)
+++ trunk/dports/python/py25-dateutil/Portfile 2007-10-20 13:54:57 UTC (rev 30120)
@@ -6,6 +6,7 @@
name py25-dateutil
set my_name python-dateutil
version 1.2
+revision 1
categories python
platforms darwin
maintainers nomaintainer
@@ -23,16 +24,22 @@
sha1 9884849261bc9dd64f7dd05a39e62385a30b5819 \
rmd160 31e62aceb2ce980b5cfb64841f7d125f817f618b
+depends_run port:py25-tz
+
test.run yes
test.cmd ${python.bin} test.py
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib
-post-destroot {
- xinstall -m 0644 -W ${worksrcpath} LICENSE README \
- ${destroot}${prefix}/share/doc/${name}
+post-destroot {
+ set docdir ${prefix}/share/doc/${name}-${version}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 0644 -W ${worksrcpath} LICENSE README NEWS \
+ ${destroot}${docdir}
}
+universal_variant no
+
livecheck.check regex
livecheck.regex /${my_name}-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071020/f4b9dd74/attachment-0001.html
More information about the macports-changes
mailing list