summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e241e4cefb9dffaabcbff81f31ea6f4d31b78643 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Maintainer: taotieren <admin@taotieren.com>

pkgbase=yoctools
pkgname=python-yoctools
pkgver=2.0.96
pkgrel=1
epoch=
pkgdesc="(Yun on Chip) 以极简开发为理念,以 CPU 架构、芯片平台、操作系统、云服务和开发套件为基础,助力开发者从芯片到云的全链路高效设计,是面向 IoT 领域的全栈技术平台"
# arch=('any')
arch=('x86_64')
url="https://pypi.org/project/yoctools/"
license=('BSD-2-Clause')
groups=()
depends=(
    sh
    scons
    'python'
    #     python-configupdater
    python-gitdb
    python-gitpython
    #     python-httplib2
    python-smmap
    python-ruamel-yaml
    #     python-threadpoolctl
    python-xlsxwriter
    #     python-urllib3
)
makedepends=(python-build
    python-installer
    python-setuptools
    python-wheel)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=(!debug)
install=
changelog=
source=("${pkgbase}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${pkgbase::1}/$pkgbase/$pkgbase-$pkgver.tar.gz")
noextract=()
sha256sums=('2e1ff9ec37d264b1d500c36e8abd48c2153a078c5f1b9421ba4655307d434288')
#validpgpkeys=()

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

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