blob: ac90a5b5e52e8af1e4c2ef67ca4e00eccdadf372 (
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
26
27
28
29
|
# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
pkgname=python2-typing
pkgver=3.6.4
pkgrel=1
pkgdesc="Backport of the standard library typing module to Python versions older than 3.6"
url="https://pypi.python.org/pypi/typing"
arch=('any')
license=('FSF')
makedepends=('python2'
'python2-setuptools')
source=("python2-typing-$pkgver.tar.gz::https://pypi.io/packages/source/t/typing/typing-$pkgver.tar.gz")
md5sums=('5b2ade08d83be488f17b5fe587c27c74')
build() {
cd typing-$pkgver
python2 setup.py build
}
package() {
depends=('python2')
cd typing-$pkgver
python2 setup.py install --root "$pkgdir" --optimize=1 --skip-build
}
|