mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 12:24:37 +08:00
25 lines
597 B
Bash
25 lines
597 B
Bash
|
|
pkgname=python2-typing
|
|
pkgver=3.6.1
|
|
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=('3fec97415bae6f742fb3c3013dedeb89')
|
|
|
|
build() {
|
|
cd typing-$pkgver
|
|
python2 setup.py build
|
|
}
|
|
|
|
package() {
|
|
depends=('python2')
|
|
|
|
cd typing-$pkgver
|
|
python2 setup.py install --root "$pkgdir" --optimize=1 --skip-build
|
|
}
|