Revision: 91404 https://trac.macports.org/changeset/91404 Author: jmr@macports.org Date: 2012-03-31 11:57:52 -0700 (Sat, 31 Mar 2012) Log Message: ----------- legit: depend on correct versions, and clear python.link_binaries_suffix instead of renaming the file afterwards Modified Paths: -------------- trunk/dports/devel/legit/Portfile Modified: trunk/dports/devel/legit/Portfile =================================================================== --- trunk/dports/devel/legit/Portfile 2012-03-31 18:47:15 UTC (rev 91403) +++ trunk/dports/devel/legit/Portfile 2012-03-31 18:57:52 UTC (rev 91404) @@ -21,12 +21,12 @@ sha256 60ca05f30297f38290681c190de926dc7bb8cf43980380d9aaaac084f5cd6e31 python.default_version 27 -depends_lib port:py-requests \ - port:py-gitpython \ - port:py-gitdb \ - port:py-clint \ - port:py27-chardet \ - port:py-certifi +depends_lib port:py${python.version}-requests \ + port:py${python.version}-gitpython \ + port:py${python.version}-gitdb \ + port:py${python.version}-clint \ + port:py${python.version}-chardet \ + port:py${python.version}-certifi post-patch { reinplace "s|omnijson||g" "${worksrcpath}/reqs.txt" @@ -36,6 +36,4 @@ build {} -post-destroot { - file rename ${destroot}${prefix}/bin/legit-2.7 ${destroot}${prefix}/bin/legit -} +python.link_binaries_suffix
participants (1)
-
jmr@macports.org