blob: 38e3a05343a86fc99a364e0b979de7df9259dcda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#Maintainer digital mystik <echo ZGlnaXRhbF9teXN0aWtAcHJvdG9ubWFpbC5jaAo= | base64 -d>
_name=backports.shutil_which
pkgname=python-backports.shutil_which
pkgver=3.5.2
pkgrel=1
pkgdesc="Backport of shutil.which from Python 3.3"
arch=('any')
url="https://github.com/minrk/backports.shutil_which"
license=("GPL3")
depends=('python')
makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/minrk/$_name/archive/refs/tags/$pkgver.tar.gz")
b2sums=('b78e3ddef7028dcec1f162157c021509582b2a5b8a828a9935349432cca72a2a07e123d907ab99a9c608b126d6dabae4e74adc8e62960e506de7bfb0dfeb2fd9')
build() {
cd "$srcdir/$_name-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/$_name-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|