summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-01-12 20:54:32 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-01-12 20:54:32 +0300
commite103d6b79375d4360b5e4e6766ce8fda6fd5f447 (patch)
treedccd3b4dd9e205c3bce6eac1a7d4a57647f91e8e /sci-mathematics
parentsci-mathematics/lybniz: remove last-rited pkg (diff)
downloadgentoo-e103d6b79375d4360b5e4e6766ce8fda6fd5f447.tar.gz
gentoo-e103d6b79375d4360b5e4e6766ce8fda6fd5f447.tar.bz2
gentoo-e103d6b79375d4360b5e4e6766ce8fda6fd5f447.zip
sci-mathematics/pymc: remove last-rited pkg
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/pymc/Manifest1
-rw-r--r--sci-mathematics/pymc/files/pymc-2.3.6-remove-hardcoded-blas.patch11
-rw-r--r--sci-mathematics/pymc/metadata.xml16
-rw-r--r--sci-mathematics/pymc/pymc-2.3.6.ebuild54
4 files changed, 0 insertions, 82 deletions
diff --git a/sci-mathematics/pymc/Manifest b/sci-mathematics/pymc/Manifest
deleted file mode 100644
index 090ed0a4d4e2..000000000000
--- a/sci-mathematics/pymc/Manifest
+++ /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
index 93ce86f5c717..000000000000
--- a/sci-mathematics/pymc/files/pymc-2.3.6-remove-hardcoded-blas.patch
+++ /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
index 0b8c7cb3f0e5..000000000000
--- a/sci-mathematics/pymc/metadata.xml
+++ /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
index edc403020aaa..000000000000
--- a/sci-mathematics/pymc/pymc-2.3.6.ebuild
+++ /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}"
-}