desktop/python3-random2/PKGBUILD
2018-07-30 22:29:15 +02:00

19 lines
517 B
Bash

_pipname=random2
pkgname=python3-$_pipname
pkgver=1.0.1
pkgrel=1
pkgdesc="Python 3 compatible port of Python 2 random module"
arch=(any)
url="https://pypi.org/project/random2/"
license=(PSF)
depends=(python3)
makedepends=(python3-setuptools)
source=("https://pypi.python.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.zip")
sha256sums=('34ad30aac341039872401595df9ab2c9dc36d0b7c077db1cea9ade430ed1c007')
package() {
cd $_pipname-$pkgver
python3 setup.py install --root="$pkgdir" --optimize=1
}