[112657] trunk/dports/python/py-django-htmlmin
aronnax at macports.org
aronnax at macports.org
Mon Oct 28 16:07:17 PDT 2013
Revision: 112657
https://trac.macports.org/changeset/112657
Author: aronnax at macports.org
Date: 2013-10-28 16:07:17 -0700 (Mon, 28 Oct 2013)
Log Message:
-----------
py-django-htmlmin: add Python 2.6 subport, fix dependencies on argparse
Modified Paths:
--------------
trunk/dports/python/py-django-htmlmin/Portfile
Added Paths:
-----------
trunk/dports/python/py-django-htmlmin/files/django-htmlmin26
Modified: trunk/dports/python/py-django-htmlmin/Portfile
===================================================================
--- trunk/dports/python/py-django-htmlmin/Portfile 2013-10-28 23:02:30 UTC (rev 112656)
+++ trunk/dports/python/py-django-htmlmin/Portfile 2013-10-28 23:07:17 UTC (rev 112657)
@@ -8,7 +8,8 @@
set realname django-htmlmin
name py-${realname}
version 0.6.2
-python.versions 27
+revision 1
+python.versions 26 27
license BSD
platforms darwin
supported_archs noarch
@@ -39,6 +40,15 @@
port:py${python.version}-beautifulsoup4 \
port:py${python.version}-html5lib
+ # FIXME: Upstream source depends unconditionally on argparse,
+ # but argparse is built in to Python >= 2.7
+ if {${python.version} <= 26} {
+ depends_lib-append \
+ port:py${python.version}-argparse
+ } else {
+ patchfiles patch-setup.py.diff
+ }
+
depends_run-append \
port:${realname}_select
Added: trunk/dports/python/py-django-htmlmin/files/django-htmlmin26
===================================================================
--- trunk/dports/python/py-django-htmlmin/files/django-htmlmin26 (rev 0)
+++ trunk/dports/python/py-django-htmlmin/files/django-htmlmin26 2013-10-28 23:07:17 UTC (rev 112657)
@@ -0,0 +1 @@
+bin/pyminify-2.6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131028/3b7c9eb4/attachment.html>
More information about the macports-changes
mailing list