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

Filipe Laíns ffy00 at archlinux.org
Fri May 29 18:30:10 UTC 2020


    Date: Friday, May 29, 2020 @ 18:30:10
  Author: ffy00
Revision: 637246

archrelease: copy trunk to community-any

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

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

Copied: python-pyproject2setuppy/repos/community-any/PKGBUILD (from rev 637244, python-pyproject2setuppy/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-05-29 18:30:10 UTC (rev 637246)
@@ -0,0 +1,26 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pyproject2setuppy
+pkgname=python-$_pkgname
+pkgver=5.1
+pkgrel=1
+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=('6c67d3e0ce7b23ccdc3c1c3a7df607dc01e42031aaacc679913b661f192ed4e014c39db2084b1fb3092a8c63ada23f03c27c8f4e7d6e09c49ab13f5f73a18260')
+
+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