conan-io / hooks

Official Conan client hooks
MIT License
33 stars 46 forks source link

[conan-center] The regular os.rename should be replaced by tools.rename #293

Open uilianries opened 3 years ago

uilianries commented 3 years ago

This is a well known case, which from time to time affects some user. We could prevent it adding a rule to enforce tools.rename instead of os.rename

Related to https://github.com/conan-io/conan-center-index/issues/5359

/cc @klimkin

uilianries commented 3 years ago

It will be a bit complicated to update all recipes, but we can do with a script but will result in a ton of PRs.

WDYT @jgsogo @danimtb @SSE4 ?

$ find recipes/ -name conanfile.py | xargs grep os.rename --color=auto
recipes/cpp-jwt/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/raylib/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/pdal/all/conanfile.py:        os.rename("PDAL-%s-src" % self.version, self._source_subfolder)
recipes/harfbuzz/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/cwalk/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/at-spi2-atk/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/pybind11/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version),
recipes/frozen/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/vulkan-headers/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/timsort/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/xz_utils/all/conanfile.py:        os.rename("xz-" + self.version, self._source_subfolder)
recipes/xz_utils/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "lib", "liblzma.lib"),
recipes/tl-optional/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/libcoap/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/apr/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/pixman/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/libjpeg/all/conanfile.py:        os.rename("jpeg-" + self.version, self._source_subfolder)
recipes/libpq/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/minimp3/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/edlib/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/fribidi/all/conanfile.py:        os.rename("fribidi-{}".format(self.version), self._source_subfolder)
recipes/fribidi/all/conanfile.py:                os.rename(lib_a, os.path.join(self.package_folder, "lib", "fribidi.lib"))
recipes/imagl/all/conanfile.py:        os.rename(self.name + "-v" + self.version, self._source_subfolder)
recipes/libsgp4/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/termcap/all/conanfile.py:        os.rename(archive_name, self._source_subfolder)
recipes/greatest/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/qr-code-generator/all/conanfile.py:        os.rename("QR-Code-generator-{}".format(self.version),
recipes/laszip/all/conanfile.py:        os.rename("LASzip-" + self.version, self._source_subfolder)
recipes/asmjit/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/sjson-cpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/gdbm/all/conanfile.py:        os.rename("gdbm-{}".format(self.version), self._source_subfolder)
recipes/glbinding/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/snappy/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cyrus-sasl/all/conanfile.py:        os.rename(downloaded_folder_name, self._source_subfolder)
recipes/libnetfilter_queue/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/portable-file-dialogs/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/zulu-openjdk/all/conanfile.py:        os.rename(glob.glob("zulu*")[0], self._source_subfolder)
recipes/easyhttpcpp/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/chaiscript/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libidn/all/conanfile.py:        os.rename("libidn-{}".format(self.version), self._source_subfolder)
recipes/oatpp-openssl/all/conanfile.py:        os.rename("oatpp-openssl-{0}".format(self.version), self._source_subfolder)
recipes/libcds/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/hedley/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/redis-plus-plus/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/kitten/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/jinja2cpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libsodium/1.0.18/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/simple-websocket-server/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/kcp/all/conanfile.py:        os.rename("kcp-{}".format(self.version), self._source_subfolder)
recipes/glm/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/nng/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/openexr/2.3.0/conanfile.py:        os.rename("openexr-{}".format(self.version), self._source_subfolder)
recipes/openexr/2.x/conanfile.py:        os.rename("openexr-{}".format(self.version), self._source_subfolder)
recipes/libheif/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/bitserializer/0.10/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/sqlpp11-connector-sqlite3/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/pfr/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/fxdiv/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/bzip2/all/conanfile.py:        os.rename(folder_name, self._source_subfolder)
recipes/geographiclib/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/hdrhistogram-c/all/conanfile.py:        os.rename("HdrHistogram_c-" + self.version, self._source_subfolder)
recipes/pthreadpool/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/span-lite/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/dav1d/all/conanfile.py:        os.rename("dav1d-{}".format(self.version), self._source_subfolder)
recipes/dav1d/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "lib", "libdav1d.a"),
recipes/caf/all/conanfile.py:        os.rename("actor-framework-" + self.version, self._source_subfolder)
recipes/graphthewy/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/tiny-aes-c/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/z3/all/conanfile.py:        os.rename("{0}-{0}-{1}".format(self.name, self.version), self._source_subfolder)
recipes/poppler/all/conanfile.py:        os.rename("poppler-{}".format(self.version), self._source_subfolder)
recipes/asio/all/conanfile.py:        os.rename(extracted_name, self._source_subfolder)
recipes/ios-cmake/all/conanfile.py:        os.rename("ios-cmake-{}".format(self.version), self._source_subfolder)
recipes/cern-root/all/conanfile.py:        os.rename(
recipes/gnulib/all/conanfile.py:        os.rename(dirname, self._source_subfolder)
recipes/uvw/all/conanfile.py:        os.rename(archive_name, self._source_subfolder)
recipes/cpp-httplib/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/gfortran/all/conanfile.py:                os.rename("mingw64", "source_subfolder_Windows")
recipes/gfortran/all/conanfile.py:                os.rename(glob.glob(pattern)[0], "source_subfolder_{}".format(it))
recipes/cunit/all/conanfile.py:        os.rename("CUnit-{}".format(self.version), self._source_subfolder)
recipes/opencl-icd-loader/all/conanfile.py:        os.rename("OpenCL-ICD-Loader-" + self.version, self._source_subfolder)
recipes/taskflow/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/serial/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version),
recipes/aws-checksums/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/premake/5.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/crowcpp-crow/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/lief/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/sqlite3/all/conanfile.py:        os.rename(archive_name, self._source_subfolder)
recipes/leptonica/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/indicators/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/gmp/all/conanfile.py:        os.rename("gmp-" + self.version, self._source_subfolder)
recipes/m4/all/conanfile.py:        os.rename("m4-" + self.version, self._source_subfolder)
recipes/box2d/all/conanfile.py:        os.rename("box2d-%s" % self.version, self._source_subfolder)
recipes/box2d/2.4.x/conanfile.py:        os.rename("box2d-%s" % self.version, self._source_subfolder)
recipes/mozjpeg/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/leveldb/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libxml2/all/conanfile.py:        os.rename("libxml2-{0}".format(self.version), self._source_subfolder)
recipes/ginkgo/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/dcmtk/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/imgui/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libxlsxwriter/all/conanfile.py:        os.rename("libxlsxwriter-RELEASE_{}".format(self.version), self._source_subfolder)
recipes/cpp-sort/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/statslib/all/conanfile.py:        os.rename("stats-" + self.version, self._source_subfolder)
recipes/octomap/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/gettext/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/gperf/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/flatcc/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/flatcc/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "bin", "flatcc%s" % debug_suffix),
recipes/cppzmq/all/conanfile.py:        os.rename("cppzmq-{}".format(self.version), self._source_subfolder)
recipes/libx264/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/structopt/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/geos/all/conanfile.py:        os.rename(self.name, self._source_subfolder)
recipes/chipmunk2d/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/swig/all/conanfile.py:        os.rename("swig-rel-{}".format(self.version), self._source_subfolder)
recipes/bertrand/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/libdc1394/all/conanfile.py:        os.rename("libdc1394-%s" % self.version, self._source_subfolder)
recipes/abseil/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/sqlcipher/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libelf/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/keychain/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/jwasm/all/conanfile.py:        os.rename("JWasm-" + self.version, self._source_subfolder)
recipes/libpcap/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/ags/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/libffi/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/pcre2/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/utf8proc/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/pistache/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/uwebsockets/all/conanfile.py:        os.rename("uWebSockets-%s" % self.version, self._source_subfolder)
recipes/atk/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/atk/all/conanfile.py:                os.rename(os.path.join(self.package_folder, 'lib', 'libatk-1.0.a'), os.path.join(self.package_folder, 'lib', 'atk-1.0.lib'))
recipes/oatpp-sqlite/all/conanfile.py:        os.rename("oatpp-sqlite-{0}".format(self.version), self._source_subfolder)
recipes/libmikmod/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libunistring/all/conanfile.py:        os.rename("libunistring-{}".format(self.version), self._source_subfolder)
recipes/hana/all/conanfile.py:        os.rename("hana-" + self.version, self._source_subfolder)
recipes/jsonformoderncpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/mpdecimal/2.5.x/conanfile.py:        os.rename("mpdecimal-{}".format(self.version), self._source_subfolder)
recipes/mpdecimal/2.4.2/conanfile.py:        os.rename("mpdecimal-{}".format(self.version), self._source_subfolder)
recipes/libfdk_aac/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/ignition-cmake/all/conanfile.py:        os.rename(glob.glob("ign-cmake*")[0], self._source_subfolder)
recipes/optional-lite/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/ezc3d/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libftdi/0.x/conanfile.py:        os.rename("libftdi-{}".format(self.version), self._source_subfolder)
recipes/pro-mdnsd/all/conanfile.py:        os.rename(folder_name, self._source_subfolder)
recipes/jansson/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/r8brain-free-src/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/foxi/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/sqlpp11/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/frugally-deep/all/conanfile.py:        os.rename("frugally-deep-" + self.version, self._source_subfolder)
recipes/ftjam/all/conanfile.py:        os.rename("ftjam-{}".format(self.version), self._source_subfolder)
recipes/rang/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/makefile-project-workspace-creator/all/conanfile.py:        os.rename("MPC-MPC_" + self.version.replace(".", "_"), self._source_subfolder)
recipes/vorbis/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/asyncplusplus/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/blaze/all/conanfile.py:        os.rename("blaze-{}".format(self.version), self._source_subfolder)
recipes/univalue/all/conanfile.py:        os.rename("univalue-{}".format(self.version), self._source_subfolder)
recipes/threadpool/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libccd/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/libtiff/all/conanfile.py:        os.rename("tiff-" + self.version, self._source_subfolder)
recipes/pugixml/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/cccl/all/conanfile.py:        os.rename("cccl-cccl-{}".format(self.version), self._source_subfolder)
recipes/libxslt/all/conanfile.py:        os.rename("libxslt-{0}".format(self.version), self._source_subfolder)
recipes/roaring/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/openblas/all/conanfile.py:        os.rename('OpenBLAS-{}'.format(self.version), self._source_subfolder)
recipes/ring-span-lite/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libbsd/all/conanfile.py:        os.rename(glob.glob("libbsd-*")[0], self._source_subfolder)
recipes/backport-cpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/json_dto/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder )
recipes/bvdberg-ctest/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/tinyobjloader/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/ixwebsocket/all/conanfile.py:        os.rename("IXWebSocket-" + self.version, self._source_subfolder)
recipes/variant-lite/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libzippp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/apr-util/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/bacnet-stack/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libkml/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/isl/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/rapidxml/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/function2/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/b2/standard/conanfile.py:        os.rename(extracted_dir, "source")
recipes/b2/portable/conanfile.py:        os.rename(extracted_dir, "source")
recipes/duktape/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/ozz-animation/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/llvm-openmp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/pango/all/conanfile.py:        os.rename(extrated_dir, self._source_subfolder)
recipes/irrxml/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/entt/3.x.x/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/libtar/all/conanfile.py:        os.rename(glob.glob("libtar-*")[0], self._source_subfolder)
recipes/libnuma/all/conanfile.py:        os.rename("numactl-" + self.version, self._source_subfolder)
recipes/fcl/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/waf/all/conanfile.py:        os.rename("waf-{}".format(self.version), self._source_subfolder)
recipes/libpqxx/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/itk/all/conanfile.py:        os.rename("InsightToolkit-{}".format(self.version), self._source_subfolder)
recipes/pulseaudio/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/pffft/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/naive-tsearch/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/libest/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/qarchive/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/polylineencoder/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/trompeloeil/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/mfast/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/mp-units/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/czmq/all/conanfile.py:        os.rename("czmq-{}".format(self.version), self._source_subfolder)
recipes/sole/all/conanfile.py:        os.rename(extracted_name, self._source_subfolder)
recipes/systemc-cci/1.0.0/conanfile.py:        os.rename("cci-{}".format(self.version), self._source_subfolder)
recipes/hdf5/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libgettext/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libgettext/all/conanfile.py:        os.rename(os.path.join(self.package_folder, "include", "libgnuintl.h"),
recipes/libgettext/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "lib", "gnuintl.dll.lib"),
recipes/mikktspace/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/poshlib/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/openssl/1.x.x/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/openssl/1.x.x/conanfile.py:                    os.rename('libssl.lib', 'libssld.lib')
recipes/openssl/1.x.x/conanfile.py:                    os.rename('libcrypto.lib', 'libcryptod.lib')
recipes/magic_enum/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/spy/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/ncurses/all/conanfile.py:        os.rename("ncurses-{}".format(self.version), self._source_subfolder)
recipes/taocpp-json/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/log4cplus/all/conanfile.py:        os.rename(archive_name, self._source_subfolder)
recipes/lyra/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/coin-utils/all/conanfile.py:        os.rename("CoinUtils-releases-{}".format(self.version), self._source_subfolder)
recipes/coin-utils/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "lib", "libCoinUtils.a"),
recipes/rgbcx/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/lzfse/all/conanfile.py:        os.rename("{0}-{0}-{1}".format(self.name, self.version), self._source_subfolder)
recipes/glew/all/conanfile.py:        os.rename("%s-%s" % (self.name, self.version), self._source_subfolder)
recipes/libid3tag/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/fontconfig/all/conanfile.py:        os.rename(extrated_dir, self._source_subfolder)
recipes/dlib/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libdb/all/conanfile.py:        os.rename("db-{}".format(self.version), self._source_subfolder)
recipes/libdb/all/conanfile.py:                os.rename(os.path.join(libdir, "{}.lib".format(msvc_lib)),
recipes/libdb/all/conanfile.py:                        os.rename(os.path.join(libdir, fn), os.path.join(bindir, fn))
recipes/libsvm/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/gtest/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/units/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/clipp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/effolkronium-random/all/conanfile.py:        os.rename("random-" + self.version, self._source_subfolder)
recipes/gnu-config/all/conanfile.py:        os.rename(glob.glob("config*")[0], self._source_subfolder)
recipes/prometheus-cpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/flecs/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/tl/all/conanfile.py:        os.rename("tl-%s" % self.version, self._source_subfolder)
recipes/tsl-hat-trie/all/conanfile.py:        os.rename("hat-trie-{}".format(self.version), self._source_subfolder)
recipes/djinni-generator/all/conanfile.py:            os.rename('djinni','djinni.bat')
recipes/mimalloc/all/conanfile.py:        os.rename("mimalloc-" + self.version, self._source_subfolder)
recipes/botan/all/conanfile.py:        os.rename(extracted_dir, "sources")
recipes/tcp-wrappers/all/conanfile.py:        os.rename("tcp_wrappers_{}-ipv6.4".format(self.version), self._source_subfolder)
recipes/readline/all/conanfile.py:        os.rename("readline-{}".format(self.version), self._source_subfolder)
recipes/sobjectizer/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder )
recipes/arrow/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/icecream-cpp/all/conanfile.py:        os.rename('icecream-cpp-{}'.format(self.version), self._source_subfolder)
recipes/tsl-ordered-map/all/conanfile.py:        os.rename("ordered-map-{}".format(self.version), self._source_subfolder)
recipes/turtle/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/libuv/all/conanfile.py:        os.rename("libuv-{}".format(self.version), self._source_subfolder)
recipes/morton-nd/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/yaml-cpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/etc2comp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/elfutils/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/gsoap/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/easyexif/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/pprint/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/libmnl/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/sdf/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/poly2tri/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libdispatch/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cgal/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/astc-codec/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/apriltag/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/muparserx/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/jthread-lite/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/easylzma/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/usrsctp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/boost-ext-ut/all/conanfile.py:        os.rename("ut-" + self.version, self._source_subfolder)
recipes/acado/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/openscenegraph/all/conanfile.py:        os.rename("OpenSceneGraph-OpenSceneGraph-" + self.version, self._source_subfolder)
recipes/vulkan-validationlayers/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/vulkan-validationlayers/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "share"), os.path.join(self.package_folder, "res"))
recipes/boost/all/conanfile.py:        os.rename("boost_%s" % self.version.replace(".", "_"), self._source_subfolder)
recipes/boost/all/conanfile.py:                os.rename(bin_file, os.path.join(self.package_folder, "bin", os.path.basename(bin_file)))
recipes/rabbitmq-c/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/proposal/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libwebp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libusb-compat/all/conanfile.py:        os.rename("libusb-compat-{}".format(self.version), self._source_subfolder)
recipes/taocpp-operators/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/benchmark/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libqrencode/all/conanfile.py:        os.rename("libqrencode-{}".format(self.version), self._source_subfolder)
recipes/spectra/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/libgd/all/conanfile.py:        os.rename(glob.glob("libgd-*")[0], self._source_subfolder)
recipes/zimg/all/conanfile.py:        os.rename("zimg-release-{}".format(self.version), self._source_subfolder)
recipes/zimg/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "lib", "z_imp.lib"),
recipes/zimg/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "lib", "z.lib"),
recipes/coin-cbc/all/conanfile.py:        os.rename("Cbc-releases-{}".format(self.version), self._source_subfolder)
recipes/coin-cbc/all/conanfile.py:                os.rename(os.path.join(self.package_folder, "lib", "lib{}.a").format(l),
recipes/pcre/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/resiprocate/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/stb/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/readerwriterqueue/all/conanfile.py:        os.rename("readerwriterqueue-{}".format(self.version),
recipes/type_safe/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/sentry-native/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libev/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/mongo-c-driver/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/libnl/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/guetzli/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libmorton/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/sml/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/tl-expected/all/conanfile.py:        os.rename(self._archive_dir, self._source_subfolder)
recipes/libelfin/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libgta/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/resource_pool/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/zstd/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/ceres-solver/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/xtl/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/toml11/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/matio/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/brotli/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/physx/4.x.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/zmqpp/all/conanfile.py:        os.rename("zmqpp-%s" % (self.version), self._source_subfolder)
recipes/cubicinterpolation/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/enkits/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/rangeless/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libepoxy/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libvpx/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/observer-ptr-lite/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/proj/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/oatpp/all/conanfile.py:        os.rename("oatpp-{0}".format(self.version), self._source_subfolder)
recipes/aws-c-common/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/celero/all/conanfile.py:        os.rename("Celero-" + self.version, self._source_subfolder)
recipes/cgns/all/conanfile.py:        os.rename("CGNS-" + self.version, self._source_subfolder)
recipes/mbedtls/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libusb/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/subunit/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/oatpp-swagger/all/conanfile.py:        os.rename("oatpp-swagger-{0}".format(self.version), self._source_subfolder)
recipes/tk/all/conanfile.py:        os.rename("tk{}".format(self.version), self._source_subfolder)
recipes/at-spi2-core/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/rapidcheck/all/conanfile.py:        os.rename("rapidcheck-{}".format(git_hash), self._source_subfolder)
recipes/cereal/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/gdk-pixbuf/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/gdk-pixbuf/all/conanfile.py:            os.rename(os.path.join(self.package_folder, 'lib', 'libgdk_pixbuf-2.0.a'), os.path.join(self.package_folder, 'lib', 'gdk_pixbuf-2.0.lib'))
recipes/base64/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/lz4/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/mpfr/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cppitertools/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cgltf/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/msgpack/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/spirv-cross/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libwebsockets/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/xsimd/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/bullet3/all/conanfile.py:        os.rename("bullet3-{}".format(self.version), self._source_subfolder)
recipes/mongo-cxx-driver/all/conanfile.py:        os.rename(self.name + "-r" + self.version, self._source_subfolder)
recipes/cassandra-cpp-driver/all/conanfile.py:        os.rename("cpp-driver-{}".format(self.version), self._source_subfolder)
recipes/cairo/all/conanfile.py:        os.rename('cairo-%s' % self.version, self._source_subfolder)
recipes/c-blosc/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/iqa/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/openh264/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/kealib/all/conanfile.py:        os.rename("{0}-{0}-{1}".format(self.name, self.version), self._source_subfolder)
recipes/libsecret/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/kainjow-mustache/all/conanfile.py:        os.rename(
recipes/tsl-robin-map/all/conanfile.py:        os.rename("robin-map-{}".format(self.version), self._source_subfolder)
recipes/libcpuid/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/byte-lite/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libiconv/all/conanfile.py:        os.rename(archive_name, self._source_subfolder)
recipes/libiconv/all/conanfile.py:                os.rename(os.path.join(self.package_folder, "lib", "{}.dll.lib".format(import_lib)),
recipes/mpc/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/flatbuffers/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/rtm/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libdivide/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/tclap/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/fmt/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/ctre/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/nfrechette-acl/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/volk/all/conanfile.py:        os.rename("volk-{}".format(self.version), self._source_subfolder)
recipes/absent/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/openmpi/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/bliss/all/conanfile.py:        os.rename("bliss-{}".format(self.version), self._source_subfolder)
recipes/glad/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/si/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/libconfuse/all/conanfile.py:        os.rename("confuse-{}".format(self.version), self._source_subfolder)
recipes/gdal/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/taocpp-sequences/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libzen/all/conanfile.py:        os.rename("ZenLib", self._source_subfolder)
recipes/cpuinfo/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/tinyply/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/twitch-native-ipc/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/enet/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/tinyalsa/all/conanfile.py:        os.rename("{name}-{version}".format(name=self.name, version=self.version), self._source_subfolder)
recipes/doctest/2.x.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/vulkan-loader/all/conanfile.py:        os.rename(glob.glob("Vulkan-Loader-*")[0], self._source_subfolder)
recipes/xmlsec/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/oatpp-websocket/all/conanfile.py:        os.rename("oatpp-websocket-{0}".format(self.version), self._source_subfolder)
recipes/rocksdb/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/sqlite_orm/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/sqlitecpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cute_headers/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cc65/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/vectorial/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/qpoases/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/gm2calc/all/conanfile.py:        os.rename("GM2Calc-{}".format(self.version), self._source_subfolder)
recipes/sol2/3.x.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/sol2/2.x.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/mpark-variant/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/fakeit/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cryptopp/all/conanfile.py:        os.rename("cryptopp-" + suffix, self._source_subfolder)
recipes/parallel-hashmap/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/qhull/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/xerces-c/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/plog/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/tsl-sparse-map/all/conanfile.py:        os.rename("sparse-map-{}".format(self.version), self._source_subfolder)
recipes/libproperties/all/conanfile.py:        os.rename(source_dir, self._source_subfolder)
recipes/easy_profiler/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cxxopts/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/ogg/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/hlslpp/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/mattiasgustavsson-libs/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/extra-cmake-modules/all/conanfile.py:        os.rename("extra-cmake-modules-{}".format(self.version), self._source_subfolder)
recipes/libgeotiff/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/robin-hood-hashing/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/getdns/all/conanfile.py:        os.rename("getdns-{}".format(self.version), self._source_subfolder)
recipes/shaderc/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/squirrel/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cppcmd/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/quaternions/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/freexl/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/openal/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/restinio/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/fruit/all/conanfile.py:        os.rename(self._extracted_dir, self._source_subfolder)
recipes/libtins/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/jasper/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/getopt-for-visual-studio/all/conanfile.py:        os.rename("Getopt-for-Visual-Studio-{}".format(os.path.splitext(os.path.basename(self.conan_data["sources"][self.version]["url"]))[0]), self._source_subfolder)
recipes/opencolorio/all/conanfile.py:        os.rename("OpenColorIO-{}".format(self.version), self._source_subfolder)
recipes/android-ndk/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/opencv/3.x/conanfile.py:        os.rename("opencv-{}".format(self.version), self._source_subfolder)
recipes/opencv/3.x/conanfile.py:        os.rename("opencv_contrib-{}".format(self.version), self._contrib_folder)
recipes/opencv/3.x/conanfile.py:            os.rename(os.path.join(self.package_folder, "setup_vars_opencv3.cmd"),
recipes/opencv/4.x/conanfile.py:        os.rename("opencv-{}".format(self.version), self._source_subfolder)
recipes/opencv/4.x/conanfile.py:        os.rename("opencv_contrib-{}".format(self.version), self._contrib_folder)
recipes/opencv/4.x/conanfile.py:            os.rename(os.path.join(self.package_folder, "setup_vars_opencv4.cmd"),
recipes/opencv/2.x/conanfile.py:        os.rename("opencv-{}".format(self.version), self._source_subfolder)
recipes/libcheck/all/conanfile.py:        os.rename("check-{}".format(self.version), self._source_subfolder)
recipes/libbacktrace/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/expat/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/zlib/1.2.8/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/zlib/1.2.11/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/zlib/1.2.11/conanfile.py:                    os.rename(current_lib, os.path.join(lib_path, "zlib.lib"))
recipes/zlib/1.2.11/conanfile.py:                    os.rename(current_lib, os.path.join(lib_path, "zlib.lib"))
recipes/zlib/1.2.11/conanfile.py:                        os.rename(current_lib, os.path.join(lib_path, "libzlib.a"))
recipes/zlib/1.2.11/conanfile.py:                    os.rename(current_lib, os.path.join(lib_path, "zlib.lib"))
recipes/embree3/all/conanfile.py:        os.rename(target_name, self._source_subfolder)
recipes/nuklear/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/odbc/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/sofa/all/conanfile.py:        os.rename(self.name, self._source_subfolder)
recipes/moltenvk/all/conanfile.py:        os.rename("MoltenVK-" + self.version, self._source_subfolder)
recipes/replxx/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/graphene/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/concurrentqueue/all/conanfile.py:        os.rename("concurrentqueue-{}".format(self.version),
recipes/boolinq/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/termcolor/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/ssht/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/crunch/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/rg-etc1/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libmp3lame/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/zxing-cpp/all/conanfile.py:        os.rename("zxing-cpp-{}".format(self.version), self._source_subfolder)
recipes/mariadb-connector-c/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cppcodec/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/minizip/1.2.11/conanfile.py:        os.rename("zlib-{}".format(self.version), self._source_subfolder)
recipes/quirc/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/make/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/open62541/all/conanfile.py:        os.rename(archive_name, self._source_subfolder)
recipes/open62541/all/conanfile.py:                os.rename(archive_name, submodule_source)
recipes/g3log/all/conanfile.py:        os.rename("g3log-{}".format(dir_postfix), self._source_subfolder)
recipes/libunwind/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/soci/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/cargs/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/opencl-headers/all/conanfile.py:        os.rename("OpenCL-Headers-" + self.version, self._source_subfolder)
recipes/fftw/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/simdjson/0.2.1/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/simdjson/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/oatpp-libressl/all/conanfile.py:        os.rename("oatpp-libressl-{0}".format(self.version), self._source_subfolder)
recipes/outcome/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/hazelcast-cpp-client/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/scons/all/conanfile.py:        os.rename("scons-{}".format(self.version), self._source_subfolder)
recipes/lcms/all/conanfile.py:            os.rename("Little-CMS-lcms%s" % self.version, self._source_subfolder)
recipes/lcms/all/conanfile.py:            os.rename("Little-CMS-%s" % self.version, self._source_subfolder)
recipes/libtasn1/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/mosquitto/1.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/mosquitto/2.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/fast_float/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/tensorpipe/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/quickfast/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/string-view-lite/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/draco/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/freetype/all/conanfile.py:        os.rename("{0}-{1}".format(self.name, self.version), self._source_subfolder)
recipes/glib/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/gumbo-parser/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/mathfu/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/libtorrent/all/conanfile.py:        os.rename("libtorrent-rasterbar-{}".format(self.version), self._source_subfolder)
recipes/pdcurses/all/conanfile.py:        os.rename("PDCurses-{}".format(self.version), self._source_subfolder)
recipes/pdcurses/all/conanfile.py:                os.rename(os.path.join(self.package_folder, "lib", "pdcurses.a"),
recipes/eastl/all/conanfile.py:        os.rename(folder_name, self._source_subfolder)
recipes/fire-hpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cpp-taskflow/all/conanfile.py:        os.rename("taskflow-" + self.version, self._source_subfolder)
recipes/shapelib/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/zfp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/spdlog/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/dataframe/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/zbar/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libzip/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/picojson/all/conanfile.py:        os.rename(glob.glob("picojson-*")[0], self._source_subfolder)
recipes/aeron/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/eabase/all/conanfile.py:        os.rename(folder_name, self._source_subfolder)
recipes/libmodbus/all/conanfile.py:        os.rename("libmodbus-{}".format(self.version), self._source_subfolder)
recipes/psimd/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/librhash/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/packio/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/vk-bootstrap/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/audiofile/all/conanfile.py:        os.rename("AudioFile-" + self.version, self._source_subfolder)
recipes/taywee-args/all/conanfile.py:        os.rename("args-" + self.version, self._source_subfolder)
recipes/tinygltf/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/kcov/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/flatc/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libyaml/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/nanoflann/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libdxfrw/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/cmake/3.x.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libtommath/all/conanfile.py:        os.rename("libtommath-{}".format(self.version), self._source_subfolder)
recipes/sigslot/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cs_libguarded/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libuuid/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/ois/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libdisasm/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/libressl/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/automake/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/automake/all/conanfile.py:                os.rename(fullpath, fullpath + ".exe")
recipes/cppserver/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/numcpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libarchive/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/xnnpack/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/nlopt/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/h5pp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libmysqlclient/all/conanfile.py:        os.rename(archive_name, self._source_subfolder)
recipes/libmysqlclient/all/conanfile.py:        os.rename(sources_cmake, sources_cmake_orig)
recipes/libmysqlclient/all/conanfile.py:        os.rename("CMakeLists.txt", sources_cmake)
recipes/libmysqlclient/all/conanfile.py:        os.rename(os.path.join(self.package_folder, "LICENSE"), os.path.join(self.package_folder, "licenses", "LICENSE"))
recipes/opus/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/tinyspline/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/civetweb/all/conanfile.py:        os.rename("civetweb-%s" % self.version, self._source_subfolder)
recipes/assimp/5.0.x/conanfile.py:        os.rename("assimp-%s" % self.version, self._source_subfolder)
recipes/nanodbc/all/conanfile.py:        os.rename(glob.glob("nanodbc-*")[0], self._source_subfolder)
recipes/lest/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/xxhash/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/tsl-hopscotch-map/all/conanfile.py:        os.rename("hopscotch-map-{}".format(self.version), self._source_subfolder)
recipes/libmodplug/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/jpeg-compressor/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/wolfssl/all/conanfile.py:        os.rename("{}-{}-stable".format(self.name, self.version), self._source_subfolder)
recipes/glfw/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/ms-gsl/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libnfnetlink/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/opentracing-cpp/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/rttr/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/spirv-tools/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/double-conversion/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libmbus/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/openvr/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/http_parser/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/miniz/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/libalsa/all/conanfile.py:        os.rename("alsa-lib-{}".format(self.version), self._source_subfolder)
recipes/tsil/all/conanfile.py:        os.rename("tsil-{}".format(self.version), self._source_subfolder)
recipes/tinyexr/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/miniaudio/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/nspr/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/nspr/all/conanfile.py:                    os.rename(os.path.join(self.package_folder, "lib", "{}.dll".format(lib)),
recipes/docopt.cpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/tsl-array-hash/all/conanfile.py:        os.rename("array-hash-{}".format(self.version), self._source_subfolder)
recipes/lodepng/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cppcheck/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/nanorange/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/cpr/all/conanfile.py:        os.rename("cpr-{}".format(self.version), self._source_subfolder)
recipes/nlohmann_json/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/onedpl/all/conanfile.py:        os.rename("oneDPL-" + self.version, self._source_subfolder)
recipes/hdf4/all/conanfile.py:        os.rename("hdf-" + self.version, self._source_subfolder)
recipes/bdwgc/all/conanfile.py:        os.rename("gc-{}".format(self.version), self._source_subfolder)
recipes/libpng/all/conanfile.py:        os.rename("libpng-" + self.version, self._source_subfolder)
recipes/c-ares/all/conanfile.py:        os.rename("c-ares-cares-{}".format(self.version.replace(".", "_")), self._source_subfolder)
recipes/sophus/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/imguizmo/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/xkbcommon/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/flann/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libde265/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/zeromq/all/conanfile.py:        os.rename("libzmq-{}".format(self.version), self._source_subfolder)
recipes/zeromq/all/conanfile.py:            os.rename("Findlibsodium.cmake", "FindSodium.cmake")
recipes/ignition-math/all/conanfile.py:        os.rename(
recipes/gstreamer/all/conanfile.py:        os.rename("%s-%s" % (self.name, self.version), self._source_subfolder)
recipes/seasocks/all/conanfile.py:        os.rename("seasocks-{}".format(self.version), self._source_subfolder)
recipes/kangaru/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/json-c/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cfitsio/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/verilator/all/conanfile.py:        os.rename("verilator-{}".format(self.version), self._source_subfolder)
recipes/verilator/all/conanfile.py:        os.rename(os.path.join(self.package_folder, "bin", "share", "verilator", "verilator-config.cmake"),
recipes/verilator/all/conanfile.py:            os.rename(fn, os.path.join(self.package_folder, "bin", os.path.basename(fn)))
recipes/tinyxml/all/conanfile.py:        os.rename("tinyxml", self._source_subfolder)
recipes/icu/all/conanfile.py:        os.rename("icu", self._source_subfolder)
recipes/libspatialindex/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/entityx/all/conanfile.py:        os.rename("entityx-" + self.version, self._source_subfolder)
recipes/sleef/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/openimageio/all/conanfile.py:        os.rename("oiio-Release-{}".format(self.version), self._source_subfolder)
recipes/calceph/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/djinni-support-lib/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/ghc-filesystem/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/arduinojson/all/conanfile.py:        os.rename("ArduinoJson", self._source_subfolder)
recipes/cctz/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/boostdep/all/conanfile.py:        os.rename("boostdep-boost-{}".format(self.version), self._source_subfolder)
recipes/tng/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/quazip/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/folly/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libaec/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/jsoncpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/backward-cpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/corrade/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/tinyxml2/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/any-lite/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/huffman/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/taocpp-tuple/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/wslay/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/thrift/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/rvo2/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/wayland/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/bx/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cppunit/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/cppunit/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "lib", "cppunit.dll.lib"),
recipes/pkgconf/all/conanfile.py:        os.rename("pkgconf-{}".format(self.version), self._source_subfolder)
recipes/pkgconf/all/conanfile.py:                os.rename(os.path.join(self.package_folder, "lib", "libpkgconf.a"),
recipes/pkgconf/all/conanfile.py:        os.rename(os.path.join(self.package_folder, "share", "aclocal"),
recipes/libnghttp2/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/xapian-core/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/xapian-core/all/conanfile.py:                os.rename(os.path.join(self.package_folder, "lib", "libxapian.lib"),
recipes/mdns/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/systemc/all/conanfile.py:        os.rename("systemc-{}".format(self.version), self._source_subfolder)
recipes/stlab/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/crow/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/dirent/all/conanfile.py:        os.rename("dirent-{}".format(self.version), self._source_subfolder)
recipes/jwt-cpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libxcrypt/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/hiredis/0.14.1/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/hiredis/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/aruco/3.x.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/szip/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/scope-lite/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/influxdb-cpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cppbenchmark/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/giflib/all/conanfile.py:        os.rename(zip_name, self._source_subfolder)
recipes/giflib/5.2.x/conanfile.py:        os.rename("%s-%s" % (self.name, self.version), self._source_subfolder)
recipes/coin-cgl/all/conanfile.py:        os.rename("Cgl-releases-{}".format(self.version), self._source_subfolder)
recipes/coin-cgl/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "lib", "libCgl.lib"),
recipes/libavrocpp/all/conanfile.py:        os.rename("avro-release-" + self.version, "source_subfolder")
recipes/gtsam/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libharu/all/conanfile.py:        os.rename("libharu-RELEASE_{}".format(self.version.replace(".", "_")), self._source_subfolder)
recipes/json-schema-validator/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/recastnavigation/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libevent/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/libnop/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/so5extra/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder )
recipes/jemalloc/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/jemalloc/all/conanfile.py:                os.rename(os.path.join(self.package_folder, "lib", "{}.lib".format(self._library_name)),
recipes/winflexbison/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/winflexbison/all/conanfile.py:        os.rename(os.path.join(self.package_folder, "licenses", "COPYING"), os.path.join(self.package_folder, "licenses", "bison-license"))
recipes/winflexbison/all/conanfile.py:        os.rename(os.path.join(self.package_folder, "licenses", "COPYING"), os.path.join(self.package_folder, "licenses", "flex-license"))
recipes/lzo/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/netcdf/all/conanfile.py:        os.rename("netcdf-c-{}".format(self.version), self._source_subfolder)
recipes/lemon/all/conanfile.py:        os.rename(archive_name, self._source_subfolder)
recipes/pipes/all/conanfile.py:        os.rename("pipes-{}".format(self.version), self._source_subfolder)
recipes/dbg-macro/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/taocpp-taopq/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/butteraugli/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libsafec/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libsigcpp/3.x.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/paho-mqtt-c/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/lua/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/sundials/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/utf8.h/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/opusfile/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libcbor/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/lzip/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/fp16/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/nativefiledialog/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/nativefiledialog/all/conanfile.py:            os.rename(os.path.join("..", "premake5.lua"), "premake5.lua")
recipes/paho-mqtt-cpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/tabulate/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/srt/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/sdbus-cpp/all/conanfile.py:        os.rename(src_folder, self._source_subfolder)
recipes/bitsery/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/h3/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/cspice/all/conanfile.py:        os.rename(self.name, self._source_subfolder)
recipes/rxcpp/all/conanfile.py:        os.rename("RxCpp-" + self.version, self._source_subfolder)
recipes/libpsl/all/conanfile.py:        os.rename("libpsl-{}".format(self.version), self._source_subfolder)
recipes/libpsl/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "lib", "libpsl.a"),
recipes/cpputest/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/pthreads4w/all/conanfile.py:                os.rename(f, self._source_folder)
recipes/poppler-data/all/conanfile.py:        os.rename("poppler-data-{}".format(self.version), self._source_subfolder)
recipes/nameof/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/vulkan-memory-allocator/all/conanfile.py:        os.rename("VulkanMemoryAllocator-{}".format(self.version), self._source_subfolder)
recipes/libatomic_ops/all/conanfile.py:        os.rename("libatomic_ops-{}".format(self.version), self._source_subfolder)
recipes/openjpeg/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/lerc/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/bison/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/bison/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "lib", "liby.a"),
recipes/date/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/utfcpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/elfio/all/conanfile.py:        os.rename("elfio-{}".format(self.version), self._source_subfolder)
recipes/mathter/all/conanfile.py:        os.rename("Mathter-" + self.version, self._source_subfolder)
recipes/clhep/all/conanfile.py:        os.rename(self.version, self._source_subfolder)
recipes/eigen/all/conanfile.py:        os.rename("eigen-{}".format(self.version), self._source_subfolder)
recipes/libsystemd/all/conanfile.py:        os.rename(src_folder, self._source_subfolder)
recipes/doxygen/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/clipper/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/coin-osi/all/conanfile.py:        os.rename("Osi-releases-{}".format(self.version), self._source_subfolder)
recipes/coin-osi/all/conanfile.py:                os.rename(os.path.join(self.package_folder, "lib", "lib{}.lib").format(l),
recipes/cppcommon/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/inih/all/conanfile.py:        os.rename("{}-r{}".format(self.name, self.version), self._source_subfolder)
recipes/inih/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "lib", "libinih.a"),
recipes/glog/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/debug_assert/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/librdkafka/all/conanfile.py:        os.rename(downloaded_folder_name, self._source_subfolder)
recipes/ninja/1.10.x/conanfile.py:        os.rename("ninja-%s" % self.version, self._source_subfolder)
recipes/ninja/1.9.x/conanfile.py:        os.rename("ninja-%s" % self.version, self._source_subfolder)
recipes/spirv-headers/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/protobuf/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/protobuf/all/conanfile.py:        os.rename(os.path.join(self.package_folder, self._cmake_install_base_path, "protobuf-config.cmake"),
recipes/valijson/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/oatpp-postgresql/all/conanfile.py:        os.rename("oatpp-postgresql-{0}".format(self.version), self._source_subfolder)
recipes/directshowbaseclasses/all/conanfile.py:        os.rename('Windows-classic-samples-%s' % self.version, self._source_subfolder)
recipes/libdwarf/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/mpg123/all/conanfile.py:        os.rename("mpg123-{}".format(self.version), self._source_subfolder)
recipes/libgit2/0.27.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libgit2/0.28.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libgit2/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/liburing/all/conanfile.py:        os.rename("{0}-{0}-{1}".format(self.name, self.version),
recipes/liburing/all/conanfile.py:                os.rename("liburing.so.1.{}".format(
recipes/rapidjson/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cpp-optparse/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/jxrlib/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/tomlplusplus/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/argon2/all/conanfile.py:        os.rename("phc-winner-argon2-{0}".format(self.version), self._source_subfolder)
recipes/argon2/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "lib", "Argon2OptDll.lib"),
recipes/argon2/all/conanfile.py:                os.rename(os.path.join(self.package_folder, "lib", "libargon2.dll"),
recipes/hyperscan/all/conanfile.py:        os.rename("hyperscan-{0}".format(self.version), self._source_subfolder)
recipes/skyr-url/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/inja/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cnpy/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/meshoptimizer/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/wiringpi/all/conanfile.py:        os.rename("WiringPi-final_official_" + self.version, self._source_subfolder)
recipes/flac/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/capnproto/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/yasm/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libx265/all/conanfile.py:        os.rename("x265-{}".format(self.version), self._source_subfolder)
recipes/podofo/all/conanfile.py:        os.rename("podofo-{0}".format(self.version), self._source_subfolder)
recipes/gsl-lite/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/nodejs/all/conanfile.py:                os.rename(filename[:filename.rfind("x64")+3], self._source_subfolder)
recipes/mpir/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/tree-sitter/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/cpprestsdk/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/stduuid/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/tinycbor/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/darknet/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/taocpp-pegtl/3.x.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/taocpp-pegtl/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/nasm/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/quickfix/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/thrust/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libmount/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/tbb/all/conanfile.py:        os.rename("one{}-{}".format(self.name.upper(), self.version.upper()), self._source_subfolder)
recipes/libraw/all/conanfile.py:        os.rename("LibRaw-" + self.version, self._source_subfolder)
recipes/mysql-connector-c/all/conanfile.py:        os.rename(archive_name, self._source_subfolder)
recipes/mysql-connector-c/all/conanfile.py:        os.rename(sources_cmake, sources_cmake_orig)
recipes/mysql-connector-c/all/conanfile.py:        os.rename("CMakeLists.txt", sources_cmake)
recipes/mysql-connector-c/all/conanfile.py:        os.rename(os.path.join(self.package_folder, "COPYING"), os.path.join(self.package_folder, "licenses", "COPYING"))
recipes/mysql-connector-c/all/conanfile.py:        os.rename(os.path.join(self.package_folder, "COPYING-debug"), os.path.join(self.package_folder, "licenses", "COPYING-debug"))
recipes/yas/7.x.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libnetfilter_conntrack/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/seqan/2.x.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/pupnp/all/conanfile.py:        os.rename(extrated_dir, self._source_subfolder)
recipes/re2c/all/conanfile.py:        os.rename("re2c-{}".format(self.version), self._source_subfolder)
recipes/zziplib/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/glslang/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/cli11/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/brigand/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/flex/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/sokol/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/nettle/all/conanfile.py:        os.rename("nettle-{}".format(self.version), self._source_subfolder)
recipes/libiberty/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libiberty/all/conanfile.py:            os.rename(lib32dir, libdir)
recipes/cn-cbor/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libdeflate/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/logr/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/logr/0.1.0/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/amqp-cpp/all/conanfile.py:        os.rename("AMQP-CPP-" + self.version, self._source_subfolder)
recipes/bit-lite/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/serf/all/conanfile.py:        os.rename(glob.glob("serf-*")[0], self._source_subfolder)
recipes/serf/all/conanfile.py:                os.rename(os.path.join(self.package_folder, "lib", "libserf-{}.dll".format(self._version_major)),
recipes/coin-clp/all/conanfile.py:        os.rename("Clp-releases-{}".format(self.version), self._source_subfolder)
recipes/coin-clp/all/conanfile.py:                os.rename(os.path.join(self.package_folder, "lib", "lib{}.a").format(l),
recipes/ragel/6.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/highway/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/libcurl/all/conanfile.py:        os.rename("curl-%s" % self.version, self._source_subfolder)
recipes/tesseract/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/mbits-args/all/conanfile.py:        os.rename("args-{}".format(self.version),
recipes/charls/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/namedtype/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/clara/all/conanfile.py:        os.rename("Clara-{}".format(self.version), self._source_subfolder)
recipes/hippomocks/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/approvaltests.cpp/all/conanfile.py:        os.rename("ApprovalTests.v.{}.hpp".format(self.version),
recipes/nanobench/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/mgs/all/conanfile.py:        os.rename(self.name, self._source_subfolder)
recipes/tiny-dnn/all/conanfile.py:        os.rename(glob.glob("tiny-dnn-*")[0], self._source_subfolder)
recipes/enum-flags/0.1a/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/autoconf/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/autoconf/all/conanfile.py:                os.rename(fullpath, fullpath + ".exe")
recipes/genie/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/catch2/2.x.x/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/aws-c-event-stream/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/cjson/all/conanfile.py:        os.rename("cJSON-" + self.version, self._source_subfolder)
recipes/libmediainfo/all/conanfile.py:        os.rename("MediaInfoLib", self._source_subfolder)
recipes/libmediainfo/all/conanfile.py:        os.rename("Findtinyxml2.cmake", "FindTinyXML.cmake")
recipes/gobject-introspection/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libmad/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/gflags/all/conanfile.py:        os.rename("%s-%s" % (self.name, self.version), self._source_subfolder)
recipes/nanosvg/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/expected-lite/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/cose-c/all/conanfile.py:        os.rename(glob.glob("COSE-C-*")[0], self._source_subfolder)
recipes/wt/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/twitchtv-libsoundtrackutil/all/conanfile.py:        os.rename("{}-{}".format("libsoundtrackutil", self.version), self._source_subfolder)
recipes/usockets/all/conanfile.py:        os.rename("uSockets-%s" % self.version, self._source_subfolder)
recipes/editline/all/conanfile.py:        os.rename(archive_name, self._source_subfolder)
recipes/zyre/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/tgbot/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libcap/all/conanfile.py:        os.rename(src_folder, self._source_subfolder)
recipes/cimg/all/conanfile.py:        os.rename("CImg-{}".format(self.version), self._source_subfolder)
recipes/argtable3/all/conanfile.py:        os.rename(glob.glob("argtable3-*")[0], self._source_subfolder)
recipes/range-v3/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/libsndfile/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/libsndfile/1.0.28/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/gf-complete/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/jerryscript/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libuvc/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/di/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/quill/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libcorrect/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/svgwrite/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/libsolace/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/libb2/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/xtensor/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/onnx/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/libsmacker/all/conanfile.py:        os.rename("libsmacker-{}.{}.{}".format(v.major, v.minor, v.patch), self._source_subfolder)
recipes/libsmacker/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "lib", "smacker.dll.lib"),
recipes/tcl/8.6.10/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/argparse/all/conanfile.py:        os.rename("argparse-{}".format(self.version), self._source_subfolder)
recipes/aws-sdk-cpp/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/libidn2/all/conanfile.py:        os.rename("libidn2-{}".format(self.version), self._source_subfolder)
recipes/libsrtp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/fast-cpp-csv-parser/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/re2/all/conanfile.py:        os.rename("re2-" + version_to_date(self.version), self._source_subfolder)
recipes/argtable2/all/conanfile.py:        os.rename("argtable{}".format(self.version.replace(".", "-")), self._source_subfolder)
recipes/argtable2/all/conanfile.py:                os.rename(os.path.join(self.package_folder, "lib", "impargtable2.lib"),
recipes/boolean-lite/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/jbig/all/conanfile.py:            os.rename(extracted_dir, self._source_subfolder)
recipes/libssh2/all/conanfile.py:        os.rename("libssh2-%s" % (self.version), self._source_subfolder)
recipes/libssh2/all/conanfile.py:            os.rename(os.path.join(self.package_folder, "lib64"),
recipes/libjpeg-turbo/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/gcem/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/functionalplus/all/conanfile.py:        os.rename("FunctionalPlus-" + self.version, self._source_subfolder)
recipes/libtool/all/conanfile.py:        os.rename("{}-{}".format(self.name, self.version), self._source_subfolder)
recipes/libtool/all/conanfile.py:            os.rename(os.path.join(binpath, "libtoolize"),
recipes/libtool/all/conanfile.py:            os.rename(os.path.join(binpath, "libtool"),
recipes/openmesh/all/conanfile.py:        os.rename("OpenMesh-" + self.version, self._source_subfolder)
recipes/cpp-peglib/1.x.x/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/cpp-peglib/all/conanfile.py:        os.rename(self.name + "-" + self.version, self._source_subfolder)
recipes/mailio/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/poco/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
recipes/meson/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/muparser/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/websocketpp/all/conanfile.py:        os.rename(extracted_dir, self._source_subfolder)
recipes/uriparser/all/conanfile.py:        os.rename(extracted_folder, self._source_subfolder)
ericLemanissier commented 3 years ago

The problem is that all these modifications need to have a separate pull request. By the way, I guess most of these lines could be simply deleted if the recipes used tools.get(..., destination=self._source_subfolder, strip_root=True)

uilianries commented 3 years ago

@ericLemanissier well observed!! Yes, only few cases are related to package folder, but for source folder it should work well.

I could write a script with sed command and push all PRs, but it will take a long time for reviewing all PRs and in meanwhile, people will continue to push os.rename. Of course, we can review and block, but need to remember every reviewer.

SSE4 commented 3 years ago

giphy

ericLemanissier commented 3 years ago

I'd say that the good old way is best:

  1. modify the hook to flag all os.rename() usages
  2. correct recipes progressively, when there is a "real "change to do

otherwise this basically means weeks/months of CI time just to regenerate all binaries, and this would greatly slow down the inclusion of "real" changes

Croydon commented 3 years ago

That is another case where I wish that hooks were capable of outputting warnings, which the CCI bot is then posting directly in its build result comment to make them more visible.

With warnings, we could introduce new hooks and conventions more smoothly, before we eventually hard require them

uilianries commented 3 years ago

@Croydon it sounds good, we can start as warning and promote to error after having all updated (if possible).

jgsogo commented 3 years ago

Yes, this can be a feature to add. The bot can add the output from the hooks if there is any warning, probably the best approach 👍

Even if all of these recipes are modified one by one in PRs, sometimes people have a look at this issue and start to open a lot of PRs... we should reserve that issue for the ERRORs we want to fix asap.

ericLemanissier commented 3 years ago

The devil is in the details: do you run one single special job for the warning, which does not give 100%coverage, or do you extract warnings from all the existing build jobs, which gives a lot of duplicated warnings?

Croydon commented 3 years ago

True, I think duplicated warnings would be fine for a first iteration. And if it is only the warning text, which would be always identical(?), it should be able to de-duplicate it

jgsogo commented 3 years ago

Even though we are using the hooks always, I would say that this addition should be added to pre/post_export hooks (basically parsing the content of the conanfile.py). These pre/post_export hooks are executed in a conan export command before entering the phase where we actually build the binaries. That way we'd show the warning only once per version (yes, duplicated, but not one time per configuration).

This approach doesn't work for pre/post_build hooks or pre/post_package ones, they are specific for each configuration and there we only want to consider errors and fail, warnings could add too much noise.

But, let's go step by step, let's if it introduces too much noise, the coverage,... we need to iterate.