summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d71240ee486abf4d19cfedc211abe0137868e4ec (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: harrietobrien <harrietobrien@protonmail.com>
# Contributor: acxz <akashpatel2008 at yahoo dot com>

pkgname=python-torch-geometric
pkgver=2.7.0
pkgrel=1
_pkgname=pytorch_geometric
pkgdesc='Graph Neural Network Library for PyTorch'
arch=('x86_64')
url='https://pyg.org'
license=('MIT')
depends=('python' 'python-tqdm' 'python-numpy' 'python-fsspec'
         'python-jinja' 'python-aiohttp' 'python-requests' 'python-pyparsing'
         'python-psutil' 'python-xxhash')
makedepends=('python' 'python-build' 'python-installer' 'python-wheel'
             'python-setuptools' 'python-flit-core')
optdepends=('python-yacs' 'python-hydra-core' 'python-protobuf'
            'python-torch-sparse' 'python-torch-scatter'
            'python-pytorch-lightning' 'python-huggingface-hub' 'python-ase'
            'python-h5py' 'python-numba' 'python-sympy' 'python-pandas'
            'python-captum' 'python-rdflib' 'python-trimesh' 'python-networkx'
            'python-graphviz' 'python-tabulate' 'python-matplotlib'
            'python-pynndescent' 'python-torchmetrics' 'python-scikit-image'
            'python-pytorch-memlab' 'python-pgmpy' 'python-opt_einsum'
            'python-statsmodels' 'python-rdkit' 'python-torch-cluster'
            'python-torch-spline-cov')
source=("$pkgname-$pkgver.tar.gz::https://github.com/pyg-team/pytorch_geometric/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('e3ccd0747009a30713787fc2f9098fc497c1a19fea0efac0387a2301f9e3c510')

build() {
  cd "${srcdir}/${_pkgname}-${pkgver}"
  python -m build --wheel --no-isolation
}

package() {
  cd "${srcdir}/${_pkgname}-${pkgver}"
  python -m installer --destdir="$pkgdir" dist/*.whl
}