Files
2025-10-17 12:32:53 -04:00

59 lines
2.0 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
PortGroup python 1.0
github.setup python-rope rope 1.14.0
github.tarball_from archive
name py-rope
revision 0
supported_archs noarch
platforms {darwin any}
license LGPL-3+
maintainers {reneeotten @reneeotten} openmaintainer
description python refactoring library
long_description Rope is a Python refactoring library that can be used \
with several editors and IDEs. It provides many \
refactoring operations as well as forms of code \
assistance like auto-completion and access to \
documentation.
checksums rmd160 a15a0a6058710777aaf7fa4a39a15129062ff691 \
sha256 abd7d50021e847c33c9b36abdea8252f8d9b42701a3af363c8da6ac5f4ac7a7b \
size 318666
python.versions 27 310 311 312 313 314
if {${name} ne ${subport}} {
if {${python.version} == 27} {
github.setup python-rope rope 0.23.0
revision 0
checksums rmd160 93603a24c3b9078c707e4898dafaec0592f19e66 \
sha256 d179e4534e6aad7210b60f6f76f16a03ccc2eebc063d6f80661844a59a21798b \
size 264514
depends_build-append \
port:py${python.version}-setuptools
} else {
depends_lib-append \
port:py${python.version}-appdirs \
port:py${python.version}-pytoolconfig
test.run yes
}
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} CONTRIBUTORS.md COPYING \
README.rst CHANGELOG.md ${destroot}${docdir}
}
livecheck.type none
}
github.livecheck.regex {([0-9.]+)}