blob: 44307c41929be8db60bf21a0246e5bc9181dc143 (
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: Ondřej Hošek <ondra dot hosek at gmail dot com>
pkgname=python-types-psycopg2
_name=${pkgname#python-}
pkgver=2.9.21.20240417
pkgrel=1
pkgdesc="Typing stubs for psycopg2"
arch=('any')
url="https://pypi.org/project/types-psycopg2/"
license=('Apache-2.0')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('05db256f4a459fb21a426b8e7fca0656c3539105ff0208eaf6bdaf406a387087')
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|