Date: Monday, October 24, 2022 @ 08:36:22
Author: alucryd
Revision: 1334520
archrelease: copy trunk to community-any
Added:
python-aiofiles/repos/community-any/PKGBUILD
(from rev 1334519, python-aiofiles/trunk/PKGBUILD)
Deleted:
python-aiofiles/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 51 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-24 08:36:12 UTC (rev 1334519)
+++ PKGBUILD 2022-10-24 08:36:22 UTC (rev 1334520)
@@ -1,49 +0,0 @@
-# Maintainer: Maxime Gauduin <[email protected]>
-# Contributor: cclin <[email protected]>
-
-pkgname=python-aiofiles
-pkgver=22.1.0
-pkgrel=1
-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-setuptools
- python-tox
-)
-_tag=9d697f5857b5e49bad485212d9d81917ce65b607
-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
- SETUPTOOLS_USE_DISTUTILS=stdlib \
- 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:
Copied: python-aiofiles/repos/community-any/PKGBUILD (from rev 1334519,
python-aiofiles/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-24 08:36:22 UTC (rev 1334520)
@@ -0,0 +1,51 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: cclin <[email protected]>
+
+pkgname=python-aiofiles
+pkgver=22.1.0
+pkgrel=2
+pkgdesc='File support for asyncio'
+arch=(any)
+license=(APACHE)
+url=https://github.com/Tinche/aiofiles
+depends=(python)
+makedepends=(
+ git
+ python-build
+ python-installer
+ python-poetry-core
+)
+checkdepends=(
+ python-coverage
+ python-poetry
+ python-pytest-asyncio
+ python-pytest
+ python-pytest-cov
+ python-setuptools
+ python-tox
+)
+_tag=9d697f5857b5e49bad485212d9d81917ce65b607
+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 -m build --wheel --no-isolation
+}
+
+check() {
+ cd aiofiles
+ SETUPTOOLS_USE_DISTUTILS=stdlib tox -e py310
+}
+
+package() {
+ python -m installer --destdir="${pkgdir}" aiofiles/dist/*.whl
+ install -Dm 644 aiofiles/LICENSE -t
"${pkgdir}"/usr/share/licenses/python-aiofiles/
+}
+
+# vim: ts=2 sw=2 et: