[arch-commits] Commit in python-matrix-common/repos (2 files)

Alexander Epaneshnikov alex19ep at gemini.archlinux.org
Wed Jan 19 11:53:58 UTC 2022


    Date: Wednesday, January 19, 2022 @ 11:53:58
  Author: alex19ep
Revision: 1110482

archrelease: copy trunk to community-any

Added:
  python-matrix-common/repos/community-any/
  python-matrix-common/repos/community-any/PKGBUILD
    (from rev 1110481, python-matrix-common/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: python-matrix-common/repos/community-any/PKGBUILD (from rev 1110481, python-matrix-common/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2022-01-19 11:53:58 UTC (rev 1110482)
@@ -0,0 +1,34 @@
+# Maintainer: Alexander Epaneshnikov <alex19ep at archlinux.org>
+
+pkgname=python-matrix-common
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Common code for Synapse, Sydent and Sygnal"
+arch=(any)
+url="https://github.com/matrix-org/matrix-python-common"
+license=('Apache')
+makedepends=('python-setuptools' "python-dephell")
+checkdepends=('python-twisted' 'python-service-identity' 'python-aiounittest')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/matrix-org/matrix-python-common/archive/refs/tags/v$pkgver.tar.gz")
+sha512sums=('0050243ce3930962934f94fe1c990dc97ce803e79998ee7e6c7dafdf5ca4736c8c06fd4f52223b81f2ceb91a8bcf70f6488559f7935a9bd087c33a11430af8cd')
+b2sums=('04a9ccbd6d66bffdc21dec013e839783abb89c8565de9d2b5957c2620aa7357756519f0d0d0ae05c8ada4e50b63488188f50b44308c1ea6fc3e55c03882e8610')
+
+prepare() {
+	cd "matrix-python-common-$pkgver"
+	dephell deps convert --from pyproject.toml --to setup.py
+}
+
+build() {
+	cd "matrix-python-common-$pkgver"
+	python setup.py build
+}
+
+check() {
+	cd "matrix-python-common-$pkgver"
+	PYTHONPATH="$PWD" trial tests
+}
+
+package() {
+	cd "matrix-python-common-$pkgver"
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list