blob: 5b82e9bb25a04a874c2bf5d6cb3ee75d751b39d3 (
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
26
27
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
_pyname=random2
pkgname=python-$_pyname
pkgver=1.0.2
pkgrel=3
pkgdesc='Python 3 compatible port of Python 2 random module'
arch=(any)
url='https://pypi.org/project/random2/'
license=(PSF)
depends=(python)
makedepends=(python-build
python-installer
python-setuptools
python-wheel)
source=(https://github.com/strichter/random2/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('e63d92cfcbbe2f1dca064504e75f9e5e0f27f84867ec7fc7070cd71ca5d53fcd')
build() {
cd $_pyname-$pkgver
python -m build -wn
}
package() {
cd $_pyname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|