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

recipes/utils/python-roman-numerals-py/PAGBUILD.yaml main

36 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536
pkgname: 'python-roman-numerals-py'
pkgver: '3.1.0'
pkgrel: '3'
pkgdesc: 'Manipulate well-formed Roman numerals'
url: 'https://github.com/AA-Turner/roman-numerals/'
arch: x86_64
depends: []
makedepends:
- 'python-flit-core'
- 'python-build'
- 'python-installer'
- 'python-wheel'

source:
- 'https://pypi.org/packages/source/r/roman_numerals_py/roman_numerals_py-${pkgver}.tar.gz'

sha256sums:
- SKIP

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

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

package: |
  true