summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 09bad32a9ba411430a5e89008a110db3d0f53768 (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: Yousef El-Darsh <yousef.eldarsh@gmail.com>

pkgname=python-fabric-git
reponame=fabric
pkgver=0.0.1
pkgrel=1
pkgdesc="next-gen framework for building desktop widgets using python"
arch=(any)
url="https://github.com/Fabric-Development/fabric"
license=("AGPL-3.0-or-later")
groups=()
depends=(
    gtk3
    cairo
    gtk-layer-shell
    libgirepository
    gobject-introspection
    gobject-introspection-runtime
    webkit2gtk-4.1
    libdbusmenu-gtk3
    python
    python-pip
    python-gobject
    python-cairo
    python-loguru
    python-click
    pkgconf
)
makedepends=(
    python-setuptools
    git
)
optdepends=(
    "python-psutil: for system stats, this package is a dependency of the bar example file"
)
provides=(
    python-fabric
)
conflicts=(
    python-fabric
)

source=(git+https://github.com/Fabric-Development/$reponame.git)
sha256sums=("SKIP")

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

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