Commits

Chris Jones authored 4465c27164e
py-pytorch: Exclude alpha/beta releases from livecheck
No tags

python/py-pytorch/Portfile

Modified
104 104
105 105 post-destroot {
106 106 set py_torch_root ${py_lib_root}/lib/python${PythonVersionWithDot}/site-packages/torch
107 107 foreach slib [glob -directory ${destroot}${py_torch_root} *.so] {
108 108 system "install_name_tool -add_rpath ${py_torch_root}/lib ${slib}"
109 109 }
110 110 }
111 111
112 112 livecheck.type none
113 113
114 +} else {
115 +
116 + # overload the github livecheck regex to look for versions that
117 + # are just numbers and '.', no letters (e.g., "3.7.3_rc2").
118 + github.livecheck.regex {([0-9.]+)}
119 +
114 120 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut