🔒 Repository is read-only – file editing is disabled.

recipes/utils/python-aiofiles/PAGBUILD.yaml main

37 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334353637
pkgname: 'python-aiofiles'
pkgver: '25.1.0'
pkgrel: '1'
pkgdesc: 'File support for asyncio'
url: 'https://pypi.org/project/aiofiles/'
arch: x86_64
depends: []
makedepends:
- 'python-setuptools'
- 'python-wheel'
- 'python-hatchling'
- 'python-hatch-vcs'

source:
- 'https://github.com/Tinche/aiofiles/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd aiofiles-${pkgver}

  SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver} \
  pip3 wheel -w dist \
    --no-build-isolation \
    --no-deps $PWD
  pip3 install --no-index \
    --find-links dist \
    --no-cache-dir    \
    --no-user         \
    --root=${PKGDIR}       \
    aiofiles

  find ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf 

package: |
  true