summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1bfb6cacda32d70bef45fa7d7cc350bed0760f38 (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: Evan Chen <evan@evanchen.cc>
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>

pkgname=python-html-tag-names
_pkg="${pkgname#python-}"
pkgver=0.1.2
pkgrel=2
pkgdesc='List of known HTML tag names'
arch=('any')
url='https://github.com/djlint/html-tag-names'
license=('GPL3')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-poetry-core' 'python-wheel')
source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/h/$_pkg/$_pkg-$pkgver.tar.gz")
sha256sums=('04924aca48770f36b5a41c27e4d917062507be05118acb0ba869c97389084297')

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

package() {
  cd "$_pkg-$pkgver"
  python -m installer --destdir="$pkgdir" dist/*.whl
}