Date: Wednesday, July 14, 2021 @ 18:35:53 Author: diabonas Revision: 977077
archrelease: copy trunk to community-any Added: python-matrix-nio/repos/community-any/PKGBUILD (from rev 977076, 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-07-14 18:35:47 UTC (rev 977076) +++ PKGBUILD 2021-07-14 18:35:53 UTC (rev 977077) @@ -1,44 +0,0 @@ -# Maintainer: Jonas Witschel <diabo...@archlinux.org> -pkgname=python-matrix-nio -pkgver=0.18.3 -_tag=ccf1edefdc43b7f1ef5ca99b0a9a2ed696da35e3 # 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" -} Copied: python-matrix-nio/repos/community-any/PKGBUILD (from rev 977076, python-matrix-nio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-14 18:35:53 UTC (rev 977077) @@ -0,0 +1,44 @@ +# Maintainer: Jonas Witschel <diabo...@archlinux.org> +pkgname=python-matrix-nio +pkgver=0.18.4 +_tag=28e1af7a99314330e8ae8343a39244311f9d6581 # 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" +}