[arch-commits] Commit in python-pyproject2setuppy/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 19:37:17 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:37:16
  Author: foutrelis
Revision: 753556

archrelease: copy trunk to community-staging-any

Added:
  python-pyproject2setuppy/repos/community-staging-any/
  python-pyproject2setuppy/repos/community-staging-any/PKGBUILD
    (from rev 753554, python-pyproject2setuppy/trunk/PKGBUILD)

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

Copied: python-pyproject2setuppy/repos/community-staging-any/PKGBUILD (from rev 753554, python-pyproject2setuppy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:37:16 UTC (rev 753556)
@@ -0,0 +1,25 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pyproject2setuppy
+pkgname=python-$_pkgname
+pkgver=7
+pkgrel=2
+pkgdesc='Cheap builder for pyproject-based build systems'
+arch=('any')
+url='https://github.com/mgorny/pyproject2setuppy'
+license=('GPL')
+depends=('python-setuptools' 'python-toml')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('22224a63acb0af5558b63e90aa2e96243c1ffc2ef9c114b2e20b8dbc5b84abc468879822d8d20f8dd2f7fdc2ce4a508b5f84e661831cf9e99e383d89fe2b63fa')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list