summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 18f8f08cdc325865b1a13eaeca7a0753d4d36bf5 (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
#Maintainer: jnanar <info@agayon.be>
# Contributor: wido <widowild [at] myopera [dot] com>
# Contributor: Skippy the Kangoo <Skippythekangoo CHEZ yahoo POINT fr>
# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

pkgname='libervia-backend-hg'
_realname='libervia-backend'
pkgver=0.8.0.rev501.g07439bc0ed3c
pkgrel=1
url="http://salut-a-toi.org/"
pkgdesc="Libervia, multi-frontends multi-purposes XMPP client (core)"
arch=('any')
conflicts=('sat-xmpp-hg')
provides=('libervia-backend')
depends=('python' 'dbus' 'python-lxml' 'python-pillow' 'python-pyopenssl' 'python-dbus' 'python-twisted' 'python-wokkel' 'python-pyxdg' 'python-mutagen' 'python-markdown' 'python-shortuuid' 'python-html2text' 'python-netifaces' 'sat-tmp-hg' 'python-dateutil'  'python-gobject' 'python-babel' 'python-urwid' 'python-urwid-satext' 'python-treq' 'python-miniupnpc' 'python-miniupnpc' 'python-omemo' 'python-yaml' 'python-progressbar' 'python-pycryptodome' 'python-omemo-backend-signal' 'python-sqlalchemy' 'python-alembic' 'python-txdbus' 'python-aiosqlite' 'python-jinja' 'python-pygments' 'python-cairosvg' 'python-xmlschema' 'python-hatchling')
makedepends=('python-setuptools' 'mercurial' 'python-setuptools-scm')
license=('AGPL3')
source=("hg+https://repos.goffi.org/libervia-backend")
md5sums=('SKIP')
options=('!strip')

pkgver() {
    cd "$_realname"
    hg log -r . --template '{latesttag}.rev{latesttagdistance}.g{node|short}\n' | sed 's/^v//;s/_/./g'
}


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

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