f _@s:ddlZdgZedZddZddZedkr6edS)Nframework_infoz(?x) (?P^.*)(?:^|/) (?P (?P\w+).framework/ (?:Versions/(?P[^/]+)/)? (?P=shortname) (?:_(?P[^_]+))? )$ cCst|}|sdS|S)N)STRICT_FRAMEWORK_REmatch groupdict)filenameZ is_frameworkr2/usr/lib64/python3.10/ctypes/macholib/framework.pyrs cCsddd}dS)NcSst|||||dS)NlocationnameZ shortnameversionsuffix)dictr rrrd-sztest_framework_info..d)NNNNNr)rrrrtest_framework_info,s r__main__)re__all__compilerrr__name__rrrrs