Date: Thursday, April 6, 2023 @ 16:52:34
  Author: felixonmars
Revision: 1439762

archrelease: copy trunk to community-staging-any

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

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

Copied: python-shutilwhich/repos/community-staging-any/PKGBUILD (from rev 
1439757, python-shutilwhich/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 16:52:34 UTC (rev 1439762)
@@ -0,0 +1,24 @@
+# Maintainer: Morten Linderud <[email protected]>
+# Contributor: Maikel Wever <[email protected]>
+
+pkgname=python-shutilwhich
+pkgver=1.1.0
+pkgrel=8
+pkgdesc="Backport of shutil.which"
+url="https://github.com/mbr/shutilwhich";
+arch=('any')
+license=('PSF')
+depends=('python')
+makedepends=('python' 'python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mbr/shutilwhich/archive/${pkgver}.tar.gz";)
+sha256sums=('4292a973312c58ca1935ea75d7bd378b17668ef6aacfc812d00019e0726dea44')
+
+build(){
+  cd "$srcdir/shutilwhich-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "shutilwhich-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+}

Reply via email to