summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c4125cbb8daf6d272e22b4b5a7a9da9e73e36c27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Bipin Kumar <kbipinkumar@pm.me>

pkgname=nanomath
_module=nanomath
pkgver=1.3.0
pkgrel=2
pkgdesc="simple math function for other Oxford Nanopore processing scripts"
url="https://github.com/wdecoster/nanomath/"
depends=(
         'python'
         'python-pandas'
         'python-numpy'
         'python-deprecated'
        )

makedepends=(
             'python-setuptools'
             'python-wheel'
             'python-build'
             'cython'
             'python-installer'
            )
license=('GPL3')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('c35a024b10b34dd8f539cefed1fd69e0a46d18037ca48bed63c7941c67ae028e')

build() {
  cd ${pkgname}-${pkgver}
  python -m build --wheel --no-isolation
}

package() {
  cd ${pkgname}-${pkgver}
  python -m installer --destdir="$pkgdir" dist/*.whl
  rm ${pkgdir}/usr/LICENSE
}