[arch-commits] Commit in python-build/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sun May 17 16:44:26 UTC 2020


    Date: Sunday, May 17, 2020 @ 16:44:26
  Author: ffy00
Revision: 628258

upgpkg: python-build 0.0.1-1

Added:
  python-build/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-17 16:44:26 UTC (rev 628258)
@@ -0,0 +1,28 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=build
+pkgname=python-$_pkgname
+pkgver=0.0.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')
+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
+}
+
+package() {
+  cd $pkgname
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+



More information about the arch-commits mailing list