[arch-commits] Commit in python-gmpy2/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed May 22 06:50:39 UTC 2019
Date: Wednesday, May 22, 2019 @ 06:50:38
Author: arojas
Revision: 468291
Update to 2.1.0b1
Modified:
python-gmpy2/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-22 06:49:10 UTC (rev 468290)
+++ PKGBUILD 2019-05-22 06:50:38 UTC (rev 468291)
@@ -4,7 +4,7 @@
pkgbase=python-gmpy2
pkgname=(python2-gmpy2 python-gmpy2)
-pkgver=2.1.0a4
+pkgver=2.1.0b1
pkgrel=1
pkgdesc="Provides C-coded Python modules for fast multiple-precision arithmetic."
arch=(x86_64)
@@ -11,18 +11,18 @@
url="https://github.com/aleaxit/gmpy"
license=(LGPL2.1)
makedepends=(python2-setuptools python-setuptools libmpc git)
-source=("https://github.com/aleaxit/gmpy/releases/download/gmpy2-${pkgver/.0/}/gmpy2-$pkgver.tar.gz")
-sha256sums=('7822b3336ee022b64edd66695375bd06dfc8586a52450128c0a3cd0d9cb4b857')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/aleaxit/gmpy/archive/gmpy2-$pkgver.tar.gz")
+sha256sums=('888d3c34a91c2ac068ac5033431c765e04f125e85920bd69d8739fbb62f4279d')
prepare() {
- cp -r gmpy2-$pkgver{,-py2}
+ cp -r gmpy-gmpy2-$pkgver{,-py2}
}
build() {
- cd gmpy2-$pkgver
+ cd gmpy-gmpy2-$pkgver
python setup.py build
- cd ../gmpy2-$pkgver-py2
+ cd ../gmpy-gmpy2-$pkgver-py2
python2 setup.py build
}
@@ -29,7 +29,7 @@
package_python2-gmpy2() {
depends=(python2 libmpc)
- cd gmpy2-$pkgver-py2
+ cd gmpy-gmpy2-$pkgver-py2
python2 setup.py install --root=$pkgdir --optimize=1 --skip-build
install -d -m 755 $pkgdir/usr/share/doc/$pkgname
@@ -39,7 +39,7 @@
package_python-gmpy2() {
depends=(python libmpc)
- cd gmpy2-$pkgver
+ cd gmpy-gmpy2-$pkgver
python setup.py install --root=$pkgdir --optimize=1 --skip-build
install -d -m 755 $pkgdir/usr/share/doc/$pkgname
More information about the arch-commits
mailing list