blob: 0b44aea23c123893a7803f7ed76c3d69d26f22d8 (
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: Luis Martinez <luis dot martinez at disroot dot org>
pkgname=python-ulid-py
_pkg="${pkgname#python-}"
pkgver=1.1.0
pkgrel=2
pkgdesc='Universally Unique Lexicographically Sortable Identifier'
arch=('any')
url='https://github.com/ahawker/ulid'
license=('Apache')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/u/$_pkg/$_pkg-$pkgver.tar.gz")
sha256sums=('dc6884be91558df077c3011b9fb0c87d1097cb8fc6534b11f310161afd5738f0')
build() {
cd "$_pkg-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_pkg-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|