[arch-commits] Commit in python-build/repos/community-any (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Tue Sep 8 21:44:10 UTC 2020


    Date: Tuesday, September 8, 2020 @ 21:44:10
  Author: ffy00
Revision: 701361

archrelease: copy trunk to community-any

Added:
  python-build/repos/community-any/PKGBUILD
    (from rev 701360, python-build/trunk/PKGBUILD)
Deleted:
  python-build/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   73 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-08 21:44:02 UTC (rev 701360)
+++ PKGBUILD	2020-09-08 21:44:10 UTC (rev 701361)
@@ -1,36 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=build
-pkgname=python-$_pkgname
-pkgver=0.0.3.1
-pkgrel=1
-pkgdesc='A simple, correct PEP517 package builder'
-arch=('any')
-url='https://github.com/FFY00/python-build'
-license=('GPL')
-depends=('python-toml' 'python-pep517' 'python-packaging')
-makedepends=('git' 'python-setuptools'
-             'python-sphinx' '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')
-
-build() {
-  cd $pkgname
-
-  python setup.py build
-
-  cd docs
-
-  PYTHONPATH=.. make
-}
-
-package() {
-  cd $pkgname
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
-  cp -r -a --no-preserve=ownership docs/build/html "$pkgdir"/usr/share/doc/$pkgname
-}
-

Copied: python-build/repos/community-any/PKGBUILD (from rev 701360, python-build/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-08 21:44:10 UTC (rev 701361)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=build
+pkgname=python-$_pkgname
+pkgver=0.0.4
+pkgrel=1
+pkgdesc='A simple, correct PEP517 package builder'
+arch=('any')
+url='https://github.com/FFY00/python-build'
+license=('GPL')
+depends=('python-toml' 'python-pep517' 'python-packaging')
+makedepends=('git' 'python-setuptools'
+             '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')
+
+build() {
+  cd $pkgname
+
+  python setup.py build
+
+  cd docs
+
+  PYTHONPATH=.. make
+}
+
+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
+}
+



More information about the arch-commits mailing list