From 05c4b5e7cd593e63c421d3f3360d5e9308710a9a Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 11 Apr 2022 09:50:49 +0300 Subject: python-pymc: Adopted --- python-pymc/.AURINFO | 21 +++++++++++++++++++++ python-pymc/.SRCINFO | 21 +++++++++++++++++++++ python-pymc/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 python-pymc/.AURINFO create mode 100644 python-pymc/.SRCINFO create mode 100644 python-pymc/PKGBUILD diff --git a/python-pymc/.AURINFO b/python-pymc/.AURINFO new file mode 100644 index 0000000..2b6b262 --- /dev/null +++ b/python-pymc/.AURINFO @@ -0,0 +1,21 @@ +pkgbase = python-pymc + pkgdesc = Markov chain Monte Carlo for Python + pkgver = 2.3.3 + pkgrel = 1 + url = https://github.com/pymc-devs/pymc + arch = i686 + arch = x86_64 + license = MIT + makedepends = gcc-fortran + source = https://pypi.python.org/packages/source/p/pymc/pymc-2.3.3.tar.gz + md5sums = 99645bf558a41376be0e687ccf90a39f + +pkgname = python-pymc + depends = python-numpy + optdepends = python-scipy + optdepends = python-matplotlib + optdepends = python-pytables + optdepends = ipython + optdepends = pydot + optdepends = python-nose + diff --git a/python-pymc/.SRCINFO b/python-pymc/.SRCINFO new file mode 100644 index 0000000..44eac1d --- /dev/null +++ b/python-pymc/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = python-pymc + pkgdesc = Markov chain Monte Carlo for Python + pkgver = 2.3.8 + pkgrel = 1 + url = https://github.com/pymc-devs/pymc + arch = i686 + arch = x86_64 + license = MIT + makedepends = gcc-fortran + source = https://github.com/pymc-devs/pymc/archive/v2.3.8.tar.gz + sha256sums = 200a28469d574a370fa9b55cd92f112f8ad09f71674bdae514437039e953689b + +pkgname = python-pymc + depends = python-numpy + optdepends = python-scipy + optdepends = python-matplotlib + optdepends = python-pytables + optdepends = ipython + optdepends = pydot + optdepends = python-nose + diff --git a/python-pymc/PKGBUILD b/python-pymc/PKGBUILD new file mode 100644 index 0000000..23dfb80 --- /dev/null +++ b/python-pymc/PKGBUILD @@ -0,0 +1,33 @@ +# Contributor: xia0er +pkgname=python-pymc +pkgver=2.3.8 +pkgrel=1 +pkgdesc="Markov chain Monte Carlo for Python" +arch=('i686' 'x86_64') +url="https://github.com/pymc-devs/pymc" +license=('MIT') +source=("https://github.com/pymc-devs/pymc/archive/v${pkgver}.tar.gz") +makedepends=("gcc-fortran") +sha256sums=('200a28469d574a370fa9b55cd92f112f8ad09f71674bdae514437039e953689b') + +package_python2_pymc() { + depends=('python2-numpy') + optdepends=('python2-scipy' 'python2-matplotlib' 'python2-pytables' 'ipython2' 'pydot' 'python2-nose') + + cd $srcdir/pymc-$pkgver + export LDFLAGS="$LDFLAGS -shared" + python2 setup.py config_fc --fcompiler=gnu95 build + python2 setup.py install --prefix=/usr --root=$pkgdir || return 1 +} + +package() { + depends=('python-numpy') + optdepends=('python-scipy' 'python-matplotlib' 'python-pytables' 'ipython' 'pydot' 'python-nose') + + cd $srcdir/pymc-$pkgver + export LDFLAGS="$LDFLAGS -shared" + python setup.py config_fc --fcompiler=gnu95 build + python setup.py install --prefix=/usr --root=$pkgdir || return 1 +} + + -- cgit v1.2.3-70-g09d2