python-gmpy2: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
40d60cc48a
commit
06caab6a09
@ -1,13 +1,12 @@
|
|||||||
# Template file for 'python-gmpy2'
|
# Template file for 'python-gmpy2'
|
||||||
pkgname=python-gmpy2
|
pkgname=python-gmpy2
|
||||||
version=2.0.8
|
version=2.0.8
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="gmpy2-${version}"
|
wrksrc="gmpy2-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="unzip python-setuptools python3-setuptools
|
||||||
hostmakedepends="unzip python-setuptools python3.4-setuptools
|
|
||||||
gmp-devel mpfr-devel libmpc-devel"
|
gmp-devel mpfr-devel libmpc-devel"
|
||||||
makedepends="python-devel python3.4-devel gmp-devel mpfr-devel libmpc-devel"
|
makedepends="python-devel python3-devel gmp-devel mpfr-devel libmpc-devel"
|
||||||
short_desc="Python2 interface to GMP, MPFR and MPC libraries"
|
short_desc="Python2 interface to GMP, MPFR and MPC libraries"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://github.com/aleaxit/gmpy"
|
homepage="https://github.com/aleaxit/gmpy"
|
||||||
@ -15,9 +14,15 @@ license="LGPL-3"
|
|||||||
distfiles="${PYPI_SITE}/g/gmpy2/gmpy2-${version}.zip"
|
distfiles="${PYPI_SITE}/g/gmpy2/gmpy2-${version}.zip"
|
||||||
checksum=dd233e3288b90f21b0bb384bcc7a7e73557bb112ccf0032ad52aa614eb373d3f
|
checksum=dd233e3288b90f21b0bb384bcc7a7e73557bb112ccf0032ad52aa614eb373d3f
|
||||||
|
|
||||||
python3.4-gmpy2_package() {
|
python3-gmpy2_package() {
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-gmpy2>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-gmpy2_package() {
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-gmpy2>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
1
srcpkgs/python3-gmpy2
Symbolic link
1
srcpkgs/python3-gmpy2
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
python-gmpy2
|
Loading…
x
Reference in New Issue
Block a user