blob: 242a446931de93c1197c18700b6a4490d700c80d (
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
38
|
# Maintainer:
# Contributor: a821
# Contributor: xantares
# Contributor: dalraf
pkgname=python-orange
pkgver=3.35.0
pkgrel=1
pkgdesc="Open source machine learning and data visualization"
arch=('x86_64')
url="https://orangedatamining.com/"
license=('GPL3')
makedepends=('python-setuptools' 'cython')
depends=('python-chardet' 'python-pyqtgraph' 'python-xlrd' 'python-matplotlib'
'python-scikit-learn' 'python-joblib' 'python-keyrings-alt' 'python-bottleneck'
'python-pip' 'python-xlsxwriter' 'python-networkx' 'python-requests' 'python-pandas'
'python-openpyxl' 'python-httpx' 'python-numpy' 'python-scipy' 'python-yaml'
'python-pygments' 'python-qtconsole' 'python-pyqt5-webengine'
'python-httpx'
# AUR deps
'python-anyqt' 'python-serverfiles' 'python-louvain' 'python-opentsne'
'python-orange-widget-base' 'python-orange-canvas-core' 'python-baycomp')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/biolab/orange3/archive/refs/tags/${pkgver}.tar.gz")
optdepends=('python-psycopg2: PostgreSQL database support'
'python-pymssql: Microsoft SQL Server support')
sha256sums=('7c323b5230d7e546487b30adfc00038c440ff81d74cceb50b5277be78f30144c')
build() {
cd "${srcdir}/orange3-$pkgver"
python setup.py build
}
package() {
cd "${srcdir}/orange3-$pkgver"
python setup.py install --root="${pkgdir}" --optimize=1
install -Dm644 distribute/orange-canvas.desktop "${pkgdir}"/usr/share/applications/orange-canvas.desktop
install -Dm644 distribute/icon-256.png "${pkgdir}"/usr/share/icons/hicolor/256x256/apps/orange-canvas.png
}
|