blob: d74d8011c54e66180a959f7e0bcb4cf23fd3b199 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
_base=hatchling
pkgname=pypy3-${_base}
pkgdesc="Utility library for gitignore style pattern matching of file paths"
pkgver=1.29.0
pkgrel=1
arch=(any)
url="https://github.com/pypa/${_base::5}"
license=(MIT)
depends=(pypy3-packaging pypy3-pathspec pypy3-pluggy pypy3-trove-classifiers)
makedepends=(pypy3-build pypy3-installer)
source=(${url}/archive/${_base}-v${pkgver}.tar.gz)
sha512sums=('321f9ab996dcab54341653e2abf5bdb893c4ac307c62aa9f0dd222609a18f82cd502fb0d0ac598f109d519a0dc8ab40866a37d1ea4023d7d58fe442da7c32ff9')
build() {
cd ${_base::5}-${_base}-v${pkgver}
pypy3 -m build --wheel --no-isolation backend
}
package() {
cd ${_base::5}-${_base}-v${pkgver}
PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" pypy3 -m installer --destdir="$pkgdir" backend/dist/*.whl
install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|