[arch-commits] Commit in python-aiofiles/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:57:19 UTC 2020
Date: Monday, November 9, 2020 @ 15:57:18
Author: felixonmars
Revision: 747260
archrelease: copy trunk to community-staging-any
Added:
python-aiofiles/repos/community-staging-any/
python-aiofiles/repos/community-staging-any/PKGBUILD
(from rev 747257, python-aiofiles/trunk/PKGBUILD)
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Copied: python-aiofiles/repos/community-staging-any/PKGBUILD (from rev 747257, python-aiofiles/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:57:18 UTC (rev 747260)
@@ -0,0 +1,51 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: cclin <cclinet at outlook.com>
+
+pkgname=python-aiofiles
+pkgver=0.6.0
+pkgrel=2
+pkgdesc='File support for asyncio'
+arch=(any)
+license=(APACHE)
+url=https://github.com/Tinche/aiofiles
+makedepends=(
+ git
+ python-setuptools
+)
+checkdepends=(
+ python-coverage
+ python-pytest-asyncio
+ python-pytest
+ python-pytest-cov
+ python-tox
+)
+_tag=b4482aeef5312d4bf0c1abda5892df80957fa01f
+source=(git+https://github.com/Tinche/aiofiles.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd aiofiles
+
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd aiofiles
+
+ python setup.py build
+}
+
+check() {
+ cd aiofiles
+
+ tox -e py39
+}
+
+package() {
+ cd aiofiles
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm 644 LICENSE "${pkgdir}"/usr/share/licenses/python-aiofiles
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list