2022-09-15 22:11:16 -05:00
|
|
|
# Description: Fancy PyPI READMEs with Hatch
|
|
|
|
# URL: https://github.com/hynek/hatch-fancy-pypi-readme
|
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
|
|
|
# Depends on: python3-build python3-hatchling
|
|
|
|
|
|
|
|
name=python3-hatch-fancy-pypi-readme
|
2022-10-28 10:55:29 -05:00
|
|
|
version=22.8.0
|
2022-09-15 22:11:16 -05:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/hynek/hatch-fancy-pypi-readme/archive/$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd hatch-fancy-pypi-readme-$version
|
|
|
|
/usr/bin/python3 -m build --wheel --no-isolation
|
|
|
|
PIP_CONFIG_FILE=/dev/null /usr/bin/pip3 install --isolated --root=$PKG \
|
|
|
|
--ignore-installed --no-deps dist/*.whl
|
|
|
|
|
2022-09-16 17:26:50 +02:00
|
|
|
rm $PKG/usr/lib/python*/site-packages/hatch_fancy_pypi_readme-*/{licenses/AUTHORS.md,INSTALLER}
|
2022-09-15 22:11:16 -05:00
|
|
|
}
|