diff --git a/dev-python/cvxopt/Manifest b/dev-python/cvxopt/Manifest deleted file mode 100644 index 5f8d00a98..000000000 --- a/dev-python/cvxopt/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cvxopt-1.3.2.gh.tar.gz 4095027 BLAKE2B ad4dfba1fe9c5be700ba61268e9d245355493c0334688b7a08bd4b5c4127da7a276cc660a1c1f4fe4df2359f9d2a8e3c4907d57d23c29d8caaf0329f6834cc30 SHA512 a6f9006b8b83445d781b1ba876e5ecefe724cf8666f47744b010e9c61fa1786dbd6233459a6e6a1a333ef9ac075d280076b2aeee3a2636d27541a615c5607b34 diff --git a/dev-python/cvxopt/cvxopt-1.3.2.ebuild b/dev-python/cvxopt/cvxopt-1.3.2.ebuild deleted file mode 100644 index 3bffd7009..000000000 --- a/dev-python/cvxopt/cvxopt-1.3.2.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 toolchain-funcs - -DESCRIPTION="Python package for convex optimization" -HOMEPAGE=" - https://cvxopt.org/ - https://github.com/cvxopt/cvxopt/ - https://pypi.org/project/cvxopt/ -" -# no sdist, as of 1.3.1 -SRC_URI=" - https://github.com/${PN}/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+dsdp examples fftw +glpk gsl" - -DEPEND=" - virtual/blas - virtual/lapack - sci-libs/amd:0= - sci-libs/cholmod:0= - sci-libs/colamd:0= - sci-libs/suitesparseconfig:0= - sci-libs/umfpack:0= - dsdp? ( sci-libs/dsdp:0= ) - fftw? ( sci-libs/fftw:3.0= ) - glpk? ( >=sci-mathematics/glpk-4.49:0= ) - gsl? ( sci-libs/gsl:0= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=dev-python/setuptools-scm-6.2[${PYTHON_USEDEP}] - virtual/pkgconfig -" - -distutils_enable_sphinx doc/source \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -# The BLAS_LIB and LAPACK_LIB variables (among others) in cvxopt's -# setup.py are passed in as colon-delimited strings. So, for example, -# if your blas "l" flags are "-lblas -lcblas", then cvxopt wants -# "blas;cblas" for BLAS_LIB. -# -# The following function takes a flag type ("l", "L", or "I") as its -# first argument and a list of packages as its remaining arguments. It -# outputs a list of libraries, library paths, or include paths, -# respectively, for the given packages, retrieved using pkg-config and -# deduplicated, in the appropriate format. -# -cvxopt_output() { - local FLAGNAME="${1}" - shift - local PACKAGES="${@}" - - local PKGCONFIG_MODE - case "${FLAGNAME}" in - l) PKGCONFIG_MODE="--libs-only-l";; - L) PKGCONFIG_MODE="--libs-only-L";; - I) PKGCONFIG_MODE="--cflags-only-I";; - *) echo "invalid flag name: ${FLAGNAME}"; exit 1;; - esac - - local CVXOPT_OUTPUT="" - local PKGCONFIG_ITEM - for PKGCONFIG_ITEM in $($(tc-getPKG_CONFIG) ${PKGCONFIG_MODE} ${PACKAGES}) - do - # First strip off the leading "-l", "-L", or "-I", and replace - # it with a semicolon... - PKGCONFIG_ITEM=";${PKGCONFIG_ITEM#-${FLAGNAME}}" - - # Now check to see if this element is already present in the - # list, and skip it if it is. This eliminates multiple entries - # from winding up in the list when multiple package arguments are - # passed to this function. - if [[ "${CVXOPT_OUTPUT}" != "${CVXOPT_OUTPUT%${PKGCONFIG_ITEM}}" ]] - then - # It was already the last entry in the list, so skip it. - continue - elif [[ "${CVXOPT_OUTPUT}" != "${CVXOPT_OUTPUT%${PKGCONFIG_ITEM};*}" ]] - then - # It was an earlier entry in the list. These two cases are - # separate to ensure that we can e.g. find ";m" at the end - # of the list, but that we don't find ";metis" in the process. - continue - fi - - # It isn't in the list yet, so append it. - CVXOPT_OUTPUT+="${PKGCONFIG_ITEM}" - done - - # Strip the leading ";" from ";foo;bar" before output. - echo "${CVXOPT_OUTPUT#;}" -} - -src_configure() { - # Mandatory dependencies. - export CVXOPT_BLAS_LIB="$(cvxopt_output l blas)" - export CVXOPT_BLAS_LIB_DIR="${EPREFIX}/usr/$(get_libdir);$(cvxopt_output L blas)" - export CVXOPT_LAPACK_LIB="$(cvxopt_output l lapack)" - export CVXOPT_SUITESPARSE_LIB_DIR="${EPREFIX}/usr/$(get_libdir);$(cvxopt_output L umfpack cholmod amd colamd suitesparseconfig)" - - # Most of these CVXOPT_* variables can be blank or have "empty" - # entries and the resulting command-line with e.g. "-L -L/some/path" - # won't hurt anything. The INC_DIR variables, however, cause - # problems, because at least gcc doesn't like a bare "-I". We - # pre-populate these variable with something safe so that setup.py - # doesn't look in the wrong place if pkg-config doesn't return any - # extra -I directories. This is - # - # https://github.com/cvxopt/cvxopt/issues/167 - # - CVXOPT_SUITESPARSE_INC_DIR="${EPREFIX}/usr/include" - local SUITESPARSE_LOCAL_INCS="$(cvxopt_output I umfpack cholmod amd colamd suitesparseconfig)" - if [[ -n "${SUITESPARSE_LOCAL_INCS}" ]]; then - CVXOPT_SUITESPARSE_INC_DIR+=";${SUITESPARSE_LOCAL_INCS}" - fi - export CVXOPT_SUITESPARSE_INC_DIR - - # optional dependencies - if use dsdp; then - # no pkg-config file at the moment - export CVXOPT_BUILD_DSDP=1 - export CVXOPT_DSDP_LIB_DIR="${EPREFIX}/usr/$(get_libdir)" - export CVXOPT_DSDP_INC_DIR="${EPREFIX}/usr/include" - fi - - if use fftw; then - export CVXOPT_BUILD_FFTW=1 - export CVXOPT_FFTW_LIB_DIR="${EPREFIX}/usr/$(get_libdir);$(cvxopt_output L fftw3)" - CVXOPT_FFTW_INC_DIR="${EPREFIX}/usr/include" - FFTW_LOCAL_INCS="$(cvxopt_output I fftw3)" - if [[ -n "${FFTW_LOCAL_INCS}" ]]; then - CVXOPT_FFTW_INC_DIR+=";${FFTW_LOCAL_INCS}" - fi - export CVXOPT_FFTW_INC_DIR - fi - - if use glpk; then - # no pkg-config file at the moment - export CVXOPT_BUILD_GLPK=1 - export CVXOPT_GLPK_LIB_DIR="${EPREFIX}/usr/$(get_libdir)" - export CVXOPT_GLPK_INC_DIR="${EPREFIX}/usr/include" - fi - - if use gsl; then - export CVXOPT_BUILD_GSL=1 - export CVXOPT_GSL_LIB_DIR="${EPREFIX}/usr/$(get_libdir);$(cvxopt_output L gsl)" - CVXOPT_GSL_INC_DIR="${EPREFIX}/usr/include" - GSL_LOCAL_INCS="$(cvxopt_output I gsl)" - if [[ -n "${GSL_LOCAL_INCS}" ]]; then - CVXOPT_GSL_INC_DIR+=";${GSL_LOCAL_INCS}" - fi - export CVXOPT_GSL_INC_DIR - fi - - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} -} - -python_install_all() { - distutils-r1_python_install_all - if use examples; then - dodoc -r examples - docompress -x "/usr/share/doc/${PF}/examples" - fi -} diff --git a/dev-python/cvxopt/metadata.xml b/dev-python/cvxopt/metadata.xml deleted file mode 100644 index cf7f57f88..000000000 --- a/dev-python/cvxopt/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - frp.bissey@gmail.com - - - CVXOPT is a software for convex optimization based on - the Python programming language. Its main purpose is to make the - development of software for convex optimization applications - straightforward. - - - Use interior point library - sci-libs/dsdp - Use GNU Linear Programming Kit - sci-mathematics/glpk - - - cvxopt/cvxopt - cvxopt - - diff --git a/dev-python/rpy/Manifest b/dev-python/rpy/Manifest deleted file mode 100644 index 4b05cc402..000000000 --- a/dev-python/rpy/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST rpy2-3.5.14.tar.gz 219268 BLAKE2B 167284d4974710121475d83aada49e128566f075276f5f641096f6ce94c236c315617df2847504e0e3ca804090e1f422fa1b53a4a37b60f1c5bcdba8c0b059ff SHA512 d02454fb41c946a0a92547f8a5dba3c614741bec8e293984116b34dfbe97574a655b7066fd75d34fee4c0f604c41c8b672d6a2c3b4194cba30a37c95da6578dd diff --git a/dev-python/rpy/metadata.xml b/dev-python/rpy/metadata.xml deleted file mode 100644 index 911089995..000000000 --- a/dev-python/rpy/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - sci@gentoo.org - Gentoo Science Project - - - RPy provides a robust Python interface to the R programming - language. It can manage R objects and can execute arbitrary R - functions. All the errors from the R language are converted to - Python exceptions. - - - rpy2 - rpy - - diff --git a/dev-python/rpy/rpy-3.5.14.ebuild b/dev-python/rpy/rpy-3.5.14.ebuild deleted file mode 100644 index d708460c6..000000000 --- a/dev-python/rpy/rpy-3.5.14.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -PYTHON_REQ_USE="sqlite" -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 pypi virtualx - -MYSLOT=2 -MY_PN=${PN}${MYSLOT} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Python interface to the R Programming Language" -HOMEPAGE=" - https://rpy.sourceforge.io/ - https://pypi.org/project/rpy2/ -" -SRC_URI="$(pypi_sdist_url rpy2)" -S="${WORKDIR}/${MY_P}" - -LICENSE="AGPL-3 GPL-2 LGPL-2.1 MPL-1.1" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -# ggplot2 is a test dep but not in ::gentoo atm -RESTRICT="test" - -RDEPEND=" - >=dev-lang/R-3.2 - dev-python/cffi[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - >=dev-python/pandas-0.13.1[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/tzlocal[${PYTHON_USEDEP}] -" -PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]" - -python_test() { - cd "${BUILD_DIR}"/lib || die - virtx "${EPYTHON}" -m 'rpy2.tests' -} diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest deleted file mode 100644 index f19c73e34..000000000 --- a/dev-python/sympy/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sympy-1.12.gh.tar.gz 7212937 BLAKE2B 1d37a019e7a6700e69e16d6ca7fdc563711165fc226ac6ec745d20fa6dc689ee9ea01a92549d851aacff763230872c2d1d0cb5bde581c4f960f5de515ffb5f06 SHA512 96a89b88f6912d70c56f5bd1903dd3c518963118ff25d033cdcb7da2f260b8ee209d3ab4a4394dd2b5dc0b4585b71ccd55d55c8e5c6e28024cccbedf07ee4360 diff --git a/dev-python/sympy/metadata.xml b/dev-python/sympy/metadata.xml deleted file mode 100644 index d54d19807..000000000 --- a/dev-python/sympy/metadata.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - grozin@gentoo.org - Andrey Grozin - - - sam@gentoo.org - Sam James - - - sci-mathematics@gentoo.org - Gentoo Mathematics Project - - - python@gentoo.org - Python - - - SymPy is a Python library for symbolic mathematics (manipulation). It - aims to become a full-featured computer algebra system (CAS) while keeping - the code as simple as possible in order to be comprehensible and easily - extensible. SymPy is written entirely in Python and does not require - any external libraries, except optionally for plotting support. - - - - Add support for dev-python/aesara - Add support for dev-python/ipython - Add support for dev-python/pillow - Add support for mathml - Use dev-python/pyglet for plots and print preview - Add support for a dev-python/symengine backend - Add app-office/texmacs interface - - - sympy - sympy/sympy - - diff --git a/dev-python/sympy/sympy-1.12.ebuild b/dev-python/sympy/sympy-1.12.ebuild deleted file mode 100644 index 254f0de45..000000000 --- a/dev-python/sympy/sympy-1.12.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Computer Algebra System in pure Python" -HOMEPAGE="https://www.sympy.org/" -SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz -> ${P}.gh.tar.gz" -S="${WORKDIR}/${PN}-${P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet symengine test texmacs" - -RDEPEND=" - dev-python/mpmath[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - aesara? ( $(python_gen_cond_dep 'dev-python/aesara[${PYTHON_USEDEP}]' python3_{9..10}) ) - imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) - ipython? ( dev-python/ipython[${PYTHON_USEDEP}] ) - latex? ( - virtual/latex-base - dev-texlive/texlive-fontsextra - png? ( app-text/dvipng ) - pdf? ( app-text/ghostscript-gpl ) - ) - mathml? ( dev-python/lxml[${PYTHON_USEDEP}] ) - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) - pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) - symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) - texmacs? ( app-office/texmacs ) -" - -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - esetup.py test -} - -python_install_all() { - local DOCS=( AUTHORS README.md ) - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all - - if use texmacs; then - exeinto /usr/libexec/TeXmacs/bin/ - doexe data/TeXmacs/bin/tm_sympy - insinto /usr/share/TeXmacs/plugins/sympy/ - doins -r data/TeXmacs/progs - fi -}