summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d0c12fc7a0bbba20ca678360caf2e354eb9bfe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Python package author: tommyod <tommy.odland@gmail.com>
pkgname=python-efficient_apriori
_name=${pkgname#python-}
pkgver=2.0.1
pkgrel=1
pkgdesc="An efficient Python implementation of the Apriori algorithm."
arch=(any)
url="https://github.com/tommyod/Efficient-Apriori"
license=(MIT)
makedepends=('python-build' 'python-installer' 'python-wheel')
depends=('python>=3.6')
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
build() {
    cd "$_name-$pkgver"
    python -m build --wheel --no-isolation
}

package() {
    cd "$_name-$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
}
sha256sums=('ab0ec6df70c0386d378dc80494393b1403c44f89b5115091cdbb89c066ad1616')