Date: Thursday, December 9, 2021 @ 02:18:58 Author: foutrelis Revision: 1065773
archrelease: copy trunk to community-staging-any Added: python-build/repos/community-staging-any/PKGBUILD (from rev 1065772, python-build/trunk/PKGBUILD) Deleted: python-build/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-09 02:18:54 UTC (rev 1065772) +++ PKGBUILD 2021-12-09 02:18:58 UTC (rev 1065773) @@ -1,45 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> - -_pkgname=build -pkgname=python-$_pkgname -pkgver=0.7.0 -pkgrel=3 -pkgdesc='A simple, correct PEP517 package builder' -arch=('any') -url='https://github.com/pypa/build' -license=('MIT') -depends=('python-tomli' 'python-pep517' 'python-packaging') -optdepends=('python-virtualenv: Use virtualenv for build isolation') -makedepends=('git' 'python-setuptools' 'python-wheel' - 'python-sphinx' 'python-sphinx-argparse-cli' 'python-sphinx-autodoc-typehints' 'python-sphinx-furo') -checkdepends=('python-pytest' 'python-pytest-mock' 'python-pytest-rerunfailures' 'python-filelock') -source=("git+$url#tag=$pkgver?signed") -validpgpkeys=('3DCE51D60930EBA47858BA4146F633CBB0EB4BF2') # Filipe Laíns (FFY00) <la...@archlinux.org> -sha512sums=('SKIP') - -build() { - cd $_pkgname - - python setup.py build - - #PYTHONPATH=src sphinx-build -b dirhtml -v docs docs/build/html -} - -check() { - cd $_pkgname - - PYTHONPATH=src pytest -} - -package() { - cd $_pkgname - - python setup.py install --root="$pkgdir" --skip-build - python -m compileall --invalidation-mode=checked-hash "$pkgdir" - - #install -dm 755 "$pkgdir"/usr/share/doc/$pkgname - #cp -r -a --no-preserve=ownership docs/build/html "$pkgdir"/usr/share/doc/$pkgname - #rm -rf "$pkgdir"/usr/share/doc/$pkgname/html/.doctrees - - install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-build/repos/community-staging-any/PKGBUILD (from rev 1065772, python-build/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-09 02:18:58 UTC (rev 1065773) @@ -0,0 +1,45 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> + +_pkgname=build +pkgname=python-$_pkgname +pkgver=0.7.0 +pkgrel=4 +pkgdesc='A simple, correct PEP517 package builder' +arch=('any') +url='https://github.com/pypa/build' +license=('MIT') +depends=('python-tomli' 'python-pep517' 'python-packaging') +optdepends=('python-virtualenv: Use virtualenv for build isolation') +makedepends=('git' 'python-setuptools' 'python-wheel' + 'python-sphinx' 'python-sphinx-argparse-cli' 'python-sphinx-autodoc-typehints' 'python-sphinx-furo') +checkdepends=('python-pytest' 'python-pytest-mock' 'python-pytest-rerunfailures' 'python-filelock') +source=("git+$url#tag=$pkgver?signed") +validpgpkeys=('3DCE51D60930EBA47858BA4146F633CBB0EB4BF2') # Filipe Laíns (FFY00) <la...@archlinux.org> +sha512sums=('SKIP') + +build() { + cd $_pkgname + + python setup.py build + + PYTHONPATH=src sphinx-build -b dirhtml -v docs docs/build/html +} + +check() { + cd $_pkgname + + PYTHONPATH=src pytest +} + +package() { + cd $_pkgname + + python setup.py install --root="$pkgdir" --skip-build + python -m compileall --invalidation-mode=checked-hash "$pkgdir" + + install -dm 755 "$pkgdir"/usr/share/doc/$pkgname + cp -r -a --no-preserve=ownership docs/build/html "$pkgdir"/usr/share/doc/$pkgname + rm -rf "$pkgdir"/usr/share/doc/$pkgname/html/.doctrees + + install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}