[arch-commits] Commit in python-build/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Tue Sep 8 21:44:02 UTC 2020
Date: Tuesday, September 8, 2020 @ 21:44:02
Author: ffy00
Revision: 701360
upgpkg: python-build 0.0.4-1
Modified:
python-build/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-08 21:43:25 UTC (rev 701359)
+++ PKGBUILD 2020-09-08 21:44:02 UTC (rev 701360)
@@ -2,7 +2,7 @@
_pkgname=build
pkgname=python-$_pkgname
-pkgver=0.0.3.1
+pkgver=0.0.4
pkgrel=1
pkgdesc='A simple, correct PEP517 package builder'
arch=('any')
@@ -10,7 +10,7 @@
license=('GPL')
depends=('python-toml' 'python-pep517' 'python-packaging')
makedepends=('git' 'python-setuptools'
- 'python-sphinx' 'python-sphinx-autodoc-typehints' 'python-pallets-sphinx-themes')
+ 'python-sphinx' 'python-sphinxcontrib-autoprogram' 'python-sphinx-autodoc-typehints' 'python-pallets-sphinx-themes')
source=("git+$url#tag=$pkgver?signed")
validpgpkeys=('3DCE51D60930EBA47858BA4146F633CBB0EB4BF2') # Filipe Laíns (FFY00) <lains at archlinux.org>
sha512sums=('SKIP')
@@ -28,7 +28,8 @@
package() {
cd $pkgname
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ 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
More information about the arch-commits
mailing list