[arch-commits] Commit in python-uvloop/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:22:02 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:22:01
Author: felixonmars
Revision: 1058119
archrelease: copy trunk to community-staging-x86_64
Added:
python-uvloop/repos/community-staging-x86_64/
python-uvloop/repos/community-staging-x86_64/PKGBUILD
(from rev 1058116, python-uvloop/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-uvloop/repos/community-staging-x86_64/PKGBUILD (from rev 1058116, python-uvloop/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-11-30 20:22:01 UTC (rev 1058119)
@@ -0,0 +1,32 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+_pkgname=uvloop
+pkgname=python-$_pkgname
+pkgver=0.16.0
+pkgrel=2
+pkgdesc='Ultra fast asyncio event loop'
+arch=('x86_64')
+url='https://github.com/MagicStack/uvloop'
+license=('Apache' 'MIT')
+depends=('python' 'libuv')
+makedepends=('python-setuptools' 'cython')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('1896d9a60a9c4e4b8d146ad858e664f3e43969ad0c14026fe79c69f546e40bf1dc6a4cce2d388a7a6e0f5b8306b1eb4da3f713cce44c58ba6628b82ac6eaf271')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python setup.py build build_ext --use-system-libuv
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm 644 LICENSE-APACHE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-APACHE
+ install -Dm 644 LICENSE-MIT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-MIT
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list