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

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 15:46:23 UTC 2021


    Date: Tuesday, November 30, 2021 @ 15:46:22
  Author: foutrelis
Revision: 1057805

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pyproject2setuppy/repos/community-staging-any/PKGBUILD (from rev 1057804, python-pyproject2setuppy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 15:46:22 UTC (rev 1057805)
@@ -0,0 +1,25 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pyproject2setuppy
+pkgname=python-$_pkgname
+pkgver=20
+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=('1d75b908611f121c6723037d0132c890d9d00f3f7b1b237fa658dc8c217a1f60e7141a99a7d744e9b8ff67b5fdef1fd11b38f4a3bda0858a55836ad49211a068')
+
+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