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

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

35 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435
pkgname: 'python-curl'
pkgver: '7.47.0'
pkgrel: '1'
pkgdesc: 'PycURL is a Python interface to libcurl'
url: 'http://pycurl.io/'
arch: x86_64
depends: []
makedepends:
- 'python-setuptools'
- 'python-wheel'
- curl

source:
- 'https://github.com/pycurl/pycurl/archive/refs/tags/v${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd pycurl-${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}       \
    pycurl

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

package: |
  true