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

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


    Date: Sunday, May 17, 2020 @ 16:44:30
  Author: ffy00
Revision: 628259

archrelease: copy trunk to community-any

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

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

Copied: python-build/repos/community-any/PKGBUILD (from rev 628258, python-build/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-05-17 16:44:30 UTC (rev 628259)
@@ -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