[arch-commits] Commit in python-shutilwhich/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 17:08:58 UTC 2020
Date: Thursday, November 12, 2020 @ 17:08:58
Author: foutrelis
Revision: 752280
archrelease: copy trunk to community-staging-any
Added:
python-shutilwhich/repos/community-staging-any/
python-shutilwhich/repos/community-staging-any/PKGBUILD
(from rev 752278, python-shutilwhich/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-shutilwhich/repos/community-staging-any/PKGBUILD (from rev 752278, python-shutilwhich/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:08:58 UTC (rev 752280)
@@ -0,0 +1,24 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Maikel Wever <maikelwever at gmail.com>
+
+pkgname=python-shutilwhich
+pkgver=1.1.0
+pkgrel=6
+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
+}
More information about the arch-commits
mailing list