From 9d100555f824ec0d7d6c509f750a3887692c3f98 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sat, 25 Jun 2022 11:31:08 -0700 Subject: [PATCH] pkgs/sage-conf*: Remove some obsolete files --- pkgs/sage-conf/sage_conf.py.in | 88 ----------------------------- pkgs/sage-conf/setup.cfg.in | 22 -------- pkgs/sage-conf_pypi/sage_conf.py.in | 1 - 3 files changed, 111 deletions(-) delete mode 100644 pkgs/sage-conf/sage_conf.py.in delete mode 100644 pkgs/sage-conf/setup.cfg.in delete mode 120000 pkgs/sage-conf_pypi/sage_conf.py.in diff --git a/pkgs/sage-conf/sage_conf.py.in b/pkgs/sage-conf/sage_conf.py.in deleted file mode 100644 index f6d71c3e3cb..00000000000 --- a/pkgs/sage-conf/sage_conf.py.in +++ /dev/null @@ -1,88 +0,0 @@ -# @configure_input@ - -VERSION = "@PACKAGE_VERSION@" - -# The following must not be used during build to determine source or installation -# location of sagelib. See comments in SAGE_ROOT/src/Makefile.in -# These variables come first so that other substituted variable values can refer -# to it. -SAGE_LOCAL = "@prefix@" -SAGE_ROOT = "@SAGE_ROOT@" - -MAXIMA = "@prefix@/bin/maxima" - -# Delete this line if your ECL can load maxima without further prodding. -MAXIMA_FAS = "@SAGE_MAXIMA_FAS@".replace('${prefix}', SAGE_LOCAL) - -# Delete this line if your ECL can load Kenzo without further prodding. -KENZO_FAS = "@SAGE_KENZO_FAS@".replace('${prefix}', SAGE_LOCAL) - -ARB_LIBRARY = "@SAGE_ARB_LIBRARY@" - -NTL_INCDIR = "@NTL_INCDIR@" -NTL_LIBDIR = "@NTL_LIBDIR@" - -# Path to the ecl-config script -ECL_CONFIG = "@SAGE_ECL_CONFIG@".replace('${prefix}', SAGE_LOCAL) - -SAGE_NAUTY_BINS_PREFIX = "@SAGE_NAUTY_BINS_PREFIX@" - -# Names or paths of the 4ti2 executables -FOURTITWO_HILBERT = "@FOURTITWO_HILBERT@" -FOURTITWO_MARKOV = "@FOURTITWO_MARKOV@" -FOURTITWO_GRAVER = "@FOURTITWO_GRAVER@" -FOURTITWO_ZSOLVE = "@FOURTITWO_ZSOLVE@" -FOURTITWO_QSOLVE = "@FOURTITWO_QSOLVE@" -FOURTITWO_RAYS = "@FOURTITWO_RAYS@" -FOURTITWO_PPI = "@FOURTITWO_PPI@" -FOURTITWO_CIRCUITS = "@FOURTITWO_CIRCUITS@" -FOURTITWO_GROEBNER = "@FOURTITWO_GROEBNER@" - -# Colon-separated list of pkg-config modules to search for cblas functionality. -# We hard-code it here as cblas because configure (build/pkgs/openblas/spkg-configure.m4) -# always provides cblas.pc, if necessary by creating a facade pc file for a system BLAS. -CBLAS_PC_MODULES = "cblas" - -# for sage_setup.setenv -SAGE_ARCHFLAGS = "@SAGE_ARCHFLAGS@" -SAGE_PKG_CONFIG_PATH = "@SAGE_PKG_CONFIG_PATH@".replace('$SAGE_LOCAL', SAGE_LOCAL) - -# Used in sage.repl.ipython_kernel.install -MATHJAX_DIR = SAGE_LOCAL + "/share/mathjax" -THREEJS_DIR = SAGE_LOCAL + "/share/threejs-sage" - -# OpenMP flags, if available. -OPENMP_CFLAGS = "@OPENMP_CFLAGS@" -OPENMP_CXXFLAGS = "@OPENMP_CXXFLAGS@" - -# Singular executable -SINGULAR_BIN = "@SINGULAR_BIN@" - -# The full absolute path to the main Singular library. -LIBSINGULAR_PATH = "@LIBSINGULAR_PATH@".replace('$SAGE_LOCAL', SAGE_LOCAL) - -# Installation location of wheels. This is determined at configuration time -# and does not depend on the installation location of sage-conf. -SAGE_SPKG_WHEELS = "@SAGE_VENV@".replace('${SAGE_LOCAL}', SAGE_LOCAL) + "/var/lib/sage/wheels" - - -# Entry point 'sage-config'. It does not depend on any packages. - -def _main(): - from argparse import ArgumentParser - from sys import exit, stdout - parser = ArgumentParser() - parser.add_argument('--version', help="show version", action="version", - version='%(prog)s ' + VERSION) - parser.add_argument("VARIABLE", nargs='?', help="output the value of VARIABLE") - args = parser.parse_args() - d = globals() - if args.VARIABLE: - stdout.write('{}\n'.format(d[args.VARIABLE])) - else: - for k, v in d.items(): - if not k.startswith('_'): - stdout.write('{}={}\n'.format(k, v)) - -if __name__ == "__main__": - _main() diff --git a/pkgs/sage-conf/setup.cfg.in b/pkgs/sage-conf/setup.cfg.in deleted file mode 100644 index 792b630eec0..00000000000 --- a/pkgs/sage-conf/setup.cfg.in +++ /dev/null @@ -1,22 +0,0 @@ -# @configure_input@ - -[metadata] -name = sage-conf -version = @PACKAGE_VERSION@ -description = Sage: Open Source Mathematics Software: Configuration module for the SageMath library -long_description = file: README.rst -license = GNU General Public License (GPL) v3 or later -author = The Sage Developers -author_email = sage-support@googlegroups.com -url = https://www.sagemath.org - -[options] -py_modules = - sage_conf - -scripts = - bin/sage-env-config - -[options.entry_points] -console_scripts = - sage-config = sage_conf:_main diff --git a/pkgs/sage-conf_pypi/sage_conf.py.in b/pkgs/sage-conf_pypi/sage_conf.py.in deleted file mode 120000 index ed20b4df7fd..00000000000 --- a/pkgs/sage-conf_pypi/sage_conf.py.in +++ /dev/null @@ -1 +0,0 @@ -../sage-conf/sage_conf.py.in \ No newline at end of file