[arch-commits] Commit in python-trio-asyncio/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 16:13:10 UTC 2021
Date: Wednesday, December 1, 2021 @ 16:13:10
Author: felixonmars
Revision: 1060601
archrelease: copy trunk to community-staging-any
Added:
python-trio-asyncio/repos/community-staging-any/
python-trio-asyncio/repos/community-staging-any/PKGBUILD
(from rev 1060600, python-trio-asyncio/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: python-trio-asyncio/repos/community-staging-any/PKGBUILD (from rev 1060600, python-trio-asyncio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 16:13:10 UTC (rev 1060601)
@@ -0,0 +1,49 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-trio-asyncio
+pkgver=0.12.0
+pkgrel=2
+pkgdesc='A re-implementation of the asyncio mainloop on top of Trio'
+arch=(any)
+url=https://github.com/python-trio/trio-asyncio
+license=(
+ APACHE
+ MIT
+)
+depends=(
+ python
+ python-async_generator
+ python-outcome
+ python-trio
+)
+makedepends=(
+ git
+ python-setuptools
+ python-pytest-runner
+)
+_tag=970d81c498f857d052738a2c4db2c899910dc038
+source=(git+https://github.com/python-trio/trio-asyncio.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd trio-asyncio
+
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd trio-asyncio
+
+ python setup.py build
+}
+
+package() {
+ cd trio-asyncio
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ rm -rf ${pkgdir}/usr/lib/python3.10/site-packages/tests
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-trio-asyncio/
+ install -Dm 644 LICENSE.MIT -t "${pkgdir}"/usr/share/licenses/python-trio-asyncio/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list