sci-mathematics/pymc: remove last-rited pkg
authorMikle Kolyada <zlogene@gentoo.org>
Sun, 12 Jan 2020 17:54:32 +0000 (20:54 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Sun, 12 Jan 2020 17:54:32 +0000 (20:54 +0300)
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
sci-mathematics/pymc/Manifest [deleted file]
sci-mathematics/pymc/files/pymc-2.3.6-remove-hardcoded-blas.patch [deleted file]
sci-mathematics/pymc/metadata.xml [deleted file]
sci-mathematics/pymc/pymc-2.3.6.ebuild [deleted file]

diff --git a/sci-mathematics/pymc/Manifest b/sci-mathematics/pymc/Manifest
deleted file mode 100644 (file)
index 090ed0a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-DIST pymc-2.3.6.zip 402827 BLAKE2B e8ed875d84e8783f35f9186c6d7d659f29a49937896261a0f8bd892f324d2e17887ce37381aece8d97e47389edf7d727dc73a40ef6abfe4682a7bcbd1a768336 SHA512 4b5e0663ca296efd8d242a0b6362a12d475cdabf661a430de5455e60999acf8a4a30d053303c2f79e8aec3e5e7d120f56cb341e283aa87f31c224e4e57300d13
diff --git a/sci-mathematics/pymc/files/pymc-2.3.6-remove-hardcoded-blas.patch b/sci-mathematics/pymc/files/pymc-2.3.6-remove-hardcoded-blas.patch
deleted file mode 100644 (file)
index 93ce86f..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -80,7 +80,7 @@
- # Compile covariance functions
- config.add_extension(name='gp.cov_funs.isotropic_cov_funs',\
--sources=['pymc/gp/cov_funs/isotropic_cov_funs.f','blas/BLAS/dscal.f'],\
-+sources=['pymc/gp/cov_funs/isotropic_cov_funs.f'],\
- extra_info=lapack_info)
- config.add_extension(name='gp.cov_funs.distances',sources=['pymc/gp/cov_funs/distances.f'], extra_info=lapack_info)
diff --git a/sci-mathematics/pymc/metadata.xml b/sci-mathematics/pymc/metadata.xml
deleted file mode 100644 (file)
index 0b8c7cb..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <maintainer type="person">
-    <email>heroxbd@gentoo.org</email>
-    <name>Benda Xu</name>
-  </maintainer>
-  <longdescription lang="en">
-PyMC is a python module that implements Bayesian statistical models
-and fitting algorithms, including Markov chain Monte Carlo.
-  </longdescription>
-  <upstream>
-    <remote-id type="github">pymc-devs/pymc</remote-id>
-    <remote-id type="pypi">pymc</remote-id>
-  </upstream>
-</pkgmetadata>
diff --git a/sci-mathematics/pymc/pymc-2.3.6.ebuild b/sci-mathematics/pymc/pymc-2.3.6.ebuild
deleted file mode 100644 (file)
index edc4030..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{2_7,3_6} )
-
-inherit distutils-r1 flag-o-matic fortran-2 toolchain-funcs
-
-DESCRIPTION="Markov Chain Monte Carlo sampling toolkit"
-HOMEPAGE="https://github.com/${PN}-devs/${PN} https://pypi.org/project/${PN}"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
-
-SLOT=0
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-LICENSE=AFL-3.0
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=dev-python/numpy-1.6[${PYTHON_USEDEP},lapack]
-       >=dev-python/matplotlib-1.0[${PYTHON_USEDEP}]"
-DEPEND="
-       test? (
-               ${RDEPEND}
-               dev-python/nose[${PYTHON_USEDEP}]
-       )"
-
-PATCHES=( "${FILESDIR}/${PN}-2.3.6-remove-hardcoded-blas.patch" )
-
-# tests freeze at some point
-#RESTRICT="test"
-
-python_prepare_all() {
-       # forcibly remove bundled libs, just to be sure...
-       rm -r blas || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
-       append-fflags -fPIC
-       append-ldflags -shared
-
-       [[ $(tc-getFC) == *gfortran* ]] && mydistutilsargs=( config_fc --fcompiler=gnu95 )
-}
-
-python_test() {
-       distutils_install_for_testing
-       cd "${TEST_DIR}" || die
-       # Use agg backend instead of gtk
-       echo 'backend      : agg' > matplotlibrc || die
-
-       ${EPYTHON} -c "import pymc; pymc.test()" || die "Tests failed on ${EPYTHON}"
-}