[arch-commits] Commit in python-aiofiles/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 15:23:17 UTC 2019
Date: Friday, October 25, 2019 @ 15:23:17
Author: foutrelis
Revision: 519007
archrelease: copy trunk to community-staging-any
Added:
python-aiofiles/repos/community-staging-any/
python-aiofiles/repos/community-staging-any/PKGBUILD
(from rev 519005, python-aiofiles/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: python-aiofiles/repos/community-staging-any/PKGBUILD (from rev 519005, python-aiofiles/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:23:17 UTC (rev 519007)
@@ -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=3
+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