[arch-commits] Commit in python-aiofiles/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 11:37:39 UTC 2021


    Date: Wednesday, December 1, 2021 @ 11:37:39
  Author: felixonmars
Revision: 1059231

archrelease: copy trunk to community-staging-any

Added:
  python-aiofiles/repos/community-staging-any/
  python-aiofiles/repos/community-staging-any/PKGBUILD
    (from rev 1059230, python-aiofiles/trunk/PKGBUILD)

----------+
 PKGBUILD |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

Copied: python-aiofiles/repos/community-staging-any/PKGBUILD (from rev 1059230, python-aiofiles/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 11:37:39 UTC (rev 1059231)
@@ -0,0 +1,47 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: cclin <cclinet at outlook.com>
+
+pkgname=python-aiofiles
+pkgver=0.7.0
+pkgrel=2
+pkgdesc='File support for asyncio'
+arch=(any)
+license=(APACHE)
+url=https://github.com/Tinche/aiofiles
+makedepends=(
+  git
+  python-pip
+  python-poetry
+)
+checkdepends=(
+  python-coverage
+  python-pytest-asyncio
+  python-pytest
+  python-pytest-cov
+  python-tox
+)
+_tag=469c1a8b94ccccf25516706c88dde2e69ea45f3c
+source=(git+https://github.com/Tinche/aiofiles.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd aiofiles
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd aiofiles
+  poetry build --format wheel
+}
+
+check() {
+  cd aiofiles
+  tox -e py310
+}
+
+package() {
+  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps aiofiles/dist/*.whl
+  install -Dm 644 aiofiles/LICENSE -t "${pkgdir}"/usr/share/licenses/python-aiofiles/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list