[arch-commits] Commit in (4 files)

Maxime Gauduin alucryd at archlinux.org
Thu May 23 14:37:36 UTC 2019


    Date: Thursday, May 23, 2019 @ 14:37:35
  Author: alucryd
Revision: 469406

add python-aiofiles

Added:
  python-aiofiles/
  python-aiofiles/trunk/
  python-aiofiles/trunk/PKGBUILD
Modified:
  hypercorn/trunk/PKGBUILD

--------------------------------+
 hypercorn/trunk/PKGBUILD       |    2 -
 python-aiofiles/trunk/PKGBUILD |   44 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 1 deletion(-)

Modified: hypercorn/trunk/PKGBUILD
===================================================================
--- hypercorn/trunk/PKGBUILD	2019-05-23 14:33:45 UTC (rev 469405)
+++ hypercorn/trunk/PKGBUILD	2019-05-23 14:37:35 UTC (rev 469406)
@@ -46,4 +46,4 @@
   install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/hypercorn/
 }
 
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:

Added: python-aiofiles/trunk/PKGBUILD
===================================================================
--- python-aiofiles/trunk/PKGBUILD	                        (rev 0)
+++ python-aiofiles/trunk/PKGBUILD	2019-05-23 14:37:35 UTC (rev 469406)
@@ -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