From fc34e2acaca4f704a49f95ecb14ddc5fb099b38d Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sun, 6 Feb 2022 18:57:36 -0800 Subject: [PATCH] pkgs/sage-legacy-install-cleaner: Move install cleaner here --- build/pkgs/sagelib/install-cleaner | 1 + build/pkgs/sagelib/install-cleaner/LICENSE.txt | 1 - build/pkgs/sagelib/install-cleaner/VERSION.txt | 1 - build/pkgs/sagelib/install-cleaner/build | 1 - build/pkgs/sagelib/install-cleaner/sage | 1 - build/pkgs/sagelib/install-cleaner/setup.cfg | 1 - pkgs/sage-legacy-install-cleaner/LICENSE.txt | 1 + pkgs/sage-legacy-install-cleaner/README.rst | 13 +++++++++++++ pkgs/sage-legacy-install-cleaner/VERSION.txt | 1 + pkgs/sage-legacy-install-cleaner/build | 1 + pkgs/sage-legacy-install-cleaner/sage | 1 + pkgs/sage-legacy-install-cleaner/setup.cfg | 1 + .../sage-legacy-install-cleaner}/setup.py | 0 13 files changed, 19 insertions(+), 5 deletions(-) create mode 120000 build/pkgs/sagelib/install-cleaner delete mode 120000 build/pkgs/sagelib/install-cleaner/LICENSE.txt delete mode 120000 build/pkgs/sagelib/install-cleaner/VERSION.txt delete mode 120000 build/pkgs/sagelib/install-cleaner/build delete mode 120000 build/pkgs/sagelib/install-cleaner/sage delete mode 120000 build/pkgs/sagelib/install-cleaner/setup.cfg create mode 120000 pkgs/sage-legacy-install-cleaner/LICENSE.txt create mode 100644 pkgs/sage-legacy-install-cleaner/README.rst create mode 120000 pkgs/sage-legacy-install-cleaner/VERSION.txt create mode 120000 pkgs/sage-legacy-install-cleaner/build create mode 120000 pkgs/sage-legacy-install-cleaner/sage create mode 120000 pkgs/sage-legacy-install-cleaner/setup.cfg rename {build/pkgs/sagelib/install-cleaner => pkgs/sage-legacy-install-cleaner}/setup.py (100%) diff --git a/build/pkgs/sagelib/install-cleaner b/build/pkgs/sagelib/install-cleaner new file mode 120000 index 00000000000..af289d07005 --- /dev/null +++ b/build/pkgs/sagelib/install-cleaner @@ -0,0 +1 @@ +../../../pkgs/sage-legacy-install-cleaner/ \ No newline at end of file diff --git a/build/pkgs/sagelib/install-cleaner/LICENSE.txt b/build/pkgs/sagelib/install-cleaner/LICENSE.txt deleted file mode 120000 index d86b8c2a408..00000000000 --- a/build/pkgs/sagelib/install-cleaner/LICENSE.txt +++ /dev/null @@ -1 +0,0 @@ -../src/LICENSE.txt \ No newline at end of file diff --git a/build/pkgs/sagelib/install-cleaner/VERSION.txt b/build/pkgs/sagelib/install-cleaner/VERSION.txt deleted file mode 120000 index 19d8951ad37..00000000000 --- a/build/pkgs/sagelib/install-cleaner/VERSION.txt +++ /dev/null @@ -1 +0,0 @@ -../src/VERSION.txt \ No newline at end of file diff --git a/build/pkgs/sagelib/install-cleaner/build b/build/pkgs/sagelib/install-cleaner/build deleted file mode 120000 index 5154a7f1bbc..00000000000 --- a/build/pkgs/sagelib/install-cleaner/build +++ /dev/null @@ -1 +0,0 @@ -../src/build \ No newline at end of file diff --git a/build/pkgs/sagelib/install-cleaner/sage b/build/pkgs/sagelib/install-cleaner/sage deleted file mode 120000 index 322786a4298..00000000000 --- a/build/pkgs/sagelib/install-cleaner/sage +++ /dev/null @@ -1 +0,0 @@ -../src/sage \ No newline at end of file diff --git a/build/pkgs/sagelib/install-cleaner/setup.cfg b/build/pkgs/sagelib/install-cleaner/setup.cfg deleted file mode 120000 index dacc9c2fecf..00000000000 --- a/build/pkgs/sagelib/install-cleaner/setup.cfg +++ /dev/null @@ -1 +0,0 @@ -../src/setup.cfg \ No newline at end of file diff --git a/pkgs/sage-legacy-install-cleaner/LICENSE.txt b/pkgs/sage-legacy-install-cleaner/LICENSE.txt new file mode 120000 index 00000000000..718c762f326 --- /dev/null +++ b/pkgs/sage-legacy-install-cleaner/LICENSE.txt @@ -0,0 +1 @@ +../sagemath-standard/LICENSE.txt \ No newline at end of file diff --git a/pkgs/sage-legacy-install-cleaner/README.rst b/pkgs/sage-legacy-install-cleaner/README.rst new file mode 100644 index 00000000000..9255a7692a9 --- /dev/null +++ b/pkgs/sage-legacy-install-cleaner/README.rst @@ -0,0 +1,13 @@ +sage_legacy_install_cleaner +=========================== + +Running `setup.py install` on this pseudo-distribution package removes +modules of the Sage library that are no longer present in the source +tree from the installation in `site-packages`. + +Sage-the-distribution runs it after installing the Sage library using +the legacy distutils-based installation method (when `configure +--enable-editable` is not in use). + +`sage_legacy_install_cleaner` is not intended for distribution on PyPI +and will also not be needed in downstream packaging of SageMath. diff --git a/pkgs/sage-legacy-install-cleaner/VERSION.txt b/pkgs/sage-legacy-install-cleaner/VERSION.txt new file mode 120000 index 00000000000..7ceff7e5653 --- /dev/null +++ b/pkgs/sage-legacy-install-cleaner/VERSION.txt @@ -0,0 +1 @@ +../sagemath-standard/VERSION.txt \ No newline at end of file diff --git a/pkgs/sage-legacy-install-cleaner/build b/pkgs/sage-legacy-install-cleaner/build new file mode 120000 index 00000000000..c47599aa65b --- /dev/null +++ b/pkgs/sage-legacy-install-cleaner/build @@ -0,0 +1 @@ +../sagemath-standard/build \ No newline at end of file diff --git a/pkgs/sage-legacy-install-cleaner/sage b/pkgs/sage-legacy-install-cleaner/sage new file mode 120000 index 00000000000..5f464adbc58 --- /dev/null +++ b/pkgs/sage-legacy-install-cleaner/sage @@ -0,0 +1 @@ +../sagemath-standard/sage \ No newline at end of file diff --git a/pkgs/sage-legacy-install-cleaner/setup.cfg b/pkgs/sage-legacy-install-cleaner/setup.cfg new file mode 120000 index 00000000000..e658a9d50a6 --- /dev/null +++ b/pkgs/sage-legacy-install-cleaner/setup.cfg @@ -0,0 +1 @@ +../sagemath-standard/setup.cfg \ No newline at end of file diff --git a/build/pkgs/sagelib/install-cleaner/setup.py b/pkgs/sage-legacy-install-cleaner/setup.py similarity index 100% rename from build/pkgs/sagelib/install-cleaner/setup.py rename to pkgs/sage-legacy-install-cleaner/setup.py