[arch-commits] Commit in python-build/repos/community-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Fri Feb 19 16:13:12 UTC 2021
Date: Friday, February 19, 2021 @ 16:13:11
Author: ffy00
Revision: 865958
archrelease: copy trunk to community-any
Added:
python-build/repos/community-any/PKGBUILD
(from rev 865957, python-build/trunk/PKGBUILD)
Deleted:
python-build/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-19 16:13:08 UTC (rev 865957)
+++ PKGBUILD 2021-02-19 16:13:11 UTC (rev 865958)
@@ -1,44 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=build
-pkgname=python-$_pkgname
-pkgver=0.2.1
-pkgrel=1
-pkgdesc='A simple, correct PEP517 package builder'
-arch=('any')
-url='https://github.com/pypa/build'
-license=('MIT')
-depends=('python-toml' 'python-pep517' 'python-packaging')
-makedepends=('git' 'python-setuptools'
- 'python-sphinx' 'python-sphinxcontrib-autoprogram' 'python-sphinx-autodoc-typehints' 'python-sphinx-furo')
-checkdepends=('python-pytest' 'python-filelock')
-source=("git+$url#tag=$pkgver?signed")
-validpgpkeys=('3DCE51D60930EBA47858BA4146F633CBB0EB4BF2') # Filipe Laíns (FFY00) <lains at 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-any/PKGBUILD (from rev 865957, python-build/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-19 16:13:11 UTC (rev 865958)
@@ -0,0 +1,44 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=build
+pkgname=python-$_pkgname
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='A simple, correct PEP517 package builder'
+arch=('any')
+url='https://github.com/pypa/build'
+license=('MIT')
+depends=('python-toml' 'python-pep517' 'python-packaging')
+makedepends=('git' 'python-setuptools'
+ 'python-sphinx' 'python-sphinx-argparse-cli' 'python-sphinx-autodoc-typehints' 'python-sphinx-furo')
+checkdepends=('python-pytest' 'python-pytest-mock' 'python-filelock')
+source=("git+$url#tag=$pkgver?signed")
+validpgpkeys=('3DCE51D60930EBA47858BA4146F633CBB0EB4BF2') # Filipe Laíns (FFY00) <lains at 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
+}
More information about the arch-commits
mailing list