[arch-commits] Commit in python-aiofiles (3 files)
Maxime Gauduin
alucryd at archlinux.org
Thu May 23 14:37:49 UTC 2019
Date: Thursday, May 23, 2019 @ 14:37:49
Author: alucryd
Revision: 469407
archrelease: copy trunk to community-any
Added:
python-aiofiles/repos/
python-aiofiles/repos/community-any/
python-aiofiles/repos/community-any/PKGBUILD
(from rev 469406, python-aiofiles/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: python-aiofiles/repos/community-any/PKGBUILD (from rev 469406, python-aiofiles/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2019-05-23 14:37:49 UTC (rev 469407)
@@ -0,0 +1,44 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: cclin <cclinet at outlook.com>
+
+pkgname=python-aiofiles
+pkgver=0.4.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
+)
+source=(git+https://github.com/Tinche/aiofiles.git#tag=v${pkgver})
+sha256sums=(SKIP)
+
+build() {
+ cd aiofiles
+
+ python setup.py build
+}
+
+check() {
+ cd aiofiles
+
+ tox -e py37
+}
+
+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