Date: Thursday, April 6, 2023 @ 13:15:14
Author: felixonmars
Revision: 1438818
archrelease: copy trunk to community-staging-any
Added:
python-aiorpcx/repos/community-staging-any/
python-aiorpcx/repos/community-staging-any/PKGBUILD
(from rev 1438817, python-aiorpcx/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python-aiorpcx/repos/community-staging-any/PKGBUILD (from rev 1438817,
python-aiorpcx/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 13:15:14 UTC (rev 1438818)
@@ -0,0 +1,26 @@
+# Maintainer : Santiago Torres-Arias <[email protected]>
+# Contributor: smmalis37
+
+pkgname='python-aiorpcx'
+pkgver=0.22.1
+pkgrel=2
+pkgdesc="A generic asyncio library implementation of RPC suitable for an
application that is a client, server or both."
+url="https://github.com/kyuupichan/aiorpcX/"
+arch=('any')
+license=('MIT')
+depends=('python>=3.6' 'python-attrs')
+makedepends=('python-setuptools' 'python-websockets')
+source=("https://github.com/kyuupichan/aiorpcX/archive/${pkgver}.tar.gz")
+sha256sums=('f72034c4854daf32d83c06ca940d39336908d55ad6a2fe17c039124d51b89430')
+
+
+build() {
+ cd "${srcdir}/aiorpcX-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/aiorpcX-${pkgver}"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ install -D -m644 LICENCE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}