[arch-commits] Commit in python-aiofiles/repos/community-any (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Tue May 18 08:49:07 UTC 2021
Date: Tuesday, May 18, 2021 @ 08:49:06
Author: alucryd
Revision: 936238
archrelease: copy trunk to community-any
Added:
python-aiofiles/repos/community-any/PKGBUILD
(from rev 936237, python-aiofiles/trunk/PKGBUILD)
Deleted:
python-aiofiles/repos/community-any/PKGBUILD
----------+
PKGBUILD | 98 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 47 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-18 08:49:01 UTC (rev 936237)
+++ PKGBUILD 2021-05-18 08:49:06 UTC (rev 936238)
@@ -1,51 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: cclin <cclinet at outlook.com>
-
-pkgname=python-aiofiles
-pkgver=0.6.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
-)
-_tag=b4482aeef5312d4bf0c1abda5892df80957fa01f
-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 setup.py build
-}
-
-check() {
- cd aiofiles
-
- tox -e py39
-}
-
-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:
Copied: python-aiofiles/repos/community-any/PKGBUILD (from rev 936237, python-aiofiles/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-18 08:49:06 UTC (rev 936238)
@@ -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=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-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 py39
+}
+
+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