diff options
-rw-r--r-- | pcr/python-gensim/PKGBUILD | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/pcr/python-gensim/PKGBUILD b/pcr/python-gensim/PKGBUILD index f0ab07dc0..8aa231329 100644 --- a/pcr/python-gensim/PKGBUILD +++ b/pcr/python-gensim/PKGBUILD @@ -1,34 +1,34 @@ -# Contributor (Arch) : Maarten van Gompel <proycon at anaproy dot nl> -# Contributor (Arch) : Lex Black <autumn-wind at web dot de> -# Contributor (Arch) : Dieter_be -# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> +# Maintainer (Arch): Maarten van Gompel <proycon at anaproy dot nl> +# Contributor (Arch): Lex Black <autumn-wind at web dot de> +# Contributor (Arch): Dieter_be +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> _pkgbase=gensim pkgbase=python-gensim pkgname=('python-gensim' 'python2-gensim') -pkgver=0.10.3 +pkgver=0.11.1_1 pkgrel=1 pkgdesc="Python framework for fast Vector Space Modelling" arch=('i686' 'x86_64') url="http://nlp.fi.muni.cz/projekty/gensim/" license=('LGPL') makedepends=('python-setuptools' 'python2-setuptools' 'python-scipy' 'python2-scipy' 'cython' 'cython2') -source=("http://pypi.python.org/packages/source/g/$_pkgbase/$_pkgbase-${pkgver}.tar.gz") -md5sums=('0a9c0986d9b6c1d3f88135afa3da2230') +source=("http://pypi.python.org/packages/source/g/$_pkgbase/$_pkgbase-${pkgver//_/-}.tar.gz") +md5sums=('375c19503d92868b22b150062558cf31') prepare() { - cp -r $_pkgbase-$pkgver $_pkgbase-$pkgver-py2 + cp -r $_pkgbase-${pkgver//_/-} $_pkgbase-${pkgver//_/-}-py2 } build() { unset LDFLAGS unset FFLAGS - cd ${srcdir}/$_pkgbase-${pkgver} + cd ${srcdir}/$_pkgbase-${pkgver//_/-} python setup.py build - cd ${srcdir}/$_pkgbase-${pkgver}-py2 + cd ${srcdir}/$_pkgbase-${pkgver//_/-}-py2 python2 setup.py build } @@ -40,7 +40,7 @@ package_python-gensim() { pkgdesc+=" (Python3.x)" depends=(python-scipy) - cd ${srcdir}/$_pkgbase-${pkgver} + cd ${srcdir}/$_pkgbase-${pkgver//_/-} python setup.py install --prefix=/usr --root=${pkgdir} } @@ -48,6 +48,6 @@ package_python2-gensim() { pkgdesc+=" (Python2.x)" depends=(python2-scipy) - cd ${srcdir}/$_pkgbase-${pkgver}-py2 + cd ${srcdir}/$_pkgbase-${pkgver//_/-}-py2 python2 setup.py install --prefix=/usr --root=${pkgdir} } |