blob: bcb0cdd011123ff9f2371a86d8982579946ce509 (
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
|
# Maintainer: taotieren <admin@taotieren.com>
pkgname=python-hierplace
_name=${pkgname#python-}
pkgver=1.1.0
pkgrel=0
epoch=
pkgdesc="This PCBNEW plugin arranges the parts into groups that reflect the hierarchy in the design."
arch=('any')
url="https://pypi.org/project/hierplace"
license=(MIT)
groups=()
provides=(${_name})
conflicts=(${_name})
depends=(
python)
makedepends=(python-build
python-installer
python-wheel
python-setuptools)
options=('!strip')
source=("${_name}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
noextract=()
sha256sums=('1386717bb9e6759d9b319013d6edd0f568b717f834e29d9d804ab5cc4c0d0ad0')
build() {
cd "${srcdir}/${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|