PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/utils/cython/PAGBUILD.yaml main

36 lines Raw ← Back
123456789101112131415161718192021222324252627282930313233343536
pkgname: cython
pkgver: '3.3.0'
pkgrel: '3'
pkgdesc: C extensions for Python.
url: 'http://www.cython.org/'
arch: x86_64
license:
- Apache
depends:
- python
makedepends:
- 'python-setuptools'
- 'python-wheel'
source:
- 'https://github.com/cython/cython/archive/refs/tags/${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
  cd ${pkgname}-${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}       \
    Cython

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

  install -Dm644 LICENSE.txt ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE.txt
  install -Dm644 COPYING.txt ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING.txt
package: |
  true