[130327] trunk/dports/python/py-clonedigger/Portfile
larryv at macports.org
larryv at macports.org
Mon Dec 29 18:49:41 PST 2014
Revision: 130327
https://trac.macports.org/changeset/130327
Author: larryv at macports.org
Date: 2014-12-29 18:49:41 -0800 (Mon, 29 Dec 2014)
Log Message:
-----------
py-clonedigger: Rearrange and reformat
Modified Paths:
--------------
trunk/dports/python/py-clonedigger/Portfile
Modified: trunk/dports/python/py-clonedigger/Portfile
===================================================================
--- trunk/dports/python/py-clonedigger/Portfile 2014-12-30 02:49:38 UTC (rev 130326)
+++ trunk/dports/python/py-clonedigger/Portfile 2014-12-30 02:49:41 UTC (rev 130327)
@@ -6,28 +6,31 @@
name py-clonedigger
version 1.0.3-beta
+platforms darwin
+supported_archs noarch
license GPL-3+
maintainers nomaintainer
-description Clone Digger aimed to detect similar code in Python programs
-long_description Clone Digger is the tool for finding software clones. \
- Currently only Python language is supported, \
- Java support will be added soon.
-platforms darwin
-supported_archs noarch
+
+description Clone Digger aimed to detect similar code in \
+ Python programs
+long_description Clone Digger is the tool for finding software \
+ clones. Currently only Python language is \
+ supported, Java support will be added soon.
homepage http://clonedigger.sourceforge.net/
+
master_sites http://pypi.python.org/packages/source/c/clonedigger/
distname clonedigger-${version}
-checksums md5 ac1883622ee2c20a2b91efbf5133b892 \
- sha1 f5a3854d2f5f0f0b997459d1b0f529e216fecb55 \
- rmd160 deaf039ca347181959fe54da1b88f6e932b15340
+checksums md5 ac1883622ee2c20a2b91efbf5133b892 \
+ sha1 f5a3854d2f5f0f0b997459d1b0f529e216fecb55 \
+ rmd160 deaf039ca347181959fe54da1b88f6e932b15340
python.versions 25 26
-if {${name} eq ${subport}} {
- livecheck.type regex
- livecheck.url http://pypi.python.org/pypi/clonedigger
- livecheck.regex "clonedigger-(.+?).tar.gz"
+if {${name} ne ${subport}} {
+ depends_build port:py${python.version}-setuptools
+ livecheck.type none
} else {
- depends_build port:py${python.version}-setuptools
- livecheck.type none
+ livecheck.type regex
+ livecheck.url http://pypi.python.org/pypi/clonedigger
+ livecheck.regex clonedigger-(.+?).tar.gz
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141229/b9d16a42/attachment.html>
More information about the macports-changes
mailing list