[arch-commits] Commit in python-random2/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 15:36:00 UTC 2019
Date: Friday, October 25, 2019 @ 15:35:59
Author: felixonmars
Revision: 519109
archrelease: copy trunk to community-staging-any
Added:
python-random2/repos/community-staging-any/
python-random2/repos/community-staging-any/PKGBUILD
(from rev 519108, python-random2/trunk/PKGBUILD)
----------+
PKGBUILD | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
Copied: python-random2/repos/community-staging-any/PKGBUILD (from rev 519108, python-random2/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:35:59 UTC (rev 519109)
@@ -0,0 +1,19 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+_pipname=random2
+pkgname=python-$_pipname
+pkgver=1.0.1
+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-setuptools)
+source=("https://pypi.python.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.zip")
+sha256sums=('34ad30aac341039872401595df9ab2c9dc36d0b7c077db1cea9ade430ed1c007')
+
+package() {
+ cd $_pipname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list