Date: Wednesday, March 3, 2021 @ 19:37:05 Author: diabonas Revision: 879350
archrelease: copy trunk to community-any Added: python-matrix-nio/repos/community-any/PKGBUILD (from rev 879349, python-matrix-nio/trunk/PKGBUILD) Deleted: python-matrix-nio/repos/community-any/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-03-03 19:36:59 UTC (rev 879349) +++ PKGBUILD 2021-03-03 19:37:05 UTC (rev 879350) @@ -1,44 +0,0 @@ -# Maintainer: Jonas Witschel <diabo...@archlinux.org> -pkgname=python-matrix-nio -pkgver=0.16.0 -_tag=098a78f2fe783c3e797e2fe928d4156a77c97431 # git rev-parse "$pkgver" -pkgrel=1 -pkgdesc='Python Matrix client library, designed according to sans I/O principles' -arch=('any') -url='https://github.com/poljar/matrix-nio' -license=('ISC') -depends=('python' 'python-aiofiles' 'python-aiohttp' 'python-atomicwrites' 'python-cachetools' - 'python-future' 'python-h11' 'python-h2' 'python-jsonschema' 'python-logbook' 'python-olm' - 'python-peewee' 'python-pycryptodome' 'python-unpaddedbase64') -makedepends=('git' 'python-dephell') -checkdepends=('python-aioresponses' 'python-faker' 'python-hpack' 'python-hyperframe' 'python-hypothesis' - 'python-pytest' 'python-pytest-aiohttp' 'python-pytest-benchmark') -source=("git+$url.git?signed#tag=$_tag") -sha512sums=('SKIP') -validpgpkeys=('689A3B5BC6560AB4C99A2A0581314DA807EF4E22') # Damir Jelić (poljar) <pol...@termina.org.uk> - -pkgver() { - cd "${pkgname#python-}" - git describe | sed 's/\([^-]*-\)g/r\1/;s/-/./g' -} - -prepare() { - cd "${pkgname#python-}" - dephell deps convert --from pyproject.toml --to setup.py -} - -build() { - cd "${pkgname#python-}" - python setup.py build -} - -check() { - cd "${pkgname#python-}" - python -m pytest -} - -package() { - cd "${pkgname#python-}" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: python-matrix-nio/repos/community-any/PKGBUILD (from rev 879349, python-matrix-nio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-03-03 19:37:05 UTC (rev 879350) @@ -0,0 +1,44 @@ +# Maintainer: Jonas Witschel <diabo...@archlinux.org> +pkgname=python-matrix-nio +pkgver=0.17.0 +_tag=3c25f98d3ff350160de56c33ed69460f9ecd224f # git rev-parse "$pkgver" +pkgrel=1 +pkgdesc='Python Matrix client library, designed according to sans I/O principles' +arch=('any') +url='https://github.com/poljar/matrix-nio' +license=('ISC') +depends=('python' 'python-aiofiles' 'python-aiohttp' 'python-aiohttp-socks' 'python-atomicwrites' + 'python-cachetools' 'python-future' 'python-h11' 'python-h2' 'python-jsonschema' 'python-logbook' + 'python-olm' 'python-peewee' 'python-pycryptodome' 'python-unpaddedbase64') +makedepends=('git' 'python-dephell' 'python-setuptools') +checkdepends=('python-aioresponses' 'python-faker' 'python-hpack' 'python-hyperframe' 'python-hypothesis' + 'python-pytest' 'python-pytest-aiohttp' 'python-pytest-benchmark') +source=("git+$url.git?signed#tag=$_tag") +sha512sums=('SKIP') +validpgpkeys=('689A3B5BC6560AB4C99A2A0581314DA807EF4E22') # Damir Jelić (poljar) <pol...@termina.org.uk> + +pkgver() { + cd "${pkgname#python-}" + git describe | sed 's/\([^-]*-\)g/r\1/;s/-/./g' +} + +prepare() { + cd "${pkgname#python-}" + dephell deps convert --from pyproject.toml --to setup.py +} + +build() { + cd "${pkgname#python-}" + python setup.py build +} + +check() { + cd "${pkgname#python-}" + python -m pytest +} + +package() { + cd "${pkgname#python-}" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}