blob: 707c5f739115dbf18d266e201691e2ba912ad468 (
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
|
# Maintainer: Yigit Sever <yigit at yigitsever dot com>
pkgname=python-types-requests
_name=${pkgname#python-}
pkgver=2.27.15
pkgrel=1
pkgdesc="Typing stubs for requests"
arch=('any')
url="https://pypi.org/project/types-requests/"
license=('Apache')
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('2d371183c535208d2cc8fe7473d9b49c344c7077eb70302eb708638fb86086a8')
build() {
cd "$_name-$pkgver"
python setup.py build
}
package() {
cd "$_name-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|