🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233
pkgname: 'python-random2'
pkgver: '1.0.2'
pkgrel: '7'
pkgdesc: 'Python 3 compatible port of Python 2 random module'
url: 'https://pypi.org/project/random2/'
arch: x86_64
depends: []
makedepends:
- 'python-setuptools'
source:
- 'https://pypi.python.org/packages/source/r/random2/random2-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
cd random2-${pkgver}
pip3 wheel -w dist \
--no-build-isolation \
--no-deps $PWD
pip3 install --no-index \
--find-links dist \
--no-cache-dir \
--no-user \
--root=${PKGDIR} \
random2
find ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf
package: |
true