Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pymc/, sci-mathematics/pymc/files/
Date: Sun, 12 Jan 2020 17:54:46
Message-Id: 1578851672.e103d6b79375d4360b5e4e6766ce8fda6fd5f447.zlogene@gentoo
1 commit: e103d6b79375d4360b5e4e6766ce8fda6fd5f447
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 12 17:54:32 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 12 17:54:32 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e103d6b7
7
8 sci-mathematics/pymc: remove last-rited pkg
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11
12 sci-mathematics/pymc/Manifest | 1 -
13 .../files/pymc-2.3.6-remove-hardcoded-blas.patch | 11 -----
14 sci-mathematics/pymc/metadata.xml | 16 -------
15 sci-mathematics/pymc/pymc-2.3.6.ebuild | 54 ----------------------
16 4 files changed, 82 deletions(-)
17
18 diff --git a/sci-mathematics/pymc/Manifest b/sci-mathematics/pymc/Manifest
19 deleted file mode 100644
20 index 090ed0a4d4e..00000000000
21 --- a/sci-mathematics/pymc/Manifest
22 +++ /dev/null
23 @@ -1 +0,0 @@
24 -DIST pymc-2.3.6.zip 402827 BLAKE2B e8ed875d84e8783f35f9186c6d7d659f29a49937896261a0f8bd892f324d2e17887ce37381aece8d97e47389edf7d727dc73a40ef6abfe4682a7bcbd1a768336 SHA512 4b5e0663ca296efd8d242a0b6362a12d475cdabf661a430de5455e60999acf8a4a30d053303c2f79e8aec3e5e7d120f56cb341e283aa87f31c224e4e57300d13
25
26 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
27 deleted file mode 100644
28 index 93ce86f5c71..00000000000
29 --- a/sci-mathematics/pymc/files/pymc-2.3.6-remove-hardcoded-blas.patch
30 +++ /dev/null
31 @@ -1,11 +0,0 @@
32 ---- a/setup.py
33 -+++ b/setup.py
34 -@@ -80,7 +80,7 @@
35 -
36 - # Compile covariance functions
37 - config.add_extension(name='gp.cov_funs.isotropic_cov_funs',\
38 --sources=['pymc/gp/cov_funs/isotropic_cov_funs.f','blas/BLAS/dscal.f'],\
39 -+sources=['pymc/gp/cov_funs/isotropic_cov_funs.f'],\
40 - extra_info=lapack_info)
41 -
42 - config.add_extension(name='gp.cov_funs.distances',sources=['pymc/gp/cov_funs/distances.f'], extra_info=lapack_info)
43
44 diff --git a/sci-mathematics/pymc/metadata.xml b/sci-mathematics/pymc/metadata.xml
45 deleted file mode 100644
46 index 0b8c7cb3f0e..00000000000
47 --- a/sci-mathematics/pymc/metadata.xml
48 +++ /dev/null
49 @@ -1,16 +0,0 @@
50 -<?xml version='1.0' encoding='UTF-8'?>
51 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
52 -<pkgmetadata>
53 - <maintainer type="person">
54 - <email>heroxbd@g.o</email>
55 - <name>Benda Xu</name>
56 - </maintainer>
57 - <longdescription lang="en">
58 -PyMC is a python module that implements Bayesian statistical models
59 -and fitting algorithms, including Markov chain Monte Carlo.
60 - </longdescription>
61 - <upstream>
62 - <remote-id type="github">pymc-devs/pymc</remote-id>
63 - <remote-id type="pypi">pymc</remote-id>
64 - </upstream>
65 -</pkgmetadata>
66
67 diff --git a/sci-mathematics/pymc/pymc-2.3.6.ebuild b/sci-mathematics/pymc/pymc-2.3.6.ebuild
68 deleted file mode 100644
69 index edc403020aa..00000000000
70 --- a/sci-mathematics/pymc/pymc-2.3.6.ebuild
71 +++ /dev/null
72 @@ -1,54 +0,0 @@
73 -# Copyright 1999-2020 Gentoo Authors
74 -# Distributed under the terms of the GNU General Public License v2
75 -
76 -EAPI=6
77 -
78 -PYTHON_COMPAT=( python{2_7,3_6} )
79 -
80 -inherit distutils-r1 flag-o-matic fortran-2 toolchain-funcs
81 -
82 -DESCRIPTION="Markov Chain Monte Carlo sampling toolkit"
83 -HOMEPAGE="https://github.com/${PN}-devs/${PN} https://pypi.org/project/${PN}"
84 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
85 -
86 -SLOT=0
87 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
88 -LICENSE=AFL-3.0
89 -IUSE="test"
90 -RESTRICT="!test? ( test )"
91 -
92 -RDEPEND=">=dev-python/numpy-1.6[${PYTHON_USEDEP},lapack]
93 - >=dev-python/matplotlib-1.0[${PYTHON_USEDEP}]"
94 -DEPEND="
95 - test? (
96 - ${RDEPEND}
97 - dev-python/nose[${PYTHON_USEDEP}]
98 - )"
99 -
100 -PATCHES=( "${FILESDIR}/${PN}-2.3.6-remove-hardcoded-blas.patch" )
101 -
102 -# tests freeze at some point
103 -#RESTRICT="test"
104 -
105 -python_prepare_all() {
106 - # forcibly remove bundled libs, just to be sure...
107 - rm -r blas || die
108 -
109 - distutils-r1_python_prepare_all
110 -}
111 -
112 -python_configure_all() {
113 - append-fflags -fPIC
114 - append-ldflags -shared
115 -
116 - [[ $(tc-getFC) == *gfortran* ]] && mydistutilsargs=( config_fc --fcompiler=gnu95 )
117 -}
118 -
119 -python_test() {
120 - distutils_install_for_testing
121 - cd "${TEST_DIR}" || die
122 - # Use agg backend instead of gtk
123 - echo 'backend : agg' > matplotlibrc || die
124 -
125 - ${EPYTHON} -c "import pymc; pymc.test()" || die "Tests failed on ${EPYTHON}"
126 -}