Modified: trunk/dports/python/py-clonedigger/Portfile (130326 => 130327)
--- 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
}