summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14c33cc4f26b3a37b99e7efb0861e653843e3c49 (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: Ɓukasz Tuz <lukasz.tuz@gmail.com> 

pkgname=python-aiohappyeyeballs
pkgver=2.3.2
pkgrel=2
pkgdesc="Python library that provides happy eyeballs algorithm for asyncio."
arch=('any')
url="https://github.com/aio-libs/aiohappyeyeballs"
license=('MIT')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/a/aiohappyeyeballs/aiohappyeyeballs-${pkgver}.tar.gz")
sha256sums=('SKIP')

build() {
  cd aiohappyeyeballs-$pkgver
  python -m build --wheel --no-isolation
}

package() {
  cd aiohappyeyeballs-$pkgver
  python -m installer --destdir="$pkgdir" dist/*.whl
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}