#Maintainer: jnanar # Contributor: wido # Contributor: Skippy the Kangoo # Contributor: Emmanuel Gil Peyrot 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 }