summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dea2d37d96ae9bdf4dd5eec976ec867af9de97d4 (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
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
# Contributor: Benjamin Chretien <chretien at lirmm dot fr>
# Contributor: zarra <zarraxx@gmail.com>
pkgname=py++
pkgver=1.8.4
pkgrel=2
pkgdesc="Py++ - Boost.Python code generator"
arch=('i686' 'x86_64')
url="https://pyplusplus.readthedocs.io/en/latest/"
license=('Boost Software License')
depends=('python' 'python-pygccxml' 'castxml')
makedepends=('python' 'python-build' 'python-installer' 'python-wheel'
             'python-setuptools')
source=("https://github.com/ompl/pyplusplus/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('10379d3b2c78612d9097a6533b4da5ad91f91377022bb6f6052549579b4991ee')

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

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