Date: Thursday, October 6, 2022 @ 08:45:21
Author: diabonas
Revision: 1321822
archrelease: copy trunk to community-any
Added:
python-matrix-nio/repos/community-any/PKGBUILD
(from rev 1321821, python-matrix-nio/trunk/PKGBUILD)
python-matrix-nio/repos/community-any/keys/
Deleted:
python-matrix-nio/repos/community-any/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-06 08:45:06 UTC (rev 1321821)
+++ PKGBUILD 2022-10-06 08:45:21 UTC (rev 1321822)
@@ -1,49 +0,0 @@
-# Maintainer: Jonas Witschel <[email protected]>
-pkgname=python-matrix-nio
-pkgver=0.19.0
-_tag=52109a160765f1a9e7f78be1aed8a282a83515f1 # git rev-parse "$pkgver"
-pkgrel=4
-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-future' 'python-h11'
- 'python-h2' 'python-jsonschema' 'python-logbook'
'python-pycryptodome' 'python-unpaddedbase64')
-makedepends=('git' 'python-build' 'python-installer' 'python-poetry-core')
-checkdepends=('python-aioresponses' 'python-atomicwrites' 'python-cachetools'
'python-faker' 'python-hpack'
- 'python-hyperframe' 'python-hypothesis' 'python-olm'
'python-peewee' 'python-pytest'
- 'python-pytest-aiohttp' 'python-pytest-benchmark')
-optdepends=('python-atomicwrites: end-to-end encryption support'
- 'python-cachetools: end-to-end encryption support'
- 'python-peewee: end-to-end encryption support'
- 'python-olm: end-to-end encryption support')
-source=("git+$url.git?signed#tag=$_tag")
-sha512sums=('SKIP')
-validpgpkeys=('689A3B5BC6560AB4C99A2A0581314DA807EF4E22') # Damir Jelić
(poljar) <[email protected]>
-
-pkgver() {
- cd "${pkgname#python-}"
- git describe | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
-}
-
-prepare() {
- cd "${pkgname#python-}"
- # Remove unnecessary dependency version pinning
- sed -i 's/= "^[0-9.]*"/= "*"/' pyproject.toml
-}
-
-build() {
- cd "${pkgname#python-}"
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd "${pkgname#python-}"
- python -m pytest
-}
-
-package() {
- cd "${pkgname#python-}"
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-matrix-nio/repos/community-any/PKGBUILD (from rev 1321821,
python-matrix-nio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-06 08:45:21 UTC (rev 1321822)
@@ -0,0 +1,49 @@
+# Maintainer: Jonas Witschel <[email protected]>
+pkgname=python-matrix-nio
+pkgver=0.20.0
+_tag=b2bde370d41ae9a2a20f185af3d4349dbf7c6fa0 # 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-future' 'python-h11'
+ 'python-h2' 'python-jsonschema' 'python-logbook'
'python-pycryptodome' 'python-unpaddedbase64')
+makedepends=('git' 'python-build' 'python-installer' 'python-poetry-core')
+checkdepends=('python-aioresponses' 'python-atomicwrites' 'python-cachetools'
'python-faker' 'python-hpack'
+ 'python-hyperframe' 'python-hypothesis' 'python-olm'
'python-peewee' 'python-pytest'
+ 'python-pytest-aiohttp' 'python-pytest-asyncio'
'python-pytest-benchmark' 'python-setuptools')
+optdepends=('python-atomicwrites: end-to-end encryption support'
+ 'python-cachetools: end-to-end encryption support'
+ 'python-peewee: end-to-end encryption support'
+ 'python-olm: end-to-end encryption support')
+source=("git+$url.git?signed#tag=$_tag")
+sha512sums=('SKIP')
+validpgpkeys=('689A3B5BC6560AB4C99A2A0581314DA807EF4E22') # Damir Jelić
(poljar) <[email protected]>
+
+pkgver() {
+ cd "${pkgname#python-}"
+ git describe | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd "${pkgname#python-}"
+ # Remove unnecessary dependency version pinning
+ sed -i 's/= "^[0-9.]*"/= "*"/' pyproject.toml
+}
+
+build() {
+ cd "${pkgname#python-}"
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "${pkgname#python-}"
+ python -m pytest
+}
+
+package() {
+ cd "${pkgname#python-}"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}