blob: 5271b7fe1db1d7a765b2c153bdc56c6e9b495819 (
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
|
# Maintainer: Popolon <popolon@popolon.org>
pkgbase='python-inkex'
pkgname=('python-inkex')
_module='inkex'
pkgver='1.3.0'
pkgrel=2
pkgdesc="Python extensions for Inkscape core, separated out from main repository."
url="https://gitlab.com/inkscape/extensions"
depends=('python')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'python-poetry')
license=('GPL2')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module/-/_}-$pkgver.tar.gz")
sha256sums=('7f41aba0cc2ad1f205c8f231a11bb2d881874bb7ec186d79b53200a07f459928')
build() {
cd "${srcdir}/${_module}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
depends+=()
cd "${srcdir}/${_module}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|