[arch-commits] Commit in python-gmpy2/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:23:27 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:23:26
  Author: felixonmars
Revision: 1058178

archrelease: copy trunk to community-staging-x86_64

Added:
  python-gmpy2/repos/community-staging-x86_64/
  python-gmpy2/repos/community-staging-x86_64/PKGBUILD
    (from rev 1058176, python-gmpy2/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: python-gmpy2/repos/community-staging-x86_64/PKGBUILD (from rev 1058176, python-gmpy2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-11-30 20:23:26 UTC (rev 1058178)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Omar Sandoval <osandov at cs dot washington dot edu>
+# Contributor: Alexander Slesarev <slesarew at gmail dot com>
+
+pkgname=python-gmpy2
+pkgver=2.1.0rc1
+pkgrel=2
+pkgdesc='Provides C-coded Python modules for fast multiple-precision arithmetic'
+arch=(x86_64)
+url='https://github.com/aleaxit/gmpy'
+license=(LGPL2.1)
+depends=(python libmpc)
+makedepends=(python-setuptools)
+source=(https://github.com/aleaxit/gmpy/releases/download/gmpy2-$pkgver/gmpy2-$pkgver.tar.gz)
+sha256sums=('86cb6d8e5837560c32c706d48d6ed25676be6b3c79e6aa5d245965b9e99231b9')
+
+build() {
+  cd gmpy2-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd gmpy2-$pkgver 
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ 
+  install -d -m 755 $pkgdir/usr/share/doc/$pkgname
+  install -m 644 -t $pkgdir/usr/share/doc/$pkgname docs/*
+}



More information about the arch-commits mailing list