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

pkgname=python-aiohappyeyeballs
pkgver=2.3.2
pkgrel=4
pkgdesc="Python library that provides happy eyeballs algorithm for asyncio."
arch=('any')
url="https://github.com/aio-libs/aiohappyeyeballs"
license=('MIT')
depends=('python')
depends+=('python-poetry')
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"
}