python-SPARQLWrapper: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
eb4930c733
commit
4d0d5047c1
2 changed files with 14 additions and 8 deletions
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'python-SPARQLWrapper'
|
||||
pkgname=python-SPARQLWrapper
|
||||
version=1.7.6
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-rdflib python-keepalive"
|
||||
pycompile_module="SPARQLWrapper"
|
||||
short_desc="SPARQL Endpoint interface to Python (Python2)"
|
||||
|
@ -16,13 +15,19 @@ license="W3C"
|
|||
distfiles="${PYPI_SITE}/S/SPARQLWrapper/SPARQLWrapper-${version}.tar.gz"
|
||||
checksum=dccabec900eb9c97cb47834bd4b66ceaeb4d9ea11bae24a24fe734e9f48522f8
|
||||
|
||||
python3.4-SPARQLWrapper_package() {
|
||||
python3-SPARQLWrapper_package() {
|
||||
noarch=yes
|
||||
depends="python3.4-rdflib python3.4-keepalive"
|
||||
pycompile_version="3.4"
|
||||
depends="python3-rdflib python3-keepalive"
|
||||
replaces="python3.4-SPARQLWrapper>=0"
|
||||
pycompile_module="SPARQLWrapper"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
||||
python3.4-SPARQLWrapper_package() {
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-SPARQLWrapper>=${version}_${revision}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-SPARQLWrapper
Symbolic link
1
srcpkgs/python3-SPARQLWrapper
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-SPARQLWrapper
|
Loading…
Reference in a new issue