diff options
author | Christoph Fink | 2020-04-28 19:44:43 +0300 |
---|---|---|
committer | Christoph Fink | 2020-04-28 19:44:43 +0300 |
commit | 940f20f4afbc87cbb6ad1abebbbc279125744ed3 (patch) | |
tree | 5f99df29b33a71b89580a1ba4c80a67282fff3d5 | |
parent | be93218d805f016194354a857a8a3b6521e914df (diff) | |
download | aur-940f20f4afbc87cbb6ad1abebbbc279125744ed3.tar.gz |
v0.9.2-0
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 11 insertions, 9 deletions
@@ -1,9 +1,9 @@ pkgbase = python-fasttext pkgdesc = Library for fast text representation and classification – Python bindings - pkgver = 0.9.1 + pkgver = 0.9.2 pkgrel = 0 url = https://github.com/facebookresearch/fastText - arch = any + arch = x86_64 license = BSD makedepends = python-setuptools makedepends = python2-setuptools @@ -14,8 +14,8 @@ pkgbase = python-fasttext depends = python-pytorch provides = python-fasttext conflicts = python-fasttext - source = https://github.com/facebookresearch/fastText/archive/v0.9.1.tar.gz - sha256sums = 254ace2fc8dc3bea0fc6ad4897a221eb85c1e9adfa61d130b43398193ca1f061 + source = python-fasttext-0.9.2.tar.gz::https://github.com/facebookresearch/fastText/archive/v0.9.2.tar.gz + sha256sums = 7ea4edcdb64bfc6faaaec193ef181bdc108ee62bb6a04e48b2e80b639a99e27e pkgname = python-fasttext @@ -1,4 +1,4 @@ -# Maintainer: peippo <christoph.fink@gmail.com> +# Maintainer: peippo <christoph+aur@christophfink.com> pkgname='python-fasttext' pkgdesc="Library for fast text representation and classification – Python bindings" @@ -7,17 +7,17 @@ url="https://github.com/facebookresearch/fastText" provides=('python-fasttext') conflicts=('python-fasttext') -pkgver=0.9.1 +pkgver=0.9.2 pkgrel=0 -arch=('any') +arch=('x86_64') license=('BSD') makedepends=('python-setuptools' 'python2-setuptools') depends=('pybind11' 'python-future' 'python-numpy' 'python-scipy' 'python-pytorch') -source=("https://github.com/facebookresearch/fastText/archive/v${pkgver}.tar.gz") -sha256sums=("254ace2fc8dc3bea0fc6ad4897a221eb85c1e9adfa61d130b43398193ca1f061") +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/facebookresearch/fastText/archive/v${pkgver}.tar.gz") +sha256sums=("7ea4edcdb64bfc6faaaec193ef181bdc108ee62bb6a04e48b2e80b639a99e27e") build() { cd "${srcdir}/fastText-${pkgver}" @@ -27,4 +27,6 @@ build() { package() { cd "${srcdir}/fastText-${pkgver}" python setup.py install --root=${pkgdir} --optimize=1 + + install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |